Hello, I am working on a project to show drone flight on the web using px4 simulation.
While I’m working on a project, I’m experiencing a phenomenon where the drone teleports whenever the warning below appears.
WARN [timesync] time jump detected. Resetting time synchroniser.
WARN [uxrce_dds_client] time sync no longer converged
INFO [uxrce_dds_client] time sync converged
run ros-humble-ros-gzharmonic
making ros2 node use_sim_time true
making UXRCE_DDS_SYNCT to `false`
However, to do this, I must click to change the value in the system parameter(UXRCE_DDS_SYNCT) through QGroundControl’s GUI.
What I want to do is to create a parameter file in advance before the simulation starts and have the corresponding system parameters applied automatically.
Originally, I could change the parameters of QGC and continue using it, but since we are using doker, it is impossible to manipulate the GUI. That’s why I need a way to change parameters without clicking.
Is there a way to change the UXRCE_DDS_SYNCT parameter without GUI manipulation?
Hi @rkdwhddud1, thanks for reporting. Can you please share the following:
What version of PX4 are you running?
Where are the client and agent running? Please share more regarding your network topology
Typically, the time jump occurs when something goes wrong somewhere else. You shouldn’t tolerate those or make adjustments unless you 100% know what you are doing.
If you could also share a log it would be easier to review what you are doing and possibly help you.
thanks for reply! Im using ubuntu 22.04, px4 with version 1.15.0, ros2 humble. Im newbie of px4 simulation, so I don’t know specific knowledge. I just ran