up:: RDL MOC
tags:: RDL

worksheet01-0.pdf

Connecting

Connect with ssh

ssh ubuntu@192.168.1.39
Password: robotics

Launching Robot

ros2 launch turtlebot3_bringup robot.launch.py

Starting Keybord Controll

ros2 run turtlebot3_teleop teleop_keyboard

Shutdown Robot

sudo shutdown -h 0

4.

1. What is the type of data that is published and what is the name of the topic on which it is published?

Type: String
Topic: topic

2. How many times per second does the publisher publish the data? How can you change this so that four messages are published per second?

Every 0.5 seconds.
You can set this in the first argument in the create_timer function.

3. Rewrite the publisher so that it publishes an integer.

5.

w forward
s stop
x backward
a rotate left
d rotate rigth