As outlined in the docs ROS 2 User Guide | PX4 Guide (v1.16) , making UXRCE_DDS_SYNCT to disabled and running the /clock ros_gz_bridge should result in timestamp being synchronized, but it fails to happen.(px4 v1.16)
himanshu@himanshu-Nitro-AN515-54:~$ ros2 topic echo /fmu/out/sensor_combined --once
timestamp: 42340000
gyro_rad:
- 9.754575876286253e-05
- -0.00024570574169047177
- 0.00048402257380075753
gyro_integral_dt: 4000
accelerometer_timestamp_relative: 0
accelerometer_m_s2:
- -0.0037437661085277796
- 0.005152125842869282
- -9.807798385620117
accelerometer_integral_dt: 4000
accelerometer_clipping: 0
gyro_clipping: 0
accel_calibration_count: 0
gyro_calibration_count: 1
---
himanshu@himanshu-Nitro-AN515-54:~$ ros2 topic echo /clock --once
clock:
sec: 47
nanosec: 396000000
---