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

Revision history [back]

click to hide/show revision 1
initial version

turtlebot3_teleop_keyboard does not have a subscriber, that's true. Its input doesn't come from a topic, but your keyboard. It then publishes that input on a topic. What subscriber would you expect?

Same for turtlebot3_lds. It's the driver for your Laser Distance Sensor (lidar). It gets its data from the physical lidar and publishes it on a topic. Again, what subscriber would you expect?

Couple things you could check.

  1. Do you run the turtlebot bringup command ON the raspberry pi (either via ssh, or startup script, or by having a physical keyboard/monitor connected to the raspberry)? If not, that's your issue. It sends to motor commands via the USB to the OpenCR board. If you run it on your laptop, it can't send the commands via USB to the board, since the board isn't connected to your laptop.

  2. Does it work when you run teleop on the raspberry (via ssh, or by a physical keyboard/monitor connected to the raspberry)? If it does, there's an issue in your ROS connection over multiple computers.

  3. Do the motors move when pressing either of the 2 buttons (SW1 or SW2) on the OpenCR board? If not, then the firmware on your OpenCR board isn't installed properly. Scroll to the top of the link I provided and redo the installation guide.