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

How to use nav2_simple_commander in foxy?

asked 2021-12-12 08:19:37 -0500

I am trying to follow https://navigation.ros.org/commander_... to create a simple demo application using navigation2 (the simple commander API looks really cool for a simple demo application, BTW). However I am unable to find the simple commander package in foxy. The foxy-develbranch at https://github.com/ros-planning/navig... does not even have the corresponding directory for nav2_simple_commander.

What should I install to get nav2_simple_commander.py in foxy or alternatively what API/tutorial should I use to implement a simple example that sets the initial pose estimate for a turtlebot and then navigates to a fixed goal point in Python?

Incidentally, I tried to work in galactic, where the package for the simple commander appears to exist - but there I run into troubles of being unable to get the turtlebot3 simulation packages for webots to work (I guess some other packages wait for release).

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-12-12 11:14:31 -0500

Nevermind. I used this example from Steve: https://github.com/ros-planning/navig... (which seems to be an early draft of nav2_simple_commander). I only used the tiny part I needed to navigate to the initial pose. I presume that the simple commander was only implemented for galactic, so future users will be able to use it (it seems great!).

edit flag offensive delete link more

Comments

Hey Andrzej,

i want to use the simple commander for foxy too. I executed the node from Steve: https://github.com/ros-planning/navig...

But gettting this output:

[INFO] [1686824312.587229383] [basic_navigator]: Publishing Initial Pose
[INFO] [1686824314.598953296] [basic_navigator]: Setting initial pose
[INFO] [1686824314.600323862] [basic_navigator]: Publishing Initial Pose
[INFO] [1686824314.601619469] [basic_navigator]: Waiting for amcl_pose to be received
[INFO] [1686824314.602949965] [basic_navigator]: Setting initial pose

Any ideas how to fix this? Thank you so much :)

Nartmangnourt gravatar image Nartmangnourt  ( 2023-06-15 05:23:20 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2021-12-12 08:19:37 -0500

Seen: 752 times

Last updated: Dec 12 '21