This package provides the implementation of the cob_command_gui as a RViz Plugin for operating Care-O-bot.
Note: The cob_command_gui_rviz package is written for ROS Electric using the wxWidgets library. As of the ROS Fuerte release Rviz is moving from the wxWidgets library to the Qt library.
There is no version for ROS Fuerte available at the moment!
The cob_command_gui_rviz package provides a configurable RViz Plugin for operating different hardware parts of Care-O-bot. The command_gui_rviz uses the functionalities of the cob_script_server package.
command_gui_rviz.cpp creates the controls for the plugin, which is described in the /lib/plugin.yaml file.
init.cpp associates the registered class with the data in the yaml file and is connected to the running RViz by calls to TypeRegistry.registerDisplay() in the plugin's rvizPluginInit() function:
The cob_script_server implementation.
Building and Uploading
rosdep install cob_command_gui_rviz rosmake cob_command_gui_rviz
You can upload the cob_command_gui_rviz plugin by selecting the Plugins->Manage... menu item in RViz.
A dialog will pop up letting you manage loading/unloading plugins:
To add the panel, click the Add button at the bottom:
For a more detailed introduction see rviz/UserGuide.
For starting the action server:
roscd cob_rviz_movement_control/src ./execute_commands.py
For loading the parameters and starting RViz:
export ROBOT=cob3-3 export ROBOT_ENV=ipa-kitchen roslaunch cob_command_gui_rviz startup.launch rosrun rviz rviz