Ask Your Question
0

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 51 times

Last updated: Dec 12 '21