diff --git a/posix-configs/bbblue/px4.config b/posix-configs/bbblue/px4.config index 0e598c3011..ef4de1e4fd 100644 --- a/posix-configs/bbblue/px4.config +++ b/posix-configs/bbblue/px4.config @@ -6,7 +6,8 @@ # config for a quad # modified from ../rpi/px4.config -param load +param select eeprom/parameters +param import param set CBRK_SUPPLY_CHK 894281 diff --git a/posix-configs/bbblue/px4_fw.config b/posix-configs/bbblue/px4_fw.config index 9694e2ebc2..e5d7f58fd1 100644 --- a/posix-configs/bbblue/px4_fw.config +++ b/posix-configs/bbblue/px4_fw.config @@ -6,7 +6,8 @@ # config for fixed wing (FW) # modified from ./px4.config, switch att/pos_control & mixer -param load +param select eeprom/parameters +param import param set CBRK_SUPPLY_CHK 894281 diff --git a/posix-configs/rpi/pilotpi_fw.config b/posix-configs/rpi/pilotpi_fw.config index b64ecf176f..638c0ad8bb 100644 --- a/posix-configs/rpi/pilotpi_fw.config +++ b/posix-configs/rpi/pilotpi_fw.config @@ -3,10 +3,8 @@ # (px4-alias.sh is expected to be in the PATH) . px4-alias.sh -if [ -f eeprom/parameters ] -then - param load -fi +param select eeprom/parameters +param import # system_power not implemented param set CBRK_SUPPLY_CHK 894281 diff --git a/posix-configs/rpi/pilotpi_mc.config b/posix-configs/rpi/pilotpi_mc.config index af447beddf..3b191d3794 100644 --- a/posix-configs/rpi/pilotpi_mc.config +++ b/posix-configs/rpi/pilotpi_mc.config @@ -3,10 +3,8 @@ # (px4-alias.sh is expected to be in the PATH) . px4-alias.sh -if [ -f eeprom/parameters ] -then - param load -fi +param select eeprom/parameters +param import # system_power not implemented param set CBRK_SUPPLY_CHK 894281 diff --git a/posix-configs/rpi/px4.config b/posix-configs/rpi/px4.config index 21059f6521..c5bad221e6 100644 --- a/posix-configs/rpi/px4.config +++ b/posix-configs/rpi/px4.config @@ -5,10 +5,9 @@ # navio config for a quad -if [ -f eeprom/parameters ] -then - param load -fi +param select eeprom/parameters +param import + param set CBRK_SUPPLY_CHK 894281 param set SYS_AUTOSTART 4001 param set MAV_TYPE 2 diff --git a/posix-configs/rpi/px4_fw.config b/posix-configs/rpi/px4_fw.config index 1b4d096b0d..bc758e86bb 100644 --- a/posix-configs/rpi/px4_fw.config +++ b/posix-configs/rpi/px4_fw.config @@ -5,10 +5,9 @@ # navio config for FW -if [ -f eeprom/parameters ] -then - param load -fi +param select eeprom/parameters +param import + param set CBRK_SUPPLY_CHK 894281 param set SYS_AUTOSTART 2100 param set MAV_TYPE 1 diff --git a/posix-configs/rpi/px4_hil.config b/posix-configs/rpi/px4_hil.config index 091e09063f..3d769670cc 100644 --- a/posix-configs/rpi/px4_hil.config +++ b/posix-configs/rpi/px4_hil.config @@ -7,10 +7,9 @@ # connect to it with jMAVSim: # ./Tools/jmavsim_run.sh -q -i -p 14577 -r 250 -if [ -f eeprom/parameters ] -then - param load -fi +param select eeprom/parameters +param import + param set CBRK_SUPPLY_CHK 894281 param set SYS_AUTOSTART 1001 param set MAV_TYPE 2 diff --git a/posix-configs/rpi/px4_test.config b/posix-configs/rpi/px4_test.config index dc07b49396..3fa50aa00d 100644 --- a/posix-configs/rpi/px4_test.config +++ b/posix-configs/rpi/px4_test.config @@ -5,10 +5,9 @@ # navio config for simple testing -if [ -f eeprom/parameters ] -then - param load -fi +param select eeprom/parameters +param import + param set CBRK_SUPPLY_CHK 894281 param set SYS_AUTOSTART 4001 param set MAV_TYPE 2