Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to do 2D pose estimate on Rviz2 #23

Open
Optsipez opened this issue Jan 14, 2025 · 0 comments
Open

Unable to do 2D pose estimate on Rviz2 #23

Optsipez opened this issue Jan 14, 2025 · 0 comments

Comments

@Optsipez
Copy link

Hey guys I am currently facing an issue where i am unable to do 2D pose estimate on Rviz2
I am using ros2 Humble. I was able to do everything on simulation. And now moved on to the real robot i.e. the tortoisebot.
Now i have created the map and can launch the map on rviz 2 using the command below:-

ros2 launch tortoisebot_bringup autobringup.launch.py use_sim_time:=False exploration:=False map:=/home/ubuntu/ros2_ws/src/tortoisebot/tortoisebot_bringup/maps/lab.yaml

i ran ros2 topic list and can see amcl_pose running. When trying to do 2D pose estimate i get the following error:-

[cartographer_node-10] [INFO] [1736774737.841369157] [cartographer logger]: I0113 17:25:37.000000  4252 constraint_builder_2d.cc:275] Node (0, 433) with 200 points on submap (0, 2) differs by translation 0.00 rotation 0.000 with score 85.0%.
[component_container_isolated-9] [WARN] [1736774738.331454495] [amcl]: AMCL cannot publish a pose or update the transform. Please set the initial pose...
[component_container_isolated-9] [WARN] [1736774740.416769029] [amcl]: AMCL cannot publish a pose or update the transform. Please set the initial pose...
[component_container_isolated-9] [WARN] [1736774742.505808227] [amcl]: AMCL cannot publish a pose or update the transform. Please set the initial pose...
[component_container_isolated-9] [WARN] [1736774744.584387716] [amcl]: AMCL cannot publish a pose or update the transform. Please set the initial pose...
[cartographer_node-10] [INFO] [1736774745.699714771] [cartographer logger]: I0113 17:25:45.000000  4200 collated_trajectory_builder.cc:81] scan rate: 7.20 Hz 1.39e-01 s +/- 5.69e-03 s (pulsed at 100.00% real time)

Rviz2 screenshot:-
Screenshot from 2025-01-13 17-28-45

I am not sure how to proceed with this. Any help would be appreciated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant