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

What is the state of smach_viewer in ROS Jade?

asked 2015-08-05 17:13:03 -0600

sloretz gravatar image

I would like to know when and in what form the smach viewer utility will be released for jade.

The indigo release has the packages ros-indigo-smach-viewer and ros-indigo-xdot, but there are no such packages for jade. Downloading the smach_viewer source code to my ros workspace shows that smach_viewer depends on the package xdot, but xdot was deprecated during the ros groovy release, yet was still released in hydro and indigo. Searching around shows some talk a few years ago about xdot being replaced with rqt_dotgraph, but I haven't found anything besides a broken link.

What's the state of smach_viewer in ROS Jade? Will the old xdot and smach_viewer packages be released in jade? Will an rqt version be ready for jade?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-10-10 10:39:44 -0600

kantapon gravatar image

The interim solution I found was to get xdot package from the following link: http://wiki.ros.org/xdot .

When you do $ git clone https://github.com/ros-visualization/... (branch: groovy-devel) you will get folder "rx". You will need to take only "xdot" folder (inside the "rx" folder) and place it in your workspace, then do catkin_make.

Now you should be able to do $ rosrun smach_viewer smach_viewer.py.

You may get the following error message after you run smach_viewer:

File "/home/kt1e11/catkin_ws/src/xdot/src/xdot/xdot.py", line 480, in read_number return int(self.read_code()) ValueError: invalid literal for int() with base 10:

In that cast, you can just replace return int(self.read_code()) wit return int(float(self.read_code()))

edit flag offensive delete link more

Comments

Thank you, this solution works perfectly. Hopefully an official release will come soon!

sloretz gravatar image sloretz  ( 2015-10-15 15:18:17 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2015-08-05 17:13:03 -0600

Seen: 628 times

Last updated: Aug 05 '15