You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
谢谢您的反馈,确实如您所说,模型里的话题名称和书里不一致。已经按照您的建议进行了调整,请复核:)在 2024年9月15日,15:56,LYZ-Li ***@***.***> 写道:
第6章IMU
imu_data.cpp和imu_behavior.cpp订阅话题
应该是订阅/imu
auto sub = node->create_subscription<sensor_msgs::msg::Imu>("/imu/data", 100, IMUCallback);
改为
auto sub = node->create_subscription<sensor_msgs::msg::Imu>("/imu", 100, IMUCallback);
PS:按照书里的描述其实应该修改机器人imu发布的话题改到/imu/datahhh
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
第6章IMU
imu_data.cpp
和imu_behavior.cpp
订阅话题应该是订阅
/imu
改为
PS:按照书里的描述其实应该修改机器人imu发布的话题改到
/imu/data
hhhThe text was updated successfully, but these errors were encountered: