Commit Graph
317 Commits
Author SHA1 Message Date
Lorenz Meier e84d97b387 Only update TECS filter if auto is enabled. This forces the internal TECS logic to reset between auto runs 2015-07-22 22:40:26 +02:00
Lorenz Meier fd63ba7b89 FW pos control: Widen acceptance range for yaw rate to re-engage heading hold 2015-07-06 01:43:00 +02:00
Lorenz Meier 3671ce716a Set better defaults for fixed wing position controllers 2015-07-04 11:39:31 +02:00
tumbili dcb680f9d6 VTOL: only publish attitude setpoint if in correct mode 2015-06-25 22:08:52 +02:00
tumbili 5cf20c8dcf increase fw idle for ATTCTL and POSCTL to 0.2 2015-06-23 12:57:39 +02:00
Lorenz Meier f680bbed54 FW pos control: Rename _ground_alt to _takeoff_ground_alt to make it less ambigious with the actual terrain altitude 2015-06-23 12:57:39 +02:00
Lorenz Meier f4845b2b8f FW pos control: Guard against altitude estimate change 2015-06-23 12:57:39 +02:00
tumbili 5d92927991 make motors spin in POSCTRL and ATTCTRL when landed and throttle applied by user 2015-06-23 12:57:39 +02:00
Roman 0446efa9a4 limit roll angle in loiter and position control mode if we are in a takeoff situation 2015-06-17 17:46:37 +02:00
Roman 6ce106eea4 limit minimum pitch in altitude controller modes if in a takeoff situation 2015-06-17 17:36:26 +02:00
tumbili 5c59d7a434 do not run tecs if we are on ground to prevent integrator filling 2015-06-16 23:05:58 +02:00
tumbili c91bb76b42 ask for climbout mode when doin takeoff help 2015-06-16 23:05:58 +02:00
Lorenz Meier 44441ab501 FW pos control: Perform climbout if user requests more than 85% pitch up 2015-06-14 14:05:17 +02:00
Lorenz Meier 6c0539c243 FW position controller: Do handle idle mission items correctly 2015-06-12 15:55:55 +02:00
Lorenz Meier 696e1fc9e2 Merge pull request #2300 from tumbili/heading_hold
fixed wing posctrl
2015-06-08 17:21:31 +02:00
Lorenz Meier 1fb7434128 Navigation capabilites: Ensure regular publication of updated topic 2015-06-08 16:48:50 +02:00
Lorenz Meier c7be59038c L1 pos control: Publish timestamp when setting nav capabilities 2015-06-08 16:48:49 +02:00
tumbili d40f94bf26 fixed wing posctrl:
- lock desired yaw once yaw speed is small
2015-06-08 09:38:49 +02:00
Roman ef6e07fc9b fixed wing position control:
- only lock on yaw if yawrate is below threshold
- remove more magic numbers
2015-06-05 22:45:07 +02:00
Mark Whitehorn 1f3c5d00e4 fix posctl heading hold 2015-06-05 22:45:07 +02:00
tumbili e5e4db1923 POSCTRL:
- make sure we always intialize the waypoints
  on the desired path and that the previous waypoint is
  behind the plane
- replace magic numbers with defines
2015-06-05 22:45:07 +02:00
Lorenz Meier 46d969772c Fixed wing heading hold: Engage only after wings got close to level already 2015-06-05 22:45:07 +02:00
Lorenz Meier c99489ee9d FW pos control: Implement hardcore throttle limiting in manual interaction mode 2015-06-05 22:45:06 +02:00
Lorenz Meier ad9b875aea Pos control: Update symbol name 2015-06-05 22:45:06 +02:00
Roman 032484bd31 added takeoff protection in altitude controlled modes, code duplication cleanup 2015-06-05 22:45:06 +02:00
Roman 629002738b define new mode for altitude 2015-06-05 22:45:06 +02:00
tumbili 8b6593495c reset waypoints when switching to fw pos_ctrl mode 2015-06-05 22:45:05 +02:00
Lorenz Meier 5197be67a7 FW control: Add skeleton for distinct altitude control and position control flight modes
Conflicts:
	src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp
2015-06-05 22:45:05 +02:00
Lorenz Meier 17adf552ef TECS: Update logging struct 2015-05-27 15:21:34 -07:00
Daniel Agar 2e824bbeea fix incorrect argc < 1 check for no arguments
-requiring arguments should be argc < 2
2015-04-18 12:02:58 +02:00
Don Gagne 3dc8cf8769 Clean up parameter meta data as needed by QGC 2015-04-14 23:26:14 -07:00
Daniel Agar 8aae66b893 trivial code style cleanup round 2 2015-03-27 23:38:58 -04:00
Lorenz Meier 110930dc0e FW pos control: Adjust stack size to real use 2015-03-08 08:14:15 +01:00
Thomas Gubler 2d124852c1 propagate uorb contants change through all modules/drivers 2015-01-28 16:31:41 +01:00
Thomas Gubler f4e0dc2857 Merge remote-tracking branch 'upstream/master' into dev_ros
Conflicts:
	.gitmodules
2014-12-29 08:00:12 +01:00
Thomas Gubler 25af4b266c Merge remote-tracking branch 'upstream/master' into dev_ros
Conflicts:
	.gitignore
	src/lib/uavcan
2014-12-25 09:48:15 +01:00
Daniel Agar d511e39ea7 turn on -Werror and fix resulting errors 2014-12-22 17:56:59 -05:00
Thomas Gubler 19d5383c56 Merge pull request #1493 from PX4/fwposcontrolmode
Fw pos control: small mode cleanup
2014-12-19 11:04:56 +01:00
Thomas Gubler 16618f1ada Merge remote-tracking branch 'upstream/master' into dev_ros
Conflicts:
	src/examples/subscriber/subscriber_params.c
	src/modules/mc_att_control/mc_att_control_main.cpp
	src/modules/uORB/topics/vehicle_attitude.h
	src/modules/uORB/topics/vehicle_attitude_setpoint.h
	src/platforms/px4_middleware.h
2014-12-18 12:11:05 +01:00
Thomas Gubler 8fdd694f12 fw pos ctl: compile with -Os 2014-12-17 21:13:50 +01:00
Thomas Gubler 262b9fc754 fw pos ctl: make loop performance counter more meaningful 2014-12-17 21:13:13 +01:00
Thomas Gubler 851415e48e Merge commit 'aa40c69853be0dc7e79bc3084472b77f9667c1f1' into dev_ros_mcatt
Conflicts:
	makefiles/config_px4fmu-v2_test.mk
2014-12-16 10:23:41 +01:00
Thomas Gubler 6f89514beb fix comment style and type 2014-12-13 17:20:53 +01:00
Thomas Gubler d0325f2b12 fw pos ctrl: takeoff special case only in takeoff 2014-12-13 17:20:42 +01:00
Thomas Gubler 5cd2ee8342 fw pos control: improve mode logic slightly 2014-12-13 12:36:33 +01:00
Thomas Gubler 59ec2401b6 fw pos control: better check for control mode 2014-12-13 00:48:27 +01:00
Thomas Gubler b93fcca433 vehicle cotnrol mode as msg 2014-12-08 12:34:57 +01:00
Thomas Gubler 05a87a706a move px4_defines file 2014-12-02 16:17:17 +01:00
Thomas Gubler e28e8c11bb make default apps compatible with autogenerated attitude and rc_channels message 2014-12-02 12:19:24 +01:00
Friedemann Ludwig 6efc63d709 fixed somereview comments 2014-11-30 20:51:01 +01:00