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

turtlebot 1.0 calibration

asked 2012-02-14 14:37:06 -0500

Peter Henry gravatar image

I just updated to the most recent debs:

ii ros-electric-turtlebot 0.9.0-s1329169192~lucid
ii ros-electric-turtlebot-apps 0.9.0-s1329172196~lucid
ii ros-electric-turtlebot-robot 1.0.0-s1329209176~lucid

Now when I:

roslaunch turtlebot_calibration calibrate.launch

I get a neverending stream of errors:

[ERROR] [WallTime: 1329273192.794075] bad callback: <bound method="" scantoangle.scan_cb="" of="" <__main__.scantoangle="" instance="" at="" 0x2918200&gt;&gt;="" traceback="" (most="" recent="" call="" last):="" file="" "="" opt="" ros="" electric="" stacks="" ros_comm="" clients="" rospy="" src="" rospy="" topics.py",="" line="" 581,="" in="" _invoke_callback="" cb(msg)="" file="" "="" opt="" ros="" electric="" stacks="" turtlebot_apps="" turtlebot_calibration="" src="" turtlebot_calibration="" scan_to_angle.py",="" line="" 74,="" in="" scan_cb="" angle="atan2((-sum_x&lt;em">sum_y+numsum_xy)/(numsum_xx-sum_xsum_x), 1) ZeroDivisionError: integer division or modulo by zero

[ERROR] [WallTime: 1329273192.865006] bad callback: <bound method="" scantoangle.scan_cb="" of="" <__main__.scantoangle="" instance="" at="" 0x2918200&gt;&gt;="" traceback="" (most="" recent="" call="" last):="" file="" "="" opt="" ros="" electric="" stacks="" ros_comm="" clients="" rospy="" src="" rospy="" topics.py",="" line="" 581,="" in="" _invoke_callback="" cb(msg)="" file="" "="" opt="" ros="" electric="" stacks="" turtlebot_apps="" turtlebot_calibration="" src="" turtlebot_calibration="" scan_to_angle.py",="" line="" 74,="" in="" scan_cb="" angle="atan2((-sum_x&lt;em">sum_y+numsum_xy)/(numsum_xx-sum_xsum_x), 1) ZeroDivisionError: integer division or modulo by zero

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-02-14 15:44:12 -0500

fergs gravatar image

updated 2012-02-14 15:44:35 -0500

Is the robot in front of a wall? Does the wall appear in the laser scan? I just pushed a small change that will hide the error message (it will be a day or so before this makes it into the debians), but the bottom line is that your robot cannot see a wall in front of it.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-02-14 14:37:06 -0500

Seen: 266 times

Last updated: Feb 14 '12