Basic Movement [Melodic]
Last updated
Last updated
First, run enter the below command in the terminal shell of MyPC.
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.
Running the above code, your terminal shell should look like this.
To control the R1mini using a keyboard, run the below code in a new terminal shell.
Running the above code, your terminal shell should display the above instructions. These are instructions to control your R1mini with a keyboard
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.
For more detailed information, you can enter the below line to the command line.
An rqt_graph is used to visualize active relationships between ros nodes and ros topics.
Here is one example of an rqt_graph GUI. Ovals represent ros nodes and the arrows connecting ros nodes are ros topics.
To watch a video demonstration for this page, visit this link: https://www.youtube.com/watch?v=HQQnUkWvWbs