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
The update loop is currently scheduled by an ExecutorService, which is known to be not very precise in its cyclic timing.
Therefore I would like to propose another solution for scheduling, which I currently use to avoid or at least reduce issues like polling errors or timeouts e.g. mentioned in this discussion.
@ecmnet what actual requirements do you have for simulation? I'm wondering if it would be better to focus on using sih within PX4 (https://github.com/PX4/PX4-Autopilot/tree/main/src/modules/sih) for the this simple sim, then you can continue using jmavsim only for visualization.
For anything more sophisticated I'm hoping we can focus our efforts on new Gazebo (Ignition), including dealing with cross platform build (or packaging) issues if necessary.
@dagar: I use jMAVSim just for quick and basic functional tests of MAVCGL or the companion software (e.g. trajectory generation w. offboard) - usually without visualization. For more sophisticated tests, I currently use Gazebo but hadn't have a look into Ignition.
Makes sense. In the not too distant future I would like to consolidate a bit so we can focus on having 1 or 2 decent simulation options instead of 5-6 mediocre.
The update loop is currently scheduled by an ExecutorService, which is known to be not very precise in its cyclic timing.
Therefore I would like to propose another solution for scheduling, which I currently use to avoid or at least reduce issues like polling errors or timeouts e.g. mentioned in this discussion.
Scheduling is implemented like this:
On OSX this turned out to be much more stable although it is not solving the problem completely.
The text was updated successfully, but these errors were encountered: