Documentation
Puppet is an interactive user interface for creating motion and speech sequences for a robot. Currently, the PR2 is the only supported robot. Users create the sequences pose by pose. The interface accumulates a corresponding command sequence, which can be saved to a file, or replayed in the robot emulator that is part of the GUI.
Start the program with the following command:
roslaunch puppet_gui slider_simple_sim.launch
The robot model's joints are moved either via a Korg nanoKontrol audio slider board that is plugged into one of the computer's USB ports, or through the built-in onscreen board. Each slider controls one robot joint. Enabling the robot to travel, in addition to posing its limbs is currently under consideration.
Controls
Display Panes
The GUI pane that shows the robot is the camera view of the robot. On this pane's left is the program pane, which collects robot commands as poses or speech commands are added. Below the program pane is the sound controls' pane. Below that pane is a bank of control buttons.
These control buttons have the following functions: * Append - add a command for the current robot pose to the command pane. * Insert - place a command for the current robot pose between two existing commands in the command pane. * Delete - remove the currently selected pose from the command pane. * Clone - create a copy of an existing command. * Play Poses - replay the accumulated poses beginning from the top. * Look at Face - have the robot look at the nearest face it can find. * Show Sound - show/hide the sound controls. * Accessibility - show the onscreen slider board. Below the camera view a text box shows the current joint positions. If the characters in that box turn red, the robot is in self collision, meaning that its limbs are bumping into each other. In this condition the respective pose cannot be added. The sound controls contain a text field into which users type what the robot is to say. The The
The tabs with the colored symbols at the top of the command pane allow users to create four independent pose sequences. Playback can then be switched back and forth between these tabs.
The two arrow buttons above the tabs allow users to step through commands one by one. The
The The camera view radio buttons allow different camera angles for modifying how the robot emulation appears in the camera view. Switching angles is useful for seeing poses without obstruction by the robot limbs. The
Speech utterances can be inserted directly into the command pane from the SpeakEasy GUI. In SpeakEasy, create a speech button for an utterance. Right click on that button, and select
For development and debugging, use the following command to fire all required processes, except for the GUI: and then start puppet_gui/nodes/puppet_gui.py in Eclipse.
<<TracLink(REPO COMPONENT)>> Command Addition Control Buttons
Command Pane Tabs
Step and Edit Buttons
Miscellaneous
Linkage to SpeakEasy
Development
roslaunch puppet_gui slider_simple_sim_node_in_eclipse.launch
Report a Bug