You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 14, 2023. It is now read-only.
How are unsigned integers being stored in rosjava messages? #3
Java doesn't have unsigned integers, so at the very least uint16 should be stored in an 'int' and uint32 should be stored in a 'long', and uint64 should be...???
Activity
chadrockey commentedon Sep 24, 2013
Looks like this is the case with time as well:
Represented in C++ as uint32_t:
http://docs.ros.org/api/rostime/html/classros_1_1TimeBase.html
And in ROSJava as int: (32 bit signed):
https://github.com/rosjava/rosjava_bootstrap/blob/hydro/message_generation/src/main/java/org/ros/message/Time.java#L43
@damonkohler You're on a deadline to resolve this issue within the next 25 years.
http://en.wikipedia.org/wiki/Year_2038_problem