Skip to content

Commit

Permalink
WIP: sensors split rc_update into new standalone module
Browse files Browse the repository at this point in the history
  • Loading branch information
dagar committed Oct 21, 2019
1 parent 6a0f524 commit a5d2464
Show file tree
Hide file tree
Showing 62 changed files with 863 additions and 530 deletions.
1 change: 1 addition & 0 deletions ROMFS/px4fmu_common/init.d-posix/rcS
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ simulator start -c $simulator_tcp_port
tone_alarm start
gpssim start
sensors start
rc_update start
commander start
navigator start

Expand Down
6 changes: 6 additions & 0 deletions ROMFS/px4fmu_common/init.d/rcS
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,12 @@ else
tune_control play -t 2
fi

#
# RC update (map raw RC input to calibrate manual control)
# start before commander
#
rc_update start

#
# Sensors System (start before Commander so Preflight checks are properly run).
# Commander needs to be this early for in-air-restarts.
Expand Down
1 change: 1 addition & 0 deletions boards/aerotenna/ocpoc/ubuntu.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ px4_add_board(
mc_pos_control
navigator
battery_status
rc_update
sensors
sih
#simulator
Expand Down
1 change: 1 addition & 0 deletions boards/airmind/mindpx-v2/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ px4_add_board(
mc_pos_control
navigator
battery_status
rc_update
sensors
sih
vmount
Expand Down
1 change: 1 addition & 0 deletions boards/atlflight/eagle/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ px4_add_board(
mc_att_control
mc_pos_control
navigator
rc_update
sensors
#sih
simulator
Expand Down
1 change: 1 addition & 0 deletions boards/atlflight/eagle/qurt-default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ px4_add_board(
local_position_estimator
mc_att_control
mc_pos_control
rc_update
sensors
#sih
vmount
Expand Down
1 change: 1 addition & 0 deletions boards/atlflight/excelsior/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ px4_add_board(
mc_att_control
mc_pos_control
navigator
rc_update
sensors
sih
simulator
Expand Down
1 change: 1 addition & 0 deletions boards/atlflight/excelsior/qurt-default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ px4_add_board(
local_position_estimator
mc_att_control
mc_pos_control
rc_update
sensors
sih
vmount
Expand Down
1 change: 1 addition & 0 deletions boards/auav/x21/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ px4_add_board(
mc_pos_control
navigator
battery_status
rc_update
sensors
sih
vmount
Expand Down
1 change: 1 addition & 0 deletions boards/av/x-v1/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ px4_add_board(
mc_pos_control
navigator
battery_status
rc_update
sensors
sih
vmount
Expand Down
1 change: 1 addition & 0 deletions boards/beaglebone/blue/cross.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ px4_add_board(
mc_pos_control
navigator
battery_status
rc_update
sensors
sih
vmount
Expand Down
1 change: 1 addition & 0 deletions boards/beaglebone/blue/native.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ px4_add_board(
mc_pos_control
navigator
battery_status
rc_update
sensors
sih
vmount
Expand Down
1 change: 1 addition & 0 deletions boards/bitcraze/crazyflie/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ px4_add_board(
mc_att_control
mc_pos_control
navigator
rc_update
sensors
sih
#vtol_att_control
Expand Down
1 change: 1 addition & 0 deletions boards/emlid/navio2/cross.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ px4_add_board(
mc_pos_control
navigator
battery_status
rc_update
sensors
sih
#simulator
Expand Down
1 change: 1 addition & 0 deletions boards/emlid/navio2/native.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ px4_add_board(
mc_pos_control
navigator
battery_status
rc_update
sensors
sih
#simulator
Expand Down
1 change: 1 addition & 0 deletions boards/holybro/kakutef7/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ px4_add_board(
mc_pos_control
navigator
battery_status
rc_update
sensors

SYSTEMCMDS
Expand Down
1 change: 1 addition & 0 deletions boards/intel/aerofc-v1/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ px4_add_board(
mc_pos_control
navigator
battery_status
rc_update
sensors
#sih
vmount
Expand Down
1 change: 1 addition & 0 deletions boards/intel/aerofc-v1/rtps.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ px4_add_board(
micrortps_bridge
navigator
battery_status
rc_update
sensors
sih
vmount
Expand Down
1 change: 1 addition & 0 deletions boards/modalai/fc-v1/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ px4_add_board(
mc_pos_control
navigator
rover_pos_control
rc_update
sensors
sih
vmount
Expand Down
1 change: 1 addition & 0 deletions boards/mro/ctrl-zero-f7/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ px4_add_board(
mc_pos_control
navigator
battery_status
rc_update
sensors
sih
vmount
Expand Down
1 change: 1 addition & 0 deletions boards/nxp/fmuk66-v3/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ px4_add_board(
mc_pos_control
navigator
battery_status
rc_update
sensors
sih
vmount
Expand Down
1 change: 1 addition & 0 deletions boards/omnibus/f4sd/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ px4_add_board(
mc_pos_control
navigator
battery_status
rc_update
sensors
sih
#vmount
Expand Down
1 change: 1 addition & 0 deletions boards/parrot/bebop/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ px4_add_board(
mc_att_control
mc_pos_control
navigator
rc_update
sensors
sih
#vtol_att_control
Expand Down
7 changes: 4 additions & 3 deletions boards/px4/fmu-v2/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,16 @@ px4_add_board(
#uavcan

MODULES
#airspeed_selector
#attitude_estimator_q
battery_status
camera_feedback
commander
dataman
ekf2
events
fw_att_control
fw_pos_control_l1
#rover_pos_control
land_detector
#landing_target_estimator
load_mon
Expand All @@ -80,11 +81,11 @@ px4_add_board(
mc_att_control
mc_pos_control
navigator
battery_status
rc_update
#rover_pos_control
sensors
vmount
vtol_att_control
#airspeed_selector

SYSTEMCMDS
bl_update
Expand Down
7 changes: 4 additions & 3 deletions boards/px4/fmu-v2/fixedwing.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ px4_add_board(
adc
#barometer # all available barometer drivers
barometer/ms5611
batt_smbus
#batt_smbus
camera_capture
camera_trigger
differential_pressure # all available differential pressure drivers
Expand All @@ -42,6 +42,8 @@ px4_add_board(
#uavcan

MODULES
airspeed_selector
battery_status
camera_feedback
commander
dataman
Expand All @@ -54,10 +56,9 @@ px4_add_board(
logger
mavlink
navigator
battery_status
rc_update
sensors
vmount
airspeed_selector

SYSTEMCMDS
bl_update
Expand Down
1 change: 1 addition & 0 deletions boards/px4/fmu-v2/lpe.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ px4_add_board(
mc_pos_control
navigator
battery_status
rc_update
sensors
vmount
#vtol_att_control
Expand Down
1 change: 1 addition & 0 deletions boards/px4/fmu-v2/multicopter.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ px4_add_board(
mc_pos_control
navigator
battery_status
rc_update
sensors
vmount

Expand Down
1 change: 1 addition & 0 deletions boards/px4/fmu-v2/rover.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ px4_add_board(
mavlink
navigator
battery_status
rc_update
sensors
vmount

Expand Down
1 change: 1 addition & 0 deletions boards/px4/fmu-v2/test.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ px4_add_board(
mc_pos_control
navigator
battery_status
rc_update
sensors
vmount
vtol_att_control
Expand Down
9 changes: 5 additions & 4 deletions boards/px4/fmu-v3/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ px4_add_board(
#heater
imu/adis16448
#imu # all available imu drivers
imu/icm20948
imu/l3gd20
imu/lsm303d
imu/mpu6000
imu/mpu9250
imu/icm20948
irlock
lights/blinkm
lights/rgbled
Expand All @@ -61,15 +61,16 @@ px4_add_board(
uavcan

MODULES
airspeed_selector
attitude_estimator_q
battery_status
camera_feedback
commander
dataman
ekf2
events
fw_att_control
fw_pos_control_l1
rover_pos_control
land_detector
landing_target_estimator
load_mon
Expand All @@ -79,12 +80,12 @@ px4_add_board(
mc_att_control
mc_pos_control
navigator
battery_status
rc_update
rover_pos_control
sensors
sih
vmount
vtol_att_control
airspeed_selector

SYSTEMCMDS
bl_update
Expand Down
1 change: 1 addition & 0 deletions boards/px4/fmu-v3/rtps.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ px4_add_board(
micrortps_bridge
navigator
battery_status
rc_update
sensors
sih
vmount
Expand Down
1 change: 1 addition & 0 deletions boards/px4/fmu-v3/stackcheck.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ px4_add_board(
mc_pos_control
navigator
battery_status
rc_update
sensors
sih
vmount
Expand Down
1 change: 1 addition & 0 deletions boards/px4/fmu-v4/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ px4_add_board(
mc_pos_control
navigator
rover_pos_control
rc_update
sensors
sih
vmount
Expand Down
1 change: 1 addition & 0 deletions boards/px4/fmu-v4/rtps.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ px4_add_board(
micrortps_bridge
navigator
battery_status
rc_update
sensors
sih
vmount
Expand Down
1 change: 1 addition & 0 deletions boards/px4/fmu-v4/stackcheck.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ px4_add_board(
mc_pos_control
navigator
battery_status
rc_update
sensors
sih
vmount
Expand Down
1 change: 1 addition & 0 deletions boards/px4/fmu-v4pro/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ px4_add_board(
mc_pos_control
navigator
battery_status
rc_update
sensors
sih
vmount
Expand Down
1 change: 1 addition & 0 deletions boards/px4/fmu-v4pro/rtps.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ px4_add_board(
micrortps_bridge
navigator
battery_status
rc_update
sensors
sih
vmount
Expand Down
1 change: 1 addition & 0 deletions boards/px4/fmu-v5/critmonitor.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ px4_add_board(
mc_pos_control
navigator
battery_status
rc_update
sensors
sih
vmount
Expand Down
Loading

0 comments on commit a5d2464

Please sign in to comment.