ROS2 Basics Python - turtlebot3_teleop package not found

Hi,

I try to finish the first part of the ROS2 basics python by doing the Rosject for the publisher and subscriber.
When I arrive at the step to try the simulation with :

user:~$ source ros2_ws/install/setup.bash
user:~$ export TURTLEBOT3_MODEL=burger
user:~$ ros2 run turtlebot3_teleop teleop_keyboard
Package 'turtlebot3_teleop' not found

Is it normal ? Did I miss a step ? Or the package is in another place ?

Thanks for our help

Hi @val.laurent.vl ,

Sounds like you don’t have the files or need to re-compile the workspace.

Could you share your rosject so I can check it?

Hi @marco.nc.arruda ,

Thanks for your help. I can’t share this rosject “because this rosject it’s a copy of a private one”.
Yes, I didn’t find any files into the ros2_ws/src/ , the directory is empty. I’ve try to “regenerate” the rosject from the course but the result is the same.
Do you have another idea ?

Hi @marco.nc.arruda ,

I dowloaded the rosject. Can I it to you ?

Hi,

You can also use the teleop from ROS1. To do this, type in a new terminal (with the simulation launched)

source /opt/ros/noetic/setup.bash
source ~/simulation_ws/devel/setup.bash
rosrun turtlebot3_teleop turtlebot3_teleop_keyboard
2 Likes

Hi Rodrigo,

I modified your last command line.
It works with :

source /opt/ros/noetic/setup.bash
source ~/simulation_ws/devel/setup.bash
rosrun turtlebot3_teleop turtlebot3_teleop_key

Thank you very much.

3 Likes