You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running gazebo simulation with uxrce_dds_client enabled, the following error appears: ERROR [timesync] Time jump detected. Resetting time synchroniser.
To Reproduce
On current main branch (commit: ece60b6) run: make px4_sitl gz_x500
In a separate terminal start the uxrce_dds_client with: MicroXRCEAgent udp4 -p 8888
After a couple of seconds, the error will appear in the command line
Expected behavior
No error should appear at all. While it doesn't break simulation, it is still unsightly.
Screenshot / Media
Flight Log
NA
Software Version
Current PX4 main branch.
Flight controller
It's in simulation.
Vehicle type
None
How are the different components wired up (including port information)
No response
Additional context
Reference previously by @PerFrivik and supposedly fixed in PR #22463. The belief is that the bug originated from this PR.
The text was updated successfully, but these errors were encountered:
I experienced this issue with gazebo simulation running close but not close enougth to real time factor 1.
PX4 takes the clock from Gazebo, XRCE-DDS agent uses the wall clock. Therefore agent and client runs with two different time paces and the synchronizer resets when the accumulated drift gets too large.
you can verify this worsening the gazebo real time factor, you should see the ERROR [timesync] Time jump detected. Resetting time synchroniser appear more frequently
Describe the bug
When running gazebo simulation with uxrce_dds_client enabled, the following error appears:
ERROR [timesync] Time jump detected. Resetting time synchroniser.
To Reproduce
On current main branch (commit: ece60b6) run:
make px4_sitl gz_x500
In a separate terminal start the uxrce_dds_client with:
MicroXRCEAgent udp4 -p 8888
After a couple of seconds, the error will appear in the command line
Expected behavior
No error should appear at all. While it doesn't break simulation, it is still unsightly.
Screenshot / Media
Flight Log
NA
Software Version
Current PX4 main branch.
Flight controller
It's in simulation.
Vehicle type
None
How are the different components wired up (including port information)
No response
Additional context
Reference previously by @PerFrivik and supposedly fixed in PR #22463. The belief is that the bug originated from this PR.
The text was updated successfully, but these errors were encountered: