Commit Graph
225 Commits
Author SHA1 Message Date
Beat Küng 241fd629ce ERROR macro: get rid of the many 'oddly, ERROR is not defined for c++', use PX4_ERROR 2016-09-30 13:50:51 +02:00
Julian Oes 8ff237c69f Remove size optimization for individual modules
It makes more sense to set the optimization flags on a platform basis
instead of individually for each module. This allows for different
optimization options for SITL, NuttX, Snapdragon, etc.
2016-09-30 08:11:51 +02:00
Beat Küng 670697b0ac fw_att_control_main: fix implicit float to double conversion issue
GCC 6.1.1 output:
../src/modules/fw_att_control/fw_att_control_main.cpp:884:41: error:
implicit conversion from ‘float’ to ‘double’ to match other operand of
binary expression [-Werror=double-promotion]
2016-09-13 11:43:22 +02:00
Andreas Antener 3163cf90c9 FW: simplified flap/flaperon logic and always move them at the same rate (don't jump) 2016-09-07 19:29:32 +02:00
Andreas Antener 2dd29ec4a1 VTOL: publish stabilized FW attitude to correct topic 2016-08-06 20:43:49 +02:00
Roman aea7bd5b47 fw_attitude_control: calculate attitude setpoint for STAB mode
- attitude setpoint generation for stabilized mode was shifted back
to the fw attitude controller. since the fw position controller is polling
on global position attitude setpoints were not generated when global
position was not published.

Signed-off-by: Roman <bapstroman@gmail.com>
2016-07-25 08:56:19 +02:00
Andreas Antener 0a997577f5 allow manual yaw in all manual modes and also use it as threshold to snap into heading lock 2016-07-25 08:56:19 +02:00
tumbili fd51bf44d5 fw position / fw attitude control: move attitude setpoint generation to
position controller

- attitude setpoints for all modes are now computed in the fw position
controller

Signed-off-by: tumbili <roman@px4.io>
2016-07-25 08:56:18 +02:00
tumbili f0dd5a103c allow scaling controls in full manual mode for fixed wings 2016-07-13 09:29:12 +02:00
tumbili 784883af22 added parameters to allow scaling controls in full manual mode
for fixed wings
2016-07-13 09:29:12 +02:00
tumbili 099becb353 added parameter for airspeed mode selection
this will enable small planes flying without an
airspeed sensor
2016-06-23 09:08:34 +02:00
Daniel Agar 1ecdb0f6fb adjust stack sizes 2016-05-19 21:49:34 +02:00
Daniel Agar 76387b1693 uorb autogeneration 2016-05-14 11:27:07 +02:00
Daniel Agar b471d94069 fw_att_control_params.c param metadata 2016-05-11 12:29:49 -04:00
Lorenz Meier 901461f301 FW att ctrl: Reduce perf counters 2016-05-05 20:08:54 +02:00
Daniel Agar 41c1e56075 FW stabalized mode properly initialize att_sp 2016-04-23 15:50:43 +02:00
James Goppert 967e4dd127 Modified cmake to use STACK_MAX and STACK_MAIN 2016-04-14 13:36:36 -04:00
Julian Oes 1f44fb1efd commander: internalize system status bools
Most condition bools in the commander are not used anywhere but in the
commander. It therefore makes sense to move them to a different internal
struct and remove them from the vehicle_status message.

Also, the land_detected should be used by all the modules instead of
getting it through the commander and system_status.
2016-04-11 18:01:47 +02:00
Daniel Agar 6888545037 remove @unit enum 2016-03-25 20:33:25 -04:00
Daniel Agar ff9b8118ab fw_att_control add units 2016-03-25 17:24:48 -04:00
Daniel Agar 7a9427bc34 param remove empty @unit 2016-03-14 09:12:34 +01:00
Daniel Agar 344555e086 fw_att_control param @unit 2016-03-14 09:10:29 +01:00
Lorenz Meier 32d062836e Moved ECL into its own submodule 2015-12-23 06:23:15 +01:00
Roman 4df4d2ff93 code style 2015-12-11 09:49:04 +01:00
Roman 27e1aaeea5 control state: indicate if airspeed is not valid 2015-12-11 09:49:04 +01:00
Daniel Agar 18cd49292e split FW_ATT_TC into FW_R_TC and FW_P_TC 2015-12-08 20:43:31 +01:00
Lorenz Meier f0a4979da6 Merged master into driver_framework 2015-12-01 12:34:02 +01:00
tumbili d1dc8ed432 if vtol, publish virtual attitude setpoint
Conflicts:
	src/modules/mc_pos_control/mc_pos_control_main.cpp
2015-11-25 13:28:22 +01:00
Lorenz Meier 17653113d5 FW att control: Run all topics at full rate 2015-11-22 13:59:24 +01:00
tumbili 5f40094685 fixed bug which lead to direct yaw control in stabilized mode 2015-11-17 22:28:09 +01:00
Andreas Antener 4e22d65325 don't use virtual line anymore for takeoff but use correct starting point to navigate, updated default parameters for wheel controller 2015-11-17 22:28:09 +01:00
tumbili 1ae7221593 make flaps and flaperons continuous 2015-11-17 22:28:08 +01:00
tumbili b30091be00 minor fixes 2015-11-17 22:28:08 +01:00
tumbili 7fc97ed147 implemented use of flaps for auto landings 2015-11-17 22:28:08 +01:00
Andreas Antener b16e6249e4 more correct groundspeed scaling for wheel controller 2015-11-17 22:28:08 +01:00
Andreas Antener ff57c809b8 updated default wheel params after first test 2015-11-17 22:28:08 +01:00
Andreas Antener e987082292 split takeoff into 2 phases, reseting integrators when still on runway 2015-11-17 22:28:08 +01:00
Andreas Antener 234a200e60 renamed heading controller to wheel controller, added groundspeed dependency and separate parameters 2015-11-17 22:28:08 +01:00
Andreas Antener 6c31421889 extracted heading controller 2015-11-17 22:28:08 +01:00
Andreas Antener ea884b34f0 use and reset the new yaw control method 2015-11-17 22:28:07 +01:00
tumbili f43d50fbc9 implemented runway takeoff for fw 2015-11-17 22:28:07 +01:00
Youssef Demitri 069c6a82cb Merge branch 'master' of github.com:wingtra/Firmware into control_state 2015-10-16 15:50:29 +02:00
Lorenz Meier ee77ff4830 FW Att control: Avoid no symbols warnings 2015-10-14 22:36:01 +02:00
Youssef Demitri c22c678b7d Merge branch 'master' of github.com:PX4/Firmware into control_state 2015-10-14 11:02:23 +02:00
Youssef Demitri e72e72cd65 removed vehicle_attitude subscription from fw_att_control 2015-10-14 10:53:19 +02:00
Youssef Demitri 5092bcae70 fully ported control state attitude into fw_att_control 2015-10-14 09:57:41 +02:00
Lorenz Meier fb1af08234 FW att control: Remove excessive stack allocation 2015-10-10 22:23:35 +02:00
Youssef Demitri 8d756055b8 integrated control state in fw_att_control 2015-10-09 08:59:05 +02:00
Lorenz Meier fa5071b3c5 Remove module.mk files to prevent confusion of adopters upgrading 2015-10-06 11:23:20 +02:00
James Goppert 1d6b31d196 Switch to cmake build system. 2015-09-07 20:37:45 -04:00