ArduPilot / ardupilot_ros

ArduPilot ROS integration
GNU General Public License v3.0
15 stars 9 forks source link

ardupilot_ros: enable robot model and add odometry to rviz #16

Closed srmainwaring closed 11 months ago

srmainwaring commented 12 months ago

Enhancements to the cartographer.launch.py example to display the robot model and odometry overlaid onto the map generated by cartographer.

Dependencies

Related

Details

Testing

Figure: rviz session loaded by cartographer.launch.py showing robot model and odometry displays. map-orientation

Run the maze launch file with rviz and /gz/tf relay disabled:

$ ros2 launch ardupilot_gz_bringup iris_maze.launch.py rviz:=False use_gz_tf:=False

Run the cartographer launch:

ros2 launch ardupilot_ros cartographer.launch.py

Figure: initial pose in Gazebo

cartographer-initial-pose-gz

Figure: initial pose in rviz

cartographer-initial-pose-rviz
Ryanf55 commented 11 months ago

I'll trust Pedro on this, no time for me to test, but we'll merge. Thanks for the contribution!