Rosbridge V1 on Fuerte Ubuntu 12.04

69 views
Skip to first unread message

BenoitL

unread,
Dec 18, 2012, 10:13:50 AM12/18/12
to rosbrid...@googlegroups.com
Hi guys,
I got this error from rosbridge.

Problem Problem Problem Problem Problem Problem Problem Problem Problem Problem
Traceback (most recent call last):
  File "/home/mycopter/fuerte_
workspace/brown_remotelab/rosbridge/bin/rosbridge.py", line 243, in handleFrameHelper
    cls = ros.classFromService(receiver)
  File "/home/mycopter/fuerte_workspace/brown_remotelab/rosbridge/bin/ROSProxy/ROSProxy.py", line 95, in classFromService
    return self.srvClassFromTypeString(self.typeStringFromService(service))
  File "/home/mycopter/fuerte_workspace/brown_remotelab/rosbridge/bin/ROSProxy/ROSProxy.py", line 89, in srvClassFromTypeString
    return self.__classFromTypeString(typeString, 'srv')
  File "/home/mycopter/fuerte_workspace/brown_remotelab/rosbridge/bin/ROSProxy/ROSProxy.py", line 63, in __classFromTypeString
    basemodule, itype = typeString.split('/')
AttributeError: 'NoneType' object has no attribute 'split'
Problem Problem Problem Problem Problem Problem Problem Problem Problem Problem
Any suggestions, explanations ?

Should I pass to version 2 to avoid it? If so, Waht the easiest way to upgrade my code from version 1 to version 2 ?
Sincerely,
Benoit

Chad Jenkins

unread,
Dec 18, 2012, 5:34:51 PM12/18/12
to rosbrid...@googlegroups.com

Hi Benoit,

I will let Chris answer about this specific error with v1, although I wonder if rosbridge needs to be catkinized.

As for moving to v2, the rosbridge_suite package includes a version of ros.js that should be compatible with code written for v1.  I have not tested this myself, but it should work:

https://github.com/RobotWebTools/rosbridge_suite/blob/fuerte-devel/rosbridge_clients/js/ros_compatible.js

-Chad


--
You received this message because you are subscribed to the Google Groups "Rosbridge Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rosbridge-users/-/Z3vrshLNnBYJ.
To post to this group, send email to rosbrid...@googlegroups.com.
To unsubscribe from this group, send email to rosbridge-use...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rosbridge-users?hl=en.

BenoitL

unread,
Dec 19, 2012, 4:47:30 AM12/19/12
to rosbrid...@googlegroups.com
Hi,
I tested the ros_compatible.js. Some changes must are required for now. For example i got the following error ("service /rosbridge/topics does not exist)
I will try to update to version 2 in the "clean" way and let you know about my progress.
By the way, thank you for your fast answer :)
Benoit

BenoitL

unread,
Dec 19, 2012, 8:48:39 AM12/19/12
to rosbrid...@googlegroups.com
Looking more deeper the api rosbridge v2, I found that the "magicservice" are now implemented in ros and not in the ros.js. Should I advertise them ?
Benoit

Brandon Alexander

unread,
Dec 19, 2012, 8:37:16 PM12/19/12
to rosbrid...@googlegroups.com
Hi Benoit,

I'm the new maintainer of rosbridge 2.0. A few items:

1) Rosbridge 1.0 is deprecated and not supported. Rosbridge 2.0 is where the action is at.
2) The rosbridge_clients folder is out of date. For ros.js, I recommend using https://github.com/robotwebtools/rosjs. We will be removing this clients directory in the future.
3) I am working this week on migrating rosbridge 2.0 to Groovy.

Best,
Brandon Alexander

BenoitL

unread,
Dec 20, 2012, 9:42:28 AM12/20/12
to rosbrid...@googlegroups.com
Thank you for your response.
I am going deeper and deeper in version2.
Now, the ROS "object" does not how any "handlers" array. But they have been replace by the "Topic" structure.
Is it possible to specify a period in a subscriber? Maybe using the throttle_rate? If so, is it a percentage or something else ?

raian...@gmail.com

unread,
Oct 31, 2014, 4:19:44 PM10/31/14
to rosbrid...@googlegroups.com
Hi Brandon,

I am using two robotic systems that communicate through rosbridge. However, I have a version issue on that. One of the system uses ROS on labview that was developed to work on Electric and rosbridge v1.0. Do you think that is hard to update rosbridge v1.0 to work on Fuerte?

I look forward for your feedback.

Thanks in advance.

Regards,

Raian Spinelli

Russell Toris

unread,
Oct 31, 2014, 4:29:36 PM10/31/14
to rosbrid...@googlegroups.com
Hi Raian-

Unfortunately rosbridge v1 is deprecated at this point and have no further development associated with it. There were many known bugs and limitations with version 1 which lead to the development of rosbridge v2 starting in Fuerte. While not tested, and I have no insight on this, it may be possible to get rosbridge v2 running on Electric, but I can imagine there would be problems with this. Here is a pointer to the Fuerte branch which uses rosbuild: https://github.com/RobotWebTools/rosbridge_suite/tree/fuerte-devel.

Best,

Russell


To unsubscribe from this group and stop receiving emails from it, send an email to rosbridge-use...@googlegroups.com.

To post to this group, send email to rosbrid...@googlegroups.com.



--
Russell Toris
Graduate Student | WPI Department of Computer Science
rct...@wpi.edu | http://users.wpi.edu/~rctoris/
Reply all
Reply to author
Forward
0 new messages