Robot Viewer ¶
The Robot viewer gathers several tools allowing to monitor the robot on which the plugin is connected:
- Robot view displays a 3D view of the robot,
- Motion View allows you to control the movements of the robot,
- Dialog view allows you to watch dialog outputs and enter dialog inputs,
- Log view allows you to watch the logs.
To display the Robot viewer, see: Running the Robot Viewer.
The Robot view displays a 3D view of the connected robot.
Good to know:
- an emulated robot is displayed on a blue background, while
- the remote view of a real robot is displayed on a green background.
The Robot view toolbar allows to modify the displayed information.
|Display 3D information|
|Do not show world representation objects|
|Do not update robot position|
|Do not update motors position|
|Do not show the engagement zone|
|Do not show the perceived people|
Motion View lets you modify the joint values of each limb.
|A||Slider||Allows you to adjust the joint value.|
|B||Current joint value||
The color indicates if the requested value has been reached.
Green indicator means the current joint value equals to the last requested value.
Blue indicator means that the joint value is not (or not yet) the requested value. It could be because
Saves the defined value, when a Timeline box is currently opened.
This button can be:
|D||Stiffen chain on/off button||
Sets on/off the Stiffness of the whole selected chain of joints (Head, Arm or Leg).
This button can be:
If selected, actions (send a command value, register a joint value, etc) are also executed on the symmetric limb.
For example left and right arms will move the same way.
Log view displays the log messages generated from robot actions to aid you debug your application. You can select the log level to display.
Dialog view provides a visual interface between you and your robot that lets you send dialog messages to your robot.
Running the Robot Viewer¶
Robot viewer is run automatically when a robot is connected to your plugin.
To connect your plugin to a robot, see:
Launching an emulated robot¶
To manually launch an emulated robot:
From Android Studio:
The emulated robot appears.
Note that the Robot emulator is automatically launched upon running your application.
Note also that the emulator launched depends of the API level of your robotic android project.
If the virtual tablet of the emulated robot displays a black screen, try: Modifying the AVD graphical acceleration type.
How it works¶
Robot emulator consists in the modules described below.
Robot emulator engine.
Emulates the operations of the real robot.
Displays the simulated robot behavior.
Android Virtual Device.
Has the same configuration as Pepper tablet. Your robot application is run on it.
All three of them have the same lifecycle: they are launched together and will all stop if one of them is stopped.
Robots Browser allows Connecting to a real robot.
List of robots¶
The table below describes the columns of the list of robots.
|Enables you to add a robot to Favorite.|
|Status||Displays the Type and state of the robot.|
|Name||The robot’s Name.|
|Port||The port used to connect to the robot.|
|Host||The host used to connect to the robot.|
To add/remove a robot to Favorites, click the star.
The robot is a Favorite robot.
The next time you open Connect to panel, the favorite robots will appear at the top of the list.
|The robot is not a favorite robot.|