Real Robot: Issue with local_setup.bash

Hello,

I have finished the first parts of the tutorial and now trying to do the real robot project.
I have 2 main issues :

  • When I run the bridge according to the commands that are given, I still don’t see all the topics bridged (with ros2 topic list). Especially cmd_vel. Is it normal even if there is the “–bridge-all-topics” (It seems that I can still publish on cmd_vel and that it will works)

  • If I try to source the ros2_ws/install/setup.bash (to teleop of execute my node) file, I have the following error :

not found: "/home/user/ros2_ws/install/turtlebot3_node/share/turtlebot3_node/local_setup.bash"

If then, I try to teleop, I have an error.

Thank you for the help

Hi,

Are you working in the simulation? The reason why you might not see the cmd_vel topic is because no one is publishing to the topic yet, so the bridge connection hasn’t been made.

As for the teleop issue, sometimes the sourcing isn’t done right when you past more than one command at a time. Try typing them one by one in a terminal:

  • source ros2_ws/install/setup.bash
  • export TURTLEBOT3_MODEL=burger
  • ros2 run turtlebot3_teleop teleop_keyboard