ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How to change line color automatically in rxgraph?

asked 2011-07-21 19:28:28 -0600

sam gravatar image

updated 2011-08-26 01:52:32 -0600

Because when rxgraph show many lines on the screen,sometimes it's difficult to each line of goal.

If it is possible to change color automatically,it will be easy to understand.

The normal black line:

image description

I use grep to find color,but what I found is not black:

 sam@/opt/ros/diamondback/stacks/rx/rxgraph/src/rxgraph$ grep color *
 dotcode.py:            return '  %s [color="red", shape="doublecircle",      label="%s", URL="node:%s"];'%(
 dotcode.py:            return '  %s [color="orange", shape="doublecircle",      label="%s", URL="node:%s"];'%(
 二進位格式檔案 dotcode.pyc 符合

 sam@/opt/ros/diamondback/stacks/rx/rxgraph/src/rxgraph$

Where is the setting of line of color?

Thank you~

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
2

answered 2011-07-25 07:47:08 -0600

mmwise gravatar image

Currently there is no way to change the color of the lines in rxgraph programatically. But you could add that feature to rxgraph and patch it back to ROS.

edit flag offensive delete link more

Comments

If I want to see the source code of rxgraph,where is it? I trace 'rxgraph' only see import roslib; roslib.load_manifest('rxgraph');import rxgraph;rxgraph.rxgraph_main()
sam gravatar image sam  ( 2011-08-24 18:34:10 -0600 )edit
I have updated the origin post,and I want to find out which portion I can focus.Thank you~
sam gravatar image sam  ( 2011-08-26 01:54:00 -0600 )edit

Question Tools

Stats

Asked: 2011-07-21 19:28:28 -0600

Seen: 423 times

Last updated: Aug 26 '11