Overview
The C++ command-line client is a demonstrator client that gives you a quick introduction for how to write a client to control your MIRO over the ROS interface in a compiled language. It allows you to drive the robot through several different motor paths. It will also act as a great starting point if you plan your own development in C++.
Usage
You can run the client on your workstation to send pre-prepared control programs to the robot and confirm that MIRO's ROS interface is operating correctly.
If all is well, MIRO will swing his head from side to side, and you will see sensor data coming back to your workstation console. The client accepts various additional arguments—try entering just ./miro_ros_client
(with no arguments) to see them. All MIRO tools will display the help page if no arguments are supplied.
Rebuild
The C++ command-line client will be a suitable starting point if you plan to connect to MIRO's ROS interface from a C++ program. Basic upstream and downstream operations are illustrated. You can find the source code at ~/mdk/src/miro_ros_client
.
To rebuild the client, enter the source folder and run make
:
Moving on
For a fuller understanding of the interface offered by MIRO, next try the Python GUI Client.