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

Is the "byte" type in messages signed or unsigned?

asked 2015-01-27 10:55:20 -0500

johnw gravatar image

updated 2015-01-27 11:04:52 -0500

gvdhoorn gravatar image

It appears that moveit_msgs/CollisionObject uses the type byte which isn't discussed in the documentation for message types found at http://wiki.ros.org/msg . Is this an alias for uint8, int8, or some form of message structure?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
2

answered 2015-01-27 11:00:20 -0500

gvdhoorn gravatar image

From ros/msg - Message Description Specification - 2.1 Fields - 2.1.1 Field Types:

[..]

Deprecated:

    char: deprecated alias for uint8
    byte: deprecated alias for int8

So it is indeed an alias.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-01-27 10:55:20 -0500

Seen: 1,291 times

Last updated: Jan 27 '15