Skip to content

Commit

Permalink
move simulation exception for external mode registrations while armed…
Browse files Browse the repository at this point in the history
… to rc.simulator
  • Loading branch information
bdilman committed Jan 24, 2025
1 parent b8f3869 commit 35f9f9a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ROMFS/px4fmu_common/init.d-posix/px4-rc.simulator
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
# Simulator IMU data provided at 250 Hz
param set-default IMU_INTEG_RATE 250

# For simulation, allow registering modes while armed for developer convenience
param set-default COM_MODE_ARM_CHK 1

if [ "$PX4_SIMULATOR" = "sihsim" ] || [ "$(param show -q SYS_AUTOSTART)" -eq "0" ]; then

echo "INFO [init] SIH simulator"
Expand Down

0 comments on commit 35f9f9a

Please sign in to comment.