Andrew Tridgell
9bbe6c1967
Plane: update to new license boilerplate for GPLv3
...
we had LGPLv2 in some places, despite the fw being GPLv3
12 years ago
Andrew Tridgell
882aa68c16
Plane: use new airspeed calibration code
...
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
12 years ago
Andrew Tridgell
893d2da6f6
AP_Airspeed: added auto-calibration support
...
This uses a Kalman filter to calculate the right ARSPD_RATIO at runtime
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
12 years ago
Andrew Tridgell
53b1b9b575
Plane: added note on type of airspeed in docs
12 years ago
Andrew Tridgell
01c124d5f5
AP_GPS: added velocity_vector() method
12 years ago
Andrew Tridgell
468e55d425
AP_Math: added two new vector/matrix ops for kalman airspeed filter
12 years ago
Andrew Tridgell
2d5deddd30
Plane: set mode CIRCLE on short failsafe in AUTO
...
this makes the code match the docs
12 years ago
Andrew Tridgell
9b70675b12
Plane: check the control switch a bit more often
...
faster response to mode changes
12 years ago
Andrew Tridgell
6ed78c89ac
Plane: don't read control switch when ch3 is in failsafe
...
use ch3_counter not just the final flag
12 years ago
Andrew Tridgell
51b9cf3e76
Plane: move failsafe variables into a structure
...
this makes the logic a bit easier to follow
12 years ago
Randy Mackay
e2fbc00b52
LeadFilter: removed this unused library
...
This was used to project the GPS position forward to compensate for lag
but this has become unnecessary with the introduction of the inertial
nav in x and y axis.
12 years ago
Randy Mackay
c9a875da52
Copter: remove unused earth frame rate controllers
12 years ago
Randy Mackay
43379f20c3
Copter Motors: replace limit bitmask with structure
12 years ago
Olivier-ADLER
ac0886334d
Copter: Failsafe GCS typo in comments
...
replaced GPS by GCS word in different comments locations
12 years ago
Randy Mackay
0325ad5d0d
AP_AHRS: use rotateXY for speed
...
Saves 0.1ms at 100hz
12 years ago
Randy Mackay
540ca25b84
AP_Math: add rotateXY
12 years ago
Randy Mackay
11e7e9eaf1
Copter: WP_YAW_BEHAVIOUR param update for Look Ahead
12 years ago
Randy Mackay
c937fe45e1
Revert "Copter: Remove CH7 & CH8 Enable / Disable of GeoFence"
...
This reverts commit e25b8933f3
.
12 years ago
Randy Mackay
7ea971d948
Copter: check set_mode for failure
...
Previously if set_mode failed it would return the copter to stabilize
mode. With this commit set_mode returns a true/false indicating whether
it succeeded or not so the caller can make the decision as to the
appropriate response which could be to stay in the current flight mode
or try another flight mode.
12 years ago
Robert Lefebvre
2a9f4bbbad
TradHeli: Creating new unified roll/pitch rate controller.
12 years ago
Robert Lefebvre
23ea151ca5
TradHeli: Fix Heli rate controller filter rates.
12 years ago
Robert Lefebvre
c812d07993
TradHeli: Creating motor_runup_complete bool which is to confirm that the heli motor is running. This will be used for advanced features in the future.
12 years ago
Robert Lefebvre
957cb094ea
TradHeli: Remove unused RSC Mode 3.
12 years ago
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.
12 years ago
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.
12 years ago
Randy Mackay
a8970ee509
Tools: add additional divide timing
12 years ago
Craig3DR
e25b8933f3
Copter: Remove CH7 & CH8 Enable / Disable of GeoFence
12 years ago
Andrew Tridgell
5f24788872
VARTest: fixed example build
12 years ago
Andrew Tridgell
c691e16139
HAL_AVR: fixed example build
12 years ago
Andrew Tridgell
0b27bb05d4
Copter: fixed FENCE and WPNAV parameter doc generation
12 years ago
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>
12 years ago
Andrew Tridgell
fbdf857634
VARTest: adapt for new airspeed parameter names
12 years ago
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>
12 years ago
Andrew Tridgell
fb0e48a25d
AP_TECS: adapt for new airspeed variable names
12 years ago
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>
12 years ago
Andrew Tridgell
5901b8b22a
APM_Control: allow for a wider range of P values for roll/pitch
...
values above 1.0 are sometimes needed
12 years ago
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
12 years ago
Randy Mackay
d9824dc23e
AutoTest: rename and remove copter mission files
12 years ago
Randy Mackay
1dcc5886d0
Copter: ensure take-off alt is at least 1m
...
fixes issue #377
12 years ago
Randy Mackay
336357fbaf
Copter: ensure _spin_when_armed is not higher than _min_throttle
12 years ago
Randy Mackay
62f3eed4e0
Copter: fix to SPIN_ARMED parameter desciption
12 years ago
Randy Mackay
b709b90a59
Copter: implement safety spin for Tricopters
12 years ago
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
12 years ago
Randy Mackay
e6412b6996
Copter: do not spin motors during arming process
12 years ago
Jonathan Challinger
9f51a4a4f7
Copter: Cancel arming if throttle input above cruise_throttle.
12 years ago
Jonathan Challinger
2725f219cb
Copter: Warn user with motors while copter is arming
12 years ago
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
12 years ago
Andrew Tridgell
81bb4f26a1
autotest: update plane test with more modes
...
added tests for FBWB, STABILIZE, CRUISE, ACRO and CIRCLE
12 years ago
Andrew Tridgell
a4f49a28fb
Plane: prepare for 2.74b release
12 years ago
Andrew Tridgell
e27dd14bcc
Plane: fixed FBWB aileron control
12 years ago