mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 04:43:34 +08:00
SIH in SITL with lockstep (#19028)
* sih: Move sih out of work queue
This reverts commit bb7dd0cf00.
* sih-sim: Enable sih in sitl, together with lockstep
* sih-sim: new files for sih: quadx and airplane
* sih: Added tailsitter for sih-sitl simulation
* sitl_target: Added seperate target loop for sih
* jmavsim_run: Allow jmavsim to run in UDP mode
* lockstep: Post semaphore on last lockstep component removed
* sih-sim: Added display for effectively achieved speed
* sih: increase stack size
* sih-sim: Improved sleep time computation, fixes bug of running too fast
* sitl_target: place omnicopter in alphabethic order
Co-authored-by: romain-chiap <romain.chiap@gmail.com>
Co-authored-by: Matthias Grob <maetugr@gmail.com>
This commit is contained in:
co-authored by
romain-chiap
Matthias Grob
parent
a7e11464c1
commit
46c9d1e288
@@ -84,7 +84,7 @@ void LockstepComponents::unregister_component(int component)
|
||||
|
||||
int components_used_bitset = _components_used_bitset;
|
||||
|
||||
if (_components_progress_bitset == components_used_bitset && components_used_bitset != 0) {
|
||||
if (_components_progress_bitset == components_used_bitset) {
|
||||
_components_progress_bitset = 0;
|
||||
px4_sem_post(&_components_sem);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user