robcog-iai / UROSBridge

Unreal ROS Bridge topic / service communication via websocket
http://robcog.org/
BSD 3-Clause "New" or "Revised" License
52 stars 37 forks source link

changed time query function: FDateTime::Now() to FDateTime::UtcNow() #23

Closed stereoboy closed 6 years ago

stereoboy commented 6 years ago

I thought that FDateTime::UtcNow() is better than FDateTime::Now(). FDateTime::Now() returns local time. But ROS's Time::Now() implementation uses gettimeofday() or clock_gettime() and all the functions return UTC. (https://docs.ros.org/api/rostime/html/src_2time_8cpp_source.html. )

Please review it.

andreihaidu commented 6 years ago

Thanks for noticing this!