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

Errors in Minimal.launch after installing Fuerte Turtlebot Upgrade

asked 2012-05-07 18:19:26 -0600

RobotRoss gravatar image

updated 2014-01-28 17:12:14 -0600

ngrennan gravatar image

On Ubuntu Oneiric, following upgrade instructions to Fuerte Turtlebot, http://www.ros.org/wiki/Robots/TurtleBot/fuerte/Robot_Upgrade, roscore started Ok with "minimal.launch" though with several ROS error msgs in addition to a Lenovo x120e "battery" issue I reported in an earlier post:

core service [/rosout] found process[appmaster-1]: started with pid [14537] process[app_manager-2]: started with pid [14538] process[turtlebot_node-3]: started with pid [14539] process[turtlebot_laptop_battery-4]: started with pid [14541] process[robot_state_publisher-5]: started with pid [14543] process[diagnostic_aggregator-6]: started with pid [14548]

/opt/ros/fuerte/stacks/turtlebot/turtlebot_node/nodes/turtlebot_node.py:54: UserWarning: roslib.rosenv is deprecated, please use rospkg or rosgraph.rosenv import roslib.rosenv

process[robot_pose_ekf-7]: started with pid [14581]

turtlebot_apps.installed loading installation data for [turtlebot_apps.installed]

[WARN] [WallTime: 1336438419.701618] Unable to check laptop battery info. Exception: [Errno 2] No such file or directory: '/proc/acpi/battery/BAT0/info' [WARN] [WallTime: 1336438419.702619] Unable to check laptop battery state. Exception: [Errno 2] No such file or directory: '/proc/acpi/battery/BAT0/state'

ERROR: Cannot locate app file for turtlebot_teleop/android_teleop: package is not installed.

[INFO] [WallTime: 1336438419.739866] Starting app manager for turtlebot Traceback (most recent call last): File "/opt/ros/fuerte/stacks/turtlebot/turtlebot_node/nodes/turtlebot_node.py", line 68, in <module> import turtlebot_node.robot_types as robot_types

File "/opt/ros/fuerte/stacks/turtlebot/turtlebot_node/src/turtlebot_node/robot_types.py", line 29, in <module> import create_sensor_handler

File "/opt/ros/fuerte/stacks/turtlebot/turtlebot_node/src/turtlebot_node/create_sensor_handler.py", line 42, in <module> _struct_I = roslib.message.struct_I

AttributeError: 'module' object has no attribute 'struct_I'

[INFO] [WallTime: 1336438419.766782] Waiting for foreign master [http://localhost:11312] to come up... [INFO] [WallTime: 1336438419.772081] Foreign master is available

[INFO] [WallTime: 1336438419.809062] Registering (/turtlebot/app_list,http://10.0.1.6:60690/) on master http://localhost:11312

[INFO] [WallTime: 1336438419.821318] Registering (/turtlebot/application/app_status,http://10.0.1.6:60690/) on master http://localhost:11312 turtlebot_apps.installed loading installation data for [turtlebot_apps.installed]

Suggestions to troubleshoot?

edit retag flag offensive close merge delete

Comments

1

I'm seeing similar problems after updating to Fuerte and at the same time updating to ubuntu precise.

AndreasB gravatar image AndreasB  ( 2012-05-08 03:33:00 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
2

answered 2012-05-10 01:09:14 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

This it is a defect (see ticket for patch or better wait till its merged into the trunk):

https://kforge.ros.org/turtlebot/trac/ticket/139

p.s.: the fixes I applied:

rospkg.common.ResourceNotFound: rostest
ROS path [0]=/opt/ros/fuerte/share/ros

-> add /opt/ros/fuerte/share to ROS_PACKAGE_PATH

  File "/opt/ros/fuerte/stacks/turtlebot/turtlebot_node/src/turtlebot_node/create_sensor_handler.py", line 42, in <module>
    _struct_I = roslib.message.struct_I
AttributeError: 'module' object has no attribute 'struct_I'

-> get fix from https://kforge.ros.org/turtlebot/trac/ticket/139 in /opt/ros/fuerte/stacks/turtlebot execute sudo patch -p1 < PathToDiffFix

I also applied https://kforge.ros.org/turtlebot/trac/ticket/137 to fix the install.bash and https://kforge.ros.org/turtlebot/trac/ticket/142 to fix kinect.launch

For turtlebot.eu fellows: Read http://answers.ros.org/question/27755/roomba-500-series-installation-problem

You have to change the turtlebot_node parameters robot_type publish_tf has_gyro

edit flag offensive delete link more
1

answered 2012-05-09 08:52:42 -0600

pallegro gravatar image

http://code.ros.org/lurker/message/20100806.155025.c730c454.en.html

suggests this might have to do with your python path (same struct_I issue).
You could try echo $PYTHONPATH and see if there are old references to electric in there

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2012-05-07 18:19:26 -0600

Seen: 1,946 times

Last updated: May 10 '12