Skip to content

Commit

Permalink
create mc_rate_control (split out of mc_att_control)
Browse files Browse the repository at this point in the history
  • Loading branch information
dagar committed Oct 25, 2019
1 parent 9e309f6 commit 01670db
Show file tree
Hide file tree
Showing 80 changed files with 1,228 additions and 771 deletions.
5 changes: 5 additions & 0 deletions ROMFS/px4fmu_common/init.d/rc.mc_apps
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ fi
# End Estimator Group Selection #
###############################################################################

#
# Start Multicopter Rate Controller.
#
mc_rate_control start

#
# Start Multicopter Attitude Controller.
#
Expand Down
1 change: 1 addition & 0 deletions ROMFS/px4fmu_common/init.d/rc.vtol_apps
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ ekf2 start


vtol_att_control start
mc_rate_control start
mc_att_control start
mc_pos_control start
fw_att_control start
Expand Down
2 changes: 1 addition & 1 deletion Tools/uorb_graph/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def __init__(self, module_whitelist=[], topic_blacklist=[]):

('mc_pos_control', r'mc_pos_control_main\.cpp$', r'\b_attitude_setpoint_id=([^,)]+)', r'^_attitude_setpoint_id$'),

('mc_att_control', r'mc_att_control_main\.cpp$', r'\b_actuators_id=([^,)]+)', r'^_actuators_id$'),
('mc_rate_control', r'MulticopterRateControl\.cpp$', r'\b_actuators_id=([^,)]+)', r'^_actuators_id$'),
('mc_att_control', r'mc_att_control_main\.cpp$', r'\_attitude_sp_id=([^,)]+)', r'^_attitude_sp_id$'),

('fw_att_control', r'FixedwingAttitudeControl\.cpp$', r'\b_actuators_id=([^,)]+)', r'^_actuators_id$'),
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 @@ -45,6 +45,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
battery_status
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 @@ -63,6 +63,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
battery_status
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 @@ -80,6 +80,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
sensors
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 @@ -71,6 +71,7 @@ px4_add_board(
landing_target_estimator
local_position_estimator
mc_att_control
mc_rate_control
mc_pos_control
sensors
#sih
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 @@ -80,6 +80,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
sensors
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 @@ -71,6 +71,7 @@ px4_add_board(
landing_target_estimator
local_position_estimator
mc_att_control
mc_rate_control
mc_pos_control
sensors
sih
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 @@ -68,6 +68,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
battery_status
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 @@ -69,6 +69,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
battery_status
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 @@ -44,6 +44,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
battery_status
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 @@ -42,6 +42,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
battery_status
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 @@ -32,6 +32,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
sensors
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 @@ -48,6 +48,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
battery_status
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 @@ -46,6 +46,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
battery_status
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 @@ -42,6 +42,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
battery_status
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 @@ -48,6 +48,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
battery_status
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 @@ -51,6 +51,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
micrortps_bridge
navigator
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 @@ -71,6 +71,7 @@ px4_add_board(
mavlink
mc_att_control
mc_pos_control
mc_rate_control
navigator
rover_pos_control
sensors
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 @@ -72,6 +72,7 @@ px4_add_board(
mavlink
mc_att_control
mc_pos_control
mc_rate_control
navigator
battery_status
sensors
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 @@ -67,6 +67,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
battery_status
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 @@ -59,6 +59,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
battery_status
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 @@ -36,6 +36,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
sensors
Expand Down
1 change: 1 addition & 0 deletions boards/px4/fmu-v2/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
battery_status
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 @@ -74,6 +74,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
battery_status
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 @@ -52,6 +52,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
battery_status
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 @@ -74,6 +74,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
battery_status
Expand Down
1 change: 1 addition & 0 deletions boards/px4/fmu-v3/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
battery_status
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 @@ -75,6 +75,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
micrortps_bridge
navigator
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 @@ -75,6 +75,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
battery_status
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 @@ -64,6 +64,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
rover_pos_control
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 @@ -64,6 +64,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
micrortps_bridge
navigator
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 @@ -62,6 +62,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
battery_status
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 @@ -74,6 +74,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
battery_status
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 @@ -73,6 +73,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
micrortps_bridge
navigator
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 @@ -75,6 +75,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
battery_status
Expand Down
1 change: 1 addition & 0 deletions boards/px4/fmu-v5/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
battery_status
Expand Down
1 change: 1 addition & 0 deletions boards/px4/fmu-v5/irqmonitor.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
battery_status
Expand Down
1 change: 1 addition & 0 deletions boards/px4/fmu-v5/multicopter.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
battery_status
Expand Down
1 change: 1 addition & 0 deletions boards/px4/fmu-v5/rtps.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
micrortps_bridge
navigator
Expand Down
2 changes: 2 additions & 0 deletions boards/px4/fmu-v5/stackcheck.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ px4_add_board(
mkblctrl
optical_flow # all available optical flow drivers
#pca9685
#power_monitor/ina226
#protocol_splitter
pwm_input
pwm_out_sim
Expand Down Expand Up @@ -73,6 +74,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
#micrortps_bridge
navigator
Expand Down
1 change: 1 addition & 0 deletions boards/px4/fmu-v5x/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
rover_pos_control
Expand Down
1 change: 1 addition & 0 deletions boards/px4/raspberrypi/cross.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
battery_status
Expand Down
1 change: 1 addition & 0 deletions boards/px4/raspberrypi/native.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
battery_status
Expand Down
1 change: 1 addition & 0 deletions boards/px4/sitl/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
replay
Expand Down
1 change: 1 addition & 0 deletions boards/px4/sitl/rtps.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
micrortps_bridge
navigator
Expand Down
1 change: 1 addition & 0 deletions boards/px4/sitl/test.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ px4_add_board(
logger
mavlink
mc_att_control
mc_rate_control
mc_pos_control
navigator
replay
Expand Down
Loading

0 comments on commit 01670db

Please sign in to comment.