Go to the source code of this file.
Functions | |
ros::Time | resolveHourAmbiguity (const ros::Time &stamp, const ros::Time &nominal_stamp) |
Function used to check that hour assigned to timestamp in conversion is correct. Velodyne only returns time since the top of the hour, so if the computer clock and the velodyne clock (gps-synchronized) are a little off, there is a chance the wrong hour may be associated with the timestamp. More... | |
ros::Time | rosTimeFromGpsTimestamp (const uint8_t *const data, const struct pcap_pkthdr *header=NULL) |
Function used to check that hour assigned to timestamp in conversion is correct. Velodyne only returns time since the top of the hour, so if the computer clock and the velodyne clock (gps-synchronized) are a little off, there is a chance the wrong hour may be associated with the timestamp.
stamp | timestamp recovered from velodyne |
nominal_stamp | time coming from computer's clock |
Definition at line 51 of file time_conversion.hpp.
ros::Time rosTimeFromGpsTimestamp | ( | const uint8_t *const | data, |
const struct pcap_pkthdr * | header = NULL |
||
) |
Definition at line 64 of file time_conversion.hpp.