Ask Your Question
0

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

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

johnw gravatar image

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

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 -0600

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 481 times

Last updated: Jan 27 '15