Commit Graph

17979 Commits

Author SHA1 Message Date
Robert Lefebvre
88be4425ac AP_MotorsHeli: Create RSC Throttle Curve mode for controlling gas engines. 2015-10-10 15:12:03 +09:00
Robert Lefebvre
b1c7ec9aac AP_MotorsHeli: run RSC Control function in Output Min function
Move Output_Min() function into Heli_Single class as it will eventually be overloaded by other helicopter class types.
2015-10-10 15:12:00 +09:00
Robert Lefebvre
6cfdce1280 Copter: Helicopters to use motor interlock logic.
Also, remove motor interlock pre-arm check to streamline logic.
2015-10-10 15:11:57 +09:00
Robert Lefebvre
cf3c62a743 Copter: Change name of rotor speed function to match that in library 2015-10-10 15:11:54 +09:00
Robert Lefebvre
19536c1c11 AP_MotorsHeli: RSC controller to use speed ramp as simple float scalar 2015-10-10 15:11:51 +09:00
Robert Lefebvre
904fa7f8b9 AP_MotorsHeli: Set range of new RSC Servo object. 2015-10-10 15:11:49 +09:00
Robert Lefebvre
a0fd75c76a Copter: Create new heli RSC RC Channel object. 2015-10-10 15:11:47 +09:00
Robert Lefebvre
e3df0ec7fb AP_MotorsHeli: RSC Mode 0 no longer a valid mode 2015-10-10 15:11:44 +09:00
Robert Lefebvre
f4ddedbffc AP_MotorsHeli: Add more parameter checks 2015-10-10 15:11:42 +09:00
Robert Lefebvre
fa24107a2a AP_MotorsHeli_RSC: Split out rotor speed estimate into it's own function 2015-10-10 15:11:40 +09:00
Robert Lefebvre
9e8f5a42f4 AP_MotorsHeli: Colyaw function to check if rotor speed control is above idle 2015-10-10 15:11:37 +09:00
Robert Lefebvre
d788f0307d AP_MotorsHeli: rework RSC output() function to implement idle speed function
Also, split out speed_ramp function
2015-10-10 15:11:35 +09:00
Robert Lefebvre
b879b312e9 AP_MotorsHeli_Single: Fix recalc_scalars function 2015-10-10 15:11:32 +09:00
Robert Lefebvre
24244ba576 AP_MotorsHeli: Create RSC_IDLE param 2015-10-10 15:11:30 +09:00
Robert Lefebvre
718397c772 AP_MotorsHeli: Change RSC output() function into a state machine. 2015-10-10 15:11:27 +09:00
Robert Lefebvre
bf0fd3b3f2 AP_MotorsHeli: Fully detail tradheli output functions and move manual servo handling 2015-10-10 15:11:25 +09:00
Robert Lefebvre
ec400e06d8 AP_MotorsHeli: Rename tradheli servo objects for clarity 2015-10-10 15:11:22 +09:00
Robert Lefebvre
6a7996d367 AP_MotorsHeli: Update includes so that it builds 2015-10-10 15:11:19 +09:00
Fredrik Hedberg
d1fbf739c0 AP_Motors: Fix param indices in AP_MotorsHeli. 2015-10-10 15:11:16 +09:00
Fredrik Hedberg
260d018db9 AP_Motors: Rename output_yaw to move_yaw in AP_MotorsHeli_Single. 2015-10-10 15:11:13 +09:00
Fredrik Hedberg
7ac02922e9 AP_Motors: Fix formatting in AP_MotorsHeli_RSC. 2015-10-10 15:11:10 +09:00
Fredrik Hedberg
fae1dcc42b AP_Motors: Fix param range comment in AP_MotorsHeli. 2015-10-10 15:11:08 +09:00
Fredrik Hedberg
708e2b402e Copter: Use AP_MotorsHeli_Single for HELI_FRAME. 2015-10-10 15:11:05 +09:00
Fredrik Hedberg
cde94078b7 AP_Motors: Move traditional helicopter controls into AP_MotorsHeli_Single.
Original commit by fhedberg, had to fix merge conflicts and now it appears I did the commit?
2015-10-10 15:11:03 +09:00
Fredrik Hedberg
af1eee44ee AP_Motors: Break out yaw output in AP_MotorsHeli. 2015-10-10 15:11:00 +09:00
Fredrik Hedberg
ded265dbe1 AP_Motors: Break out servo init and reset in AP_MotorsHeli. 2015-10-10 15:10:57 +09:00
Fredrik Hedberg
54452e2a74 AP_Motors: Move rotor speed control into AP_MotorsHeli_RSC. 2015-10-10 15:10:53 +09:00
Fredrik Hedberg
e360b21b2a AP_Motors: Use C++11 initializers in AP_MotorsHeli. 2015-10-10 15:10:50 +09:00
Randy Mackay
340970fc95 Copter: version to 3.3 2015-09-29 08:46:53 +09:00
Randy Mackay
4d62d1215f Copter: 3.3 release notes 2015-09-29 08:46:42 +09:00
Randy Mackay
d1782e0b80 Copter: version to 3.3-rc12 2015-09-22 15:12:11 +09:00
Randy Mackay
dc37417279 Copter: 3.3-rc12 release notes 2015-09-22 15:12:10 +09:00
Randy Mackay
76da561970 Copter: replace vehicle compass consistency check 2015-09-16 15:16:10 +09:00
Paul Riseborough
5aa6dc5a01 AP_NavEKF: Ensure bad mag data cannot cause the heading to reset too often 2015-09-16 15:16:09 +09:00
Paul Riseborough
efce10b6cd AP_NavEKF: Reset mag and heading states to try and pass pre-flight checks 2015-09-16 15:16:08 +09:00
Randy Mackay
72ab60a19e AP_Compass: fix consistent check for less than three compasses
Also use vector functions where available
2015-09-16 15:15:18 +09:00
Jonathan Challinger
2f4f76d17a AP_Compass: add consistent() function 2015-09-16 15:14:53 +09:00
Randy Mackay
a0906188b3 Math: add Vector2 is_zero method 2015-09-16 15:14:47 +09:00
Andrew Tridgell
08e1a66772 APM_OBC: added severities to send_statustext_all 2015-09-10 15:09:54 +09:00
Randy Mackay
ef2d980520 Copter: version to 3.3-rc11 2015-09-10 14:51:52 +09:00
Randy Mackay
7ce58b1b4e Copter: 3.3-rc11 release notes 2015-09-10 14:51:50 +09:00
Andrew Tridgell
33248b00d4 AP_NavEKF: only call calcGpsGoodToAlign if we need to
avoid calling it once we have an origin. This avoids some calculations
and string operations
2015-09-10 14:51:47 +09:00
Andrew Tridgell
7ca88a26da Copter: use prearm_failure_reason() 2015-09-10 14:51:43 +09:00
Andrew Tridgell
c4d561a4eb AP_NavEKF: added prearm_failure_reason() 2015-09-10 14:51:25 +09:00
Andrew Tridgell
c93006dc15 AP_AHRS: added prearm_failure_reason() 2015-09-10 14:51:22 +09:00
Andrew Tridgell
c268cea08f GCS_MAVLink: added severity to send_statustext_all() 2015-09-10 14:51:19 +09:00
Andrew Tridgell
55e6008e38 GCS_MAVLink: make send_statustext_all() take a format string
this allows for formatted messages to all groundstations in libraries
2015-09-10 14:51:13 +09:00
Randy Mackay
f21fd6d61e Copter: Release notes for AC3.3-rc10 2015-08-28 12:04:43 +09:00
Randy Mackay
bec4e43630 Copter: version to 3.3-rc10 2015-08-28 12:04:41 +09:00
Randy Mackay
a1ac2bff56 Copter: fix optflow position_ok check
We should accept predicted relative horizontal position only when disarmed
2015-08-28 12:04:38 +09:00