Commit Graph
447 Commits
Author SHA1 Message Date
Daniel Agar 377726a9a7 sitl gazebo plane fix land detector startup order (#4932) 2016-06-30 13:56:06 +02:00
sander 3002852bfa Allow throttle updates below 10% 2016-06-23 09:08:35 +02:00
sander 9d59ba125d remove debug info 2016-06-23 09:08:35 +02:00
sander 37531c018a Implement MAV_CMD_DO_CHANGE_SPEED throttle 2016-06-23 09:08:35 +02:00
Roman Bapst 37108870e1 fw_pos_control_l1: added roll setpoint for logging (#4869)
in altitude control mode for fixed wings the roll setpoint was not
logged because the position controller publishes the attitude setpoint
but the desired roll setpoint is calculated in the attitude control
module. Now the position controller calculates the roll setpoint as well
for the sake of logging.

Signed-off-by: tumbili <roman@px4.io>
2016-06-22 15:19:11 +02:00
Daniel Agar 924fb49bf5 fw_pos_control_l1 shorten task name
-limited to 16 chars
2016-06-22 13:51:39 +02:00
Daniel Agar bada390dde fw_pos_control_l1 fix FW_LND_FLALT usage (#4835)
-fixes #4745
2016-06-16 21:02:28 +02:00
Lorenz Meier 45cc79fbf7 VTOL and fixed wing: Move parameters that belong to the navigator into its parameter definition space 2016-05-21 10:51:38 +02:00
Daniel Agar d6cf441bac mTecs_params.c param metadata 2016-05-13 21:03:39 -04:00
Daniel Agar a54a51a9d5 fw_pos_control_l1_params.c param metadata 2016-05-13 21:03:39 -04:00
Daniel Agar eae726e345 FW add mavlink NAV_CONTROLLER_OUTPUT 2016-05-13 12:56:04 +02:00
Daniel Agar fc636b61b0 fw_pos_control_l1_params.c param metadata 2016-05-11 12:29:51 -04:00
Lorenz Meier 7dbef87ca0 FW pos control: Reduce excessive stack ssize 2016-05-05 20:11:00 +02:00
Lorenz Meier d55feb2e0e Disable mTECS, but retain code for now (#4407)
* Disable mTECS, but retain code for now

* astyle fw_pos_control_l1

* fw_pos remove pitch_max_special only used by mtecs

* move FW_T_CLMB_MAX to FW TECS param group

* fw_pos initialize tecs_status_s
2016-05-01 13:47:41 +02:00
Lorenz Meier 9b71379ea6 FW pos control: Show normalized units properly 2016-04-25 09:35:41 +02:00
James Goppert 967e4dd127 Modified cmake to use STACK_MAX and STACK_MAIN 2016-04-14 13:36:36 -04:00
Julian Oes 03a0788207 fw_pos_control_l1: fix for vehicle status refactor 2016-04-11 18:01:49 +02: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 70a68def83 params correct boolean tag 2016-03-25 20:25:17 -04:00
Daniel Agar b26f90406b group l1 control and tecs as FW 2016-03-25 17:04:59 -04:00
Julian Oes bba0d0384d drivers/modules: changes after mavlink_log change
The mavlink_log API changes lead to changes in all drivers/modules using
it.
2016-03-24 13:10:02 +01:00
Daniel Agar 371f189cd5 mtecs fix comment formatting 2016-03-14 09:12:34 +01:00
Daniel Agar c5645dfdf8 fw_pos_control_l1 fix @unit 2016-03-14 09:12:34 +01:00
Daniel Agar 7a9427bc34 param remove empty @unit 2016-03-14 09:12:34 +01:00
Daniel Agar 7c5ba19fe2 fw_pos_control_l1 param @unit 2016-03-14 09:10:29 +01:00
Daniel Agar fa66055a92 mTecs param @unit 2016-03-14 09:10:29 +01:00
Lorenz Meier 7871ab0fae Fixed wing: support do change speed 2016-03-13 18:08:25 +01:00
Daniel Agar 6bb3d5f47b fw_pos_control only use const position_setpoint_triplet within control_position() 2016-03-03 10:15:40 +01:00
Daniel Agar 0cbb2c7f23 FW ALTCTL/POSCTL remove 0 throttle threshold when not landed 2016-03-03 10:14:19 +01:00
Daniel Agar d1e096abc7 more consistent naming for LND params 2016-03-03 10:13:40 +01:00
Daniel Agar 80f3fefcc3 FW adjust throttle to airspeed mapping for ALTCTL 2016-02-20 14:39:59 +01:00
Daniel Agar 4c8e9265c4 FW update position control param metadata 2016-02-20 14:37:19 +01:00
tumbili 228a54fd51 - fixed bad pitch setpoint in fw pos controller for tailsitter
- created enum for vtol types
- minor cleanup and fixes
2016-02-18 18:55:56 +01:00
Andreas Antener fe89bee02a using 0 pitch and thrust FW attitude SP when TECS isn't running 2016-02-18 18:55:56 +01:00
Andreas Antener 967b404de8 only run FW posctl in FW mode and ramp up desired airspeed for tecs after transition 2016-02-18 18:55:56 +01:00
Roman 1da686b125 TECS:
- do not run TECS for VTO which are in rotary wing mode
- reinitialise TECS the first time we start using it again
2016-02-18 18:55:56 +01:00
Lorenz Meier f10770a4a4 FW pos ctrl: Fix build error 2016-02-17 19:31:01 +01:00
Lorenz Meier e98cd6c746 FW pos control: Set idle throttle on ground in all modes 2016-02-17 19:31:01 +01:00
Andreas Antener b9b05dcc03 updated docs for FW_AIRSPD_SCALE param 2016-02-14 13:24:58 +01:00
Andreas Antener 2ff9fd64b1 increased stack sizes for mc and fw pos ctl 2016-02-11 16:53:35 +01:00
Lorenz Meier 32d9bae44d Pos control FW: Update comment 2016-02-11 14:08:58 +01:00
Roman Bapst b26fc1f089 fix waypoint handling in position control 2016-01-14 18:30:30 +01:00
Lorenz Meier bc6b640ceb FW: Fix min / max values for L1 norm 2015-12-26 16:09:24 +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
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
Roman 120fd9d522 use control state topic for attitude and airspeed 2015-11-17 22:28:09 +01:00
Andreas Antener d97ead81aa set talt timeout to 10sec 2015-11-17 22:28:09 +01:00
Andreas Antener 5b1c7321e7 reverted navigation on landing back to old heading hold 2015-11-17 22:28:09 +01:00