Robert Lefebvre
957cb094ea
TradHeli: Remove unused RSC Mode 3.
2013-07-19 16:16:06 +09:00
Robert Lefebvre
b4863dc997
TradHeli: Change to throttle controller to allow swash plate collective to move, even if disarmed, if we are in Acro or Stab. This is slightly dangerous... as a user could cause a problem if they do not follow the proper usage procedures. If they do not route the ESC through the APM, but instead direct to Rx. And then if they do not Arm, they could take off in Stab mode while disarmed, but then when they switch to Alt_Hold, it will drop the collective to the bottom and they will fall. This can be saved by switching back to Stab. And it requires operation outside of the normal operating procedure.
...
This change is being made because most heli users expect to be able to check the swash plate operation before arming and taking off.
2013-07-19 16:16:04 +09:00
Robert Lefebvre
cea0812b82
TradHeli: Rate PID Improvement. Limit Integrator wind-up when PID output is saturated. Also a little bit of general clean-up for readability.
2013-07-19 16:16:01 +09:00
Randy Mackay
a8970ee509
Tools: add additional divide timing
2013-07-18 23:08:13 +09:00
Craig3DR
e25b8933f3
Copter: Remove CH7 & CH8 Enable / Disable of GeoFence
2013-07-18 17:06:53 +09:00
Andrew Tridgell
5f24788872
VARTest: fixed example build
2013-07-18 17:36:47 +10:00
Andrew Tridgell
c691e16139
HAL_AVR: fixed example build
2013-07-18 17:36:38 +10:00
Andrew Tridgell
0b27bb05d4
Copter: fixed FENCE and WPNAV parameter doc generation
2013-07-18 14:58:24 +10:00
Andrew Tridgell
608345415b
Plane: pass aircraft parameters to attitude controllers
...
also cope with rename of airspeed min/max variables
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
2013-07-18 14:53:37 +10:00
Andrew Tridgell
fbdf857634
VARTest: adapt for new airspeed parameter names
2013-07-18 14:53:31 +10:00
Andrew Tridgell
3e21d0594c
APM_Control: pass in aircraft parameters and expose coordinate rate offset
...
this will make it possible to do rate based pitch control without
having a coordinated turn, for in ACRO mode
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
2013-07-18 14:53:26 +10:00
Andrew Tridgell
fb0e48a25d
AP_TECS: adapt for new airspeed variable names
2013-07-18 14:53:23 +10:00
Andrew Tridgell
42d107b0d9
AP_SpdHgtControl: rename flybywire_airspeed to airspeed
...
this variable applies to any automatic throttle mode, not just FBW
modes.
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
2013-07-18 14:53:20 +10:00
Andrew Tridgell
5901b8b22a
APM_Control: allow for a wider range of P values for roll/pitch
...
values above 1.0 are sometimes needed
2013-07-18 09:05:17 +10:00
Randy Mackay
41ba4a1ed2
Copter: initialise ch7 and ch8 aux switches
...
This ensures that if you have simple mode or sonar attached to an
auxiliary switch it will be enabled or disabled according to the switch
immediately after start-up
2013-07-16 22:05:59 +09:00
Randy Mackay
d9824dc23e
AutoTest: rename and remove copter mission files
2013-07-16 21:41:06 +09:00
Randy Mackay
1dcc5886d0
Copter: ensure take-off alt is at least 1m
...
fixes issue #377
2013-07-16 15:51:18 +09:00
Randy Mackay
336357fbaf
Copter: ensure _spin_when_armed is not higher than _min_throttle
2013-07-16 15:25:57 +09:00
Randy Mackay
62f3eed4e0
Copter: fix to SPIN_ARMED parameter desciption
2013-07-16 12:59:38 +09:00
Randy Mackay
b709b90a59
Copter: implement safety spin for Tricopters
2013-07-16 12:48:01 +09:00
Randy Mackay
6477c746cd
Copter: renamed MOT_UNSAFE_THR to MOT_SPIN_ARMED
...
Removed special purpose spin_unsafe function
renamed _throttle_unsafe to _spin_when_armed and changed to an AP_Int8
2013-07-16 12:47:59 +09:00
Randy Mackay
e6412b6996
Copter: do not spin motors during arming process
2013-07-16 12:47:57 +09:00
Jonathan Challinger
9f51a4a4f7
Copter: Cancel arming if throttle input above cruise_throttle.
2013-07-16 12:47:55 +09:00
Jonathan Challinger
2725f219cb
Copter: Warn user with motors while copter is arming
2013-07-16 12:47:51 +09:00
Jonathan Challinger
ae2b1e3b7e
AP_Motors: Added MOT_UNSAFE_THR parameter - Throttle setting used to signal that the copter is armed or otherwise unsafe to approach
2013-07-16 12:47:49 +09:00
Andrew Tridgell
81bb4f26a1
autotest: update plane test with more modes
...
added tests for FBWB, STABILIZE, CRUISE, ACRO and CIRCLE
2013-07-16 13:23:48 +10:00
Andrew Tridgell
a4f49a28fb
Plane: prepare for 2.74b release
2013-07-16 09:45:32 +10:00
Andrew Tridgell
e27dd14bcc
Plane: fixed FBWB aileron control
2013-07-16 09:44:23 +10:00
Andrew Tridgell
2ee43a694c
APM_Control: fixed YAW2SRV_IMAX handling
...
thanks to Steven G for noticing this!
2013-07-16 09:44:23 +10:00
Randy Mackay
02b64e259d
Copter: bug fix for descent during loiter_turns
2013-07-15 20:44:56 +09:00
Andrew Tridgell
032cc513ca
DataFlash: fixed example build
2013-07-15 14:10:58 +10:00
Andrew Tridgell
206ed04e76
AP_Mount: fixed example build
2013-07-15 14:10:50 +10:00
Andrew Tridgell
47450a9b40
AP_InertialNav: fixed example build
2013-07-15 14:10:40 +10:00
Andrew Tridgell
98d6331387
AP_Airspeed: fixed example build
2013-07-15 14:10:27 +10:00
Andrew Tridgell
1bd6849d00
AP_AHRS: fixed example build
2013-07-15 14:10:17 +10:00
Andrew Tridgell
82152c058e
AC_WPNav: disabled broken example build
...
this test doesn't actually do anything yet
2013-07-15 14:09:48 +10:00
Andrew Tridgell
04835b095f
AC_Fence: fixed examples build
2013-07-15 14:09:18 +10:00
Andrew Tridgell
c7141c4851
AP_GPS: fixed examples build
2013-07-15 14:09:07 +10:00
Andrew Tridgell
2802814a66
autotest: cope with slower updating roll in MAVLink for plane
...
need less precision in horizontal roll test
2013-07-15 13:11:41 +10:00
Andrew Tridgell
e8355905dd
Plane: prepare for 2.74 release
2013-07-15 11:19:38 +10:00
Andrew Tridgell
dbd47b2a30
Plane: make TECS the default speed/height controller
2013-07-15 11:12:24 +10:00
Andrew Tridgell
a5ede20cb1
Rover: update to 2.43beta2
2013-07-15 10:31:52 +10:00
Andrew Tridgell
6e52a09e50
Rover: fixed HIL build
2013-07-15 10:30:10 +10:00
Andrew Tridgell
e96d0f745c
Rover: fixed dead-zone on throttle
2013-07-15 10:25:30 +10:00
Andrew Tridgell
8c7619a837
Rover: moved camera parameter indexes
...
this prevents a conflict with some old parameters
2013-07-15 10:25:04 +10:00
Andrew Tridgell
5b88334dbb
Rover: added full camera and mount support
2013-07-15 09:57:00 +10:00
Andrew Tridgell
9a159a5e23
Copter: make wp_distance static
...
removed hack with AP_Camera library
2013-07-15 09:56:45 +10:00
Andrew Tridgell
ec21922233
Plane: make wp_distance static
...
removed hack in AP_Camera library
2013-07-15 09:56:28 +10:00
Andrew Tridgell
3ba713352f
Plane: use update_aux() for setting up extra channels
2013-07-15 09:56:12 +10:00
Andrew Tridgell
0f72eae216
AP_Camera: removed 3 camera trigger types that do not work
...
the trigger by wp distance, trigger with throttle off and trigger a
transistor all don't work, and are not structured correctly, plus are
dangerous.
The existing relay support can (correctly!) handle the resistor case
without hard-wiring a pin. The "turn off throttle to trigger" idea is
badly broken, it would crash a copter if it worked. We can make it
work properly on planes if there is demand. As it was it didn't work
anyway.
The triggger by wp distance method was broken, and had no way to
initiate a trigger anyway
2013-07-15 09:55:38 +10:00