mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 11:06:04 +08:00
Merge branch 'master' of github.com:PX4/Firmware into paul_estimator_numeric
This commit is contained in:
@@ -108,7 +108,6 @@ then
|
|||||||
set HIL no
|
set HIL no
|
||||||
set VEHICLE_TYPE none
|
set VEHICLE_TYPE none
|
||||||
set MIXER none
|
set MIXER none
|
||||||
set USE_IO yes
|
|
||||||
set OUTPUT_MODE none
|
set OUTPUT_MODE none
|
||||||
set PWM_OUTPUTS none
|
set PWM_OUTPUTS none
|
||||||
set PWM_RATE none
|
set PWM_RATE none
|
||||||
@@ -131,6 +130,16 @@ then
|
|||||||
else
|
else
|
||||||
set DO_AUTOCONFIG no
|
set DO_AUTOCONFIG no
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#
|
||||||
|
# Set USE_IO flag
|
||||||
|
#
|
||||||
|
if param compare SYS_USE_IO 1
|
||||||
|
then
|
||||||
|
set USE_IO yes
|
||||||
|
else
|
||||||
|
set USE_IO no
|
||||||
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
# Set parameters and env variables for selected AUTOSTART
|
# Set parameters and env variables for selected AUTOSTART
|
||||||
|
|||||||
@@ -74,7 +74,7 @@
|
|||||||
|
|
||||||
/* Configuration Constants */
|
/* Configuration Constants */
|
||||||
#define PX4FLOW_BUS PX4_I2C_BUS_EXPANSION
|
#define PX4FLOW_BUS PX4_I2C_BUS_EXPANSION
|
||||||
#define I2C_FLOW_ADDRESS 0x45 //* 7-bit address. 8-bit address is 0x8A
|
#define I2C_FLOW_ADDRESS 0x42 //* 7-bit address. 8-bit address is 0x84
|
||||||
//range 0x42 - 0x49
|
//range 0x42 - 0x49
|
||||||
|
|
||||||
/* PX4FLOW Registers addresses */
|
/* PX4FLOW Registers addresses */
|
||||||
|
|||||||
@@ -60,3 +60,14 @@ PARAM_DEFINE_INT32(SYS_AUTOSTART, 0);
|
|||||||
* @group System
|
* @group System
|
||||||
*/
|
*/
|
||||||
PARAM_DEFINE_INT32(SYS_AUTOCONFIG, 0);
|
PARAM_DEFINE_INT32(SYS_AUTOCONFIG, 0);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set usage of IO board
|
||||||
|
*
|
||||||
|
* Can be used to use a standard startup script but with a FMU only set-up. Set to 0 to force the FMU only set-up.
|
||||||
|
*
|
||||||
|
* @min 0
|
||||||
|
* @max 1
|
||||||
|
* @group System
|
||||||
|
*/
|
||||||
|
PARAM_DEFINE_INT32(SYS_USE_IO, 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user