15 #include <unordered_map> 28 stamp_ns / 1000000000UL,
29 stamp_ns % 1000000000UL);
36 if (offset_ns > 0 ||
tsync_mode == timesync_mode::PASSTHROUGH) {
37 uint64_t stamp_ns =
static_cast<uint64_t
>(time_boot_ms) * 1000000UL + offset_ns;
47 if (offset_ns > 0 ||
tsync_mode == timesync_mode::PASSTHROUGH) {
48 uint64_t stamp_ns = time_usec * 1000UL + offset_ns;
static ros::Time ros_time_from_ns(const uint64_t stamp_ns)
ros::Time synchronise_stamp(uint32_t time_boot_ms)
Compute FCU message time from time_boot_ms or time_usec field.
PX4 custom mode constantsPX4 custom flight modes.
std::atomic< uint64_t > time_offset