refactor(navigation): Update ChannelSubscriberPtr to use specific message type
- Changed ChannelSubscriberPtr to ChannelSubscriberPtr<std_msgs::msg::dds_::String_> for slamInfo and slamKeyInfo in navigation.hpp and navigation.cpp. - Updated initialization of subscribers to reflect the new type specification.
This commit is contained in:
@@ -83,8 +83,8 @@ private:
|
||||
void slamInfoHandler(const void *message);
|
||||
void slamKeyInfoHandler(const void *message);
|
||||
|
||||
unitree::robot::ChannelSubscriberPtr subSlamInfo;
|
||||
unitree::robot::ChannelSubscriberPtr subSlamKeyInfo;
|
||||
unitree::robot::ChannelSubscriberPtr<std_msgs::msg::dds_::String_> subSlamInfo;
|
||||
unitree::robot::ChannelSubscriberPtr<std_msgs::msg::dds_::String_> subSlamKeyInfo;
|
||||
|
||||
poseDate currentPose;
|
||||
bool is_arrived = false;
|
||||
|
||||
Reference in New Issue
Block a user