Note: This tutorial assumes that you have completed the previous tutorials: Running a simple grasp script.
(!) Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags.

Live visualization of a script

Description: This tutorial teaches you how to visualize a running script.

Tutorial Level: BEGINNER

Start the Script Viewer

To start the script viewer type

rosrun cob_script_server script_viewer.py

You should see a new window saying "no graph available"

no graph available

or if you already executed a script showing the graph of the last script.

clear graph of a test_script

Run a Script and follow the status in the Script Viewer

Now you can run a script as described in the running a simple script tutorial and use to script viever to monitor the execution state of the script. The colors in the block represent the different states according to the following table.

color

state

white

not active

yellow

active

red

failed

green

succeeded

graph of a test_script

Wiki: cob_script_server/Tutorials/Live visualization of a script (last edited 2010-09-01 06:25:22 by FlorianWeisshardt)