Re: [ros-users] tried rostopic list and rostopic echo \diagn…

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
+ (text/html)
Slet denne besked
Besvar denne besked
Skribent: User discussions
Dato:  
Til: KM6VV, User discussions
Emne: Re: [ros-users] tried rostopic list and rostopic echo \diagnostics
Hi Alan,

The best forum for ROS debugging questions, including TurtleBot, is
answers.ros.org. Please ask questions over there. It's much more easily
searched and tagged.

Tully

PS: It looks like you have a http//: instead of a http:// in your
ROS_MASTER_URI

On Thu, Sep 13, 2012 at 12:16 PM, Alan Marconett <>wrote:

> Already posted to HBRobotics list.****
>
> ** **
>
> Hi,****
>
> ** **
>
> I have the club’s Turtlebot, and I’ve been trying to control it via the
> turtlebot_bringup tutorials for a few weeks. I finally got the right
> understanding of the ssh commands into the Turtlebot. I’ve verified
> ROS_HOSTNAME and ROS_MASTER (first two lines of terminal sign-on are echos
> of values) which appears to work. I can “list” and “diagnostics” on my
> workstation, but not on the Turtlebot. Also, although I can usually get
> dashboard up, it doesn’t “connect” and control anything. ****
>
> ** **
>
> Can anyone suggest anything?****
>
> ** **
>
> Sure would like a “Turtlebot workshop”! ****
>
> ** **
>
> After I get the Turtlebot working, I’ve got a lot of work planned porting
> ROS over to my 6WD Robomagallan ‘bot.****
>
> ** **
>
> Thanks in advance for any help/comments!****
>
> ** **
>
> Alan KM6VV****
>
> ** **
>
> ROS_HOSTNAME 172.16.1.33****
>
> ROS_MASTER http://172.16.1.35:11311****
>
> alan@alan-desktop:~$ ssh turtlebot@turtlebot-0170 turtlebot@turtlebot-0170's
> password:****
>
> Linux turtlebot-0170 2.6.32-38-generic #83-Ubuntu SMP Wed Jan 4 11:12:07
> UTC 2012 x86_64 GNU/Linux Ubuntu 10.04.4 LTS****
>
> ** **
>
> Welcome to Ubuntu!****
>
> * Documentation: https://help.ubuntu.com/****
>
> ** **
>
> 237 packages can be updated.****
>
> 168 updates are security updates.****
>
> ** **
>
> New release 'precise' available.****
>
> Run 'do-release-upgrade' to upgrade to it.****
>
> ** **
>
> Last login: Tue Sep 11 19:13:45 2012 from alan-desktop ROS_MASTER http//:
> 172.16.1.35:11311 ROS_IP 172.16.1.35****
>
> ROS_HOST_172.16.1.35****
>
> turtlebot@turtlebot-0170:~$ roscore****
>
> Traceback (most recent call last):****
>
>    File****

>
>
> "/opt/ros/electric/stacks/ros_comm/tools/roslaunch/src/roslaunch/__init__.py",
> ****
>
> line 217, in main****
>
>      uuid = roslaunch.rlutil.get_or_generate_uuid(options.run_id,****

>
> options.wait_for_master)****
>
>    File****

>
>
> "/opt/ros/electric/stacks/ros_comm/tools/roslaunch/src/roslaunch/rlutil.py",
> ****
>
> line 170, in get_or_generate_uuid****
>
>      param_server = roslib.scriptutil.get_param_server()****

>
>    File "/opt/ros/electric/ros/core/roslib/src/roslib/scriptutil.py",****

>
> line 150, in get_param_server****
>
>      return get_master()****

>
>    File "/opt/ros/electric/ros/core/roslib/src/roslib/scriptutil.py",****

>
> line 141, in get_master****
>
>      raise roslib.exceptions.ROSLibException("invalid master URI: %s"%uri)
> ****

>
> ROSLibException: invalid master URI: http//:172.16.1.35:11311turtlebot@turtlebot-0170:~$
> rostopic list Traceback (most recent call last):****
>
>    File "/opt/ros/electric/ros/bin/rostopic", line 45, in <module>****

>
>      rostopic.rostopicmain()****

>
>    File****

>
> "/opt/ros/electric/stacks/ros_comm/tools/rostopic/src/rostopic.py", line
> 1700, in rostopicmain****
>
>      _rostopic_cmd_list(argv)****

>
>    File****

>
> "/opt/ros/electric/stacks/ros_comm/tools/rostopic/src/rostopic.py", line
> 1642, in _rostopic_cmd_list****
>
>      exitval = _rostopic_list(topic, verbose=options.verbose,
> subscribers_only=options.subscribers,****

>
> publishers_only=options.publishers, group_by_host=options.hostname) or 0**
> **
>
>    File****

>
> "/opt/ros/electric/stacks/ros_comm/tools/rostopic/src/rostopic.py", line
> 870, in _rostopic_list****
>
>      master = rosgraph.masterapi.Master('/rostopic')****

>
>    File****

>
>
> "/opt/ros/electric/stacks/ros_comm/tools/rosgraph/src/rosgraph/masterapi.py",
> ****
>
> line 94, in __init__****
>
>      self._reinit(master_uri)****

>
>    File****

>
>
> "/opt/ros/electric/stacks/ros_comm/tools/rosgraph/src/rosgraph/masterapi.py",
> ****
>
> line 105, in _reinit****
>
>      self.handle = xmlrpclib.ServerProxy(self.master_uri)****

>
>    File "/usr/lib/python2.6/xmlrpclib.py", line 1463, in __init__****

>
>      raise IOError, "unsupported XML-RPC protocol"****

>
> IOError: unsupported XML-RPC protocol****
>
> turtlebot@turtlebot-0170:~$ rostopic echo /diagnostics Traceback (most
> recent call last):****
>
>    File "/opt/ros/electric/ros/bin/rostopic", line 45, in <module>****

>
>      rostopic.rostopicmain()****

>
>    File****

>
> "/opt/ros/electric/stacks/ros_comm/tools/rostopic/src/rostopic.py", line
> 1694, in rostopicmain****
>
>      _rostopic_cmd_echo(argv)****

>
>    File****

>
> "/opt/ros/electric/stacks/ros_comm/tools/rostopic/src/rostopic.py", line
> 1039, in _rostopic_cmd_echo****
>
>      _rostopic_echo(topic, callback_echo, bag_file=options.bag)****

>
>    File****

>
> "/opt/ros/electric/stacks/ros_comm/tools/rostopic/src/rostopic.py", line
> 689, in _rostopic_echo****
>
>      _check_master()****

>
>    File****

>
> "/opt/ros/electric/stacks/ros_comm/tools/rostopic/src/rostopic.py", line
> 79, in _check_master****
>
>      rosgraph.masterapi.Master('/rostopic').getPid()****

>
>    File****

>
>
> "/opt/ros/electric/stacks/ros_comm/tools/rosgraph/src/rosgraph/masterapi.py",
> ****
>
> line 94, in __init__****
>
>      self._reinit(master_uri)****

>
>    File****

>
>
> "/opt/ros/electric/stacks/ros_comm/tools/rosgraph/src/rosgraph/masterapi.py",
> ****
>
> line 105, in _reinit****
>
>      self.handle = xmlrpclib.ServerProxy(self.master_uri)****

>
>    File "/usr/lib/python2.6/xmlrpclib.py", line 1463, in __init__****

>
>      raise IOError, "unsupported XML-RPC protocol"****

>
> IOError: unsupported XML-RPC protocol****
>
> turtlebot@turtlebot-0170:~$****
>
> ** **
>
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>
>



--
Tully Foote

(650) 475-2827