topics_quiz 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.