ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

The slam_toolbox for ROS2 foxy does not publish the topic pose. [closed]

asked 2023-01-07 19:57:37 -0600

BlueBird gravatar image

I notice that the slam_toolbox for ROS2 foxy does not publish the topic pose (https://github.com/SteveMacenski/slam...). I have confirmed it on my own virtual machine with the apt-get package. As far as I know, SLAM means mapping and localization. Where does the robot pose goes if the toolbox doesn't publish it? Can I get it from the TF?
May I use the pose map->Odom->base_link? Is it the same pose published on the pose topic for ROS galactic, humble and rolling?

A similar question can be found on this.

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by stevemacenski
close date 2023-01-09 13:11:38.557697

Comments

stevemacenski gravatar image stevemacenski  ( 2023-01-09 13:11:46 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2023-01-08 12:28:56 -0600

ljaniec gravatar image

updated 2023-01-09 06:01:33 -0600

Yes, you can see here on the picture below, where the robot info goes.

image description

Yes, you can get it from /tf topic.

You can read more about the state estimate here, in Nav2 documentation:

The goal of odometry is to provide a smooth and continuous local frame based on the robot's motion. However, it will drift over time as errors accumulate.

On the other side, transformation map->odom can "jump" between values, but is usually more precise - it is provided by the positioning system (localization, mapping, SLAM).

I don't know about any differences between the mentioned versions of ROS2 (Foxy, Galactic, Humble) - the interface is really similar or overall the same.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2023-01-07 19:57:37 -0600

Seen: 646 times

Last updated: Jan 09 '23