ardupilot_wiki icon indicating copy to clipboard operation
ardupilot_wiki copied to clipboard

ROS and Hector SLAM for Non-GPS Navigation

Open kenhuyang opened this issue 5 years ago • 1 comments

https://ardupilot.org/dev/docs/ros-slam.html the article misses some details on how to transmit the slam data to ardupilot. the Hector SLAM publishes "/slam_out_pose" and "/poseupdate" for the final result, but mavros need "/mavros/vision_pose/pose" and "/mavros/vision_pose/pose_cov" topic, so we need to add the following two lines at $HOME/catkin_ws/src/hector_slam/hector_slam_launch/launch/tutorial.launch <remap from="/slam_out_pose" to="/mavros/vision_pose/pose" /> <remap from="/poseupdate" to="/mavros/vision_pose/pose_cov" />

kenhuyang avatar Dec 07 '19 05:12 kenhuyang