40 Commits

Author SHA1 Message Date
Daniel Agar
cf74166801 double promotion warning fix or ignore per module 2018-07-01 09:36:55 +00:00
Philipp Oettershagen
753ad0e0df Fixed-wing autoland: Fix bug that could cause a steep pitch increase and thus aircraft stall during the flare (#9674) 2018-06-14 11:29:03 -04:00
Daniel Agar
0e823c82b6
FW landing check if prev valid before using (#9284) 2018-04-21 12:03:46 -04:00
Daniel Agar
d75fd72c02 stop manually defining physical constants 2018-04-19 07:24:58 +02:00
Roman
0f1c9504d5 FixedWingPositionControl: rotate attitude consistenly for tailsitters
Signed-off-by: Roman <bapstroman@gmail.com>
2018-04-18 16:20:15 +02:00
Daniel Agar
a78ab02144 fw_pos_control_l1 don't store TECS and L1 parameters 2018-04-12 00:46:49 -04:00
Beat Küng
b512d11e54 refactor fw_pos_control_l1: replace BlockParam* with Param* classes
Also change naming convention: add _ prefix to class attributes
2018-03-22 08:19:08 +01:00
sanderux
d87b7ac7f4 Fix scale application on FW throttle baro compensation 2018-03-20 00:13:36 +01:00
Daniel Agar
b6b7fddb9f
TECS and L1 switch to matrix math library (#9101) 2018-03-19 18:09:54 -04:00
Daniel Agar
7607c71ca8 fw_pos_control_l1 project virtual waypoint to handle landing overshoot 2018-03-14 16:39:19 -04:00
Daniel Agar
d1dca4e74c fw_pos_ctrl_l1 move takeoff to control_takeoff() 2018-03-14 16:39:19 -04:00
Daniel Agar
c72340e039 fw_pos_ctrl_l1 move landing to control_landing() 2018-03-14 16:39:19 -04:00
Beat Küng
8a5cdac1f4 FixedwingPositionControl: fix ordering of PRINT_MODULE_USAGE_NAME 2018-03-13 17:35:15 +01:00
ToppingXu
e340f6fd7a FixedwingPositionControl: fix air_gnd_angle judgement condition.
air_gnd_angle is from acos(), and never return a value that bigger than
M_PI_F
2018-03-02 21:57:11 +01:00
Roman
08534588cd fw_pos_control: get vtol parameter values if vehicle is vtol
Signed-off-by: Roman <bapstroman@gmail.com>
2018-03-01 12:16:27 -05:00
Daniel Agar
a1f660119c fw_pos_control_l1 consolidate message updates 2018-02-17 18:11:43 +01:00
Daniel Agar
458d8f7b02 fw_pos_control_l1 move to ModuleBase 2018-02-17 18:11:43 +01:00
Daniel Agar
8b63dbecde FW controllers initialize vtol_type to a non-valid value
- tailsitter is vtol type 0
2018-02-11 17:12:45 +01:00
Daniel Agar
370da89573
fw_pos_control fix parameter sanity check (#8521)
- the sanity check result wasn't being sent to the user and prevents landing slope, runway takeoff, and launch detector parameter updates.
2017-12-26 16:02:31 -05:00
Daniel Agar
fc7c8b4b89 vehicle_status delete engine_failure_cmd 2017-12-27 02:41:10 +08:00
Andreas Antener
4f5d70bbe5 Increase fixed-wing l1 navigation radius limit 2017-11-26 14:43:25 +01:00
sanderux
b305900cae Scale FW cruise throttle based on baro presure 2017-11-24 16:33:57 +01:00
Daniel Agar
b569a8c2b9
fw_pos_control_l1 increase stack by 110 Bytes (#8348) 2017-11-23 17:09:05 -05:00
Daniel Agar
4416c4ddb3 navigator move parameters out of MissionBlock
- MissionBlock is an interface with > 10 implementations
2017-10-26 22:43:53 +02:00
Paul Riseborough
3fc7aba178 TECS: Use version in ECL library
This change updates a number of interfaces to use the new TECS implementation from the ECL library.
2017-10-22 21:56:06 +02:00
Daniel Agar
aa2566970e FW landing abort remove message comma (read as a pause) 2017-10-06 20:11:19 +02:00
Daniel Agar
b4755297ec delete control_state and cleanup vehicle_attitude (#7882) 2017-09-21 16:24:53 -04:00
Daniel Agar
9cd915949a FW raise min airspeed based on commanded bank (#7575) 2017-09-19 11:06:40 -04:00
Daniel Agar
545ce9ae24 modules remove extra semicolons 2017-09-16 21:29:52 +01:00
CAI Dongcai
63306ada92 FW attitude and position control minor code cleanup (#7802)
- change a little bit to make the code more readable
2017-08-16 10:51:41 -04:00
Lorenz Meier
727bb4886d Fixed wing: Use default scheduling priorities 2017-08-02 21:18:35 +02:00
Daniel Agar
9fb5c4f0e9 navigator land abort use reposition (#7574) 2017-08-01 18:59:12 -04:00
Daniel Agar
efafc17b0c FW position don't poll parameter_update 2017-07-29 09:15:52 +02:00
Daniel Agar
ddc4500753 FW landing optionally disable heading hold (#7617) 2017-07-28 20:28:54 -04:00
Daniel Agar
35864841ba FixedwingPositionControl remove engine failure thrust sp
- this is already done in fw_att_control
2017-06-08 22:04:30 -04:00
Daniel Agar
9511dfa577 FixedwingPositionControl combine TECS resets 2017-06-08 22:04:30 -04:00
Daniel Agar
0e8b0fe013 FixedwingPositionControl clang tidy fixes 2017-06-08 22:04:30 -04:00
Daniel Agar
376fdd4206 FixedwingPositionControl unnecessary struct 2017-06-08 22:04:30 -04:00
Daniel Agar
3313ade291 FixedwingPositionControl update copyright and control_task 2017-06-08 22:04:30 -04:00
Daniel Agar
23dd2e537b fw_pos_control_l1 rename to match class 2017-06-08 22:04:30 -04:00