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

Revision history [back]

click to hide/show revision 1
initial version

when std_msgs::Int are getting passing from the param from launch file upto 127 number it takes the value as it is after that at number 128 it take it as -128 number because 127 8bit binary number is 1111111 and 128 binary number is 10000000 why this happens because it take 8th bit as negative bit.

bit if you use normal Int then it shows the number without any conversions.