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

What does "struct integer overflow" DeprecationWarning mean?

asked 2011-08-04 01:58:43 -0500

baxelrod gravatar image

updated 2011-08-04 05:16:42 -0500

kwc gravatar image

I am getting a lot of these errors:

    /opt/ros/cturtle/ros/core/rospy/src/rospy/ DeprecationWarning: struct integer overflow masking is deprecated

Does anyone know what this is about? I have not been able to track down the specific messages in my system that cause it. I am running with CTurtle on Ubuntu 10.04.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-08-04 05:16:05 -0500

kwc gravatar image

IIRC, Python emits that warning when you serialize an integer that is wider than is being requested -- it basically means that you may be overflowing a message field.

edit flag offensive delete link more


Yes, that seems to be it. I found a place in my code that was using an int32 in a message field that was only uint8.
baxelrod gravatar image baxelrod  ( 2011-08-22 02:23:52 -0500 )edit

Question Tools


Asked: 2011-08-04 01:58:43 -0500

Seen: 824 times

Last updated: Aug 04 '11