To have the robot "patrol" (i.e. move constantly while avoiding obstacles), there are three factors:
- The frequency of the messages to
/cmd_vel
. - The angle ranges for left, front, and right.
- The linear and angular speeds of the robot.
ROS 2 controlling a robot
To have the robot "patrol" (i.e. move constantly while avoiding obstacles), there are three factors:
/cmd_vel
.ROS 2 controlling a robot