When compiling the rostime package on my machine, I get the following compiler error:
/Users/michel/Developer/kinetic_ws/src/roscpp_core/rostime/include/ros/impl/time.h:170:35: error: no matching conversion for functional-style cast from 'double' to 'pt::microseconds' (aka 'subsecond_duration<boost::posix_time::time_duration, 1000000>')
return pt::from_time_t(sec) + pt::microseconds(nsec/1000.0);
Adding an explicit cast to either int32_t or uint32_t seems to solve this issue.
When compiling the rostime package on my machine, I get the following compiler error:
Adding an explicit cast to either int32_t or uint32_t seems to solve this issue.
My setup