Basic Movement [Melodic]

Run R1mini

First, run enter the below command in the terminal shell of MyPC.

$ roscore

If running the robot headless, you should be able to access your R1mini via ssh as detailed in "Remote Control" above.

Next, run the below line in the command line of R1mini.

$ roslaunch omo_r1mini_bringup omo_r1mini_robot.launch

Running the above code, your terminal shell should look like this.

Control R1mini using a keyboard

To control the R1mini using a keyboard, run the below code in a new terminal shell.

$ roslaunch omo_r1mini_teleop omo_r1mini_teleop_key.launch

Running the above code, your terminal shell should display the above instructions. These are instructions to control your R1mini with a keyboard

Debugging Tools

Checking rostopic

Viewing rostopics are one way to debug in ROS. A topic in ROS can simply be thought of as a specific channel of data to which ros nodes (think specific functions for roles like motor control or keyboard input) can publish or subscribe to. Displaying rostopics easily help us see what functions are running.

Run the below command to see a full list of currently-running rostopics.

rostopic list

For more detailed information, you can enter the below line to the command line.

rostopic list -v

Viewing rqt_graph

An rqt_graph is used to visualize active relationships between ros nodes and ros topics.

rqt_graph

Here is one example of an rqt_graph GUI. Ovals represent ros nodes and the arrows connecting ros nodes are ros topics.

Video Demonstration

To watch a video demonstration for this page, visit this link: https://www.youtube.com/watch?v=HQQnUkWvWbs

Last updated