Andrew Tridgell
3c66cb8af1
AP_Airspeed: added EAS2TAS in airspeed driver
...
this keeps the true airspeed ratio in the airspeed driver, which seems
the most logical place
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
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
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
43379f20c3
Copter Motors: replace limit bitmask with structure
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
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
Andrew Tridgell
c691e16139
HAL_AVR: fixed example build
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
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
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
2ee43a694c
APM_Control: fixed YAW2SRV_IMAX handling
...
thanks to Steven G for noticing this!
12 years ago
Andrew Tridgell
032cc513ca
DataFlash: fixed example build
12 years ago
Andrew Tridgell
206ed04e76
AP_Mount: fixed example build
12 years ago
Andrew Tridgell
47450a9b40
AP_InertialNav: fixed example build
12 years ago
Andrew Tridgell
98d6331387
AP_Airspeed: fixed example build
12 years ago
Andrew Tridgell
1bd6849d00
AP_AHRS: fixed example build
12 years ago
Andrew Tridgell
82152c058e
AC_WPNav: disabled broken example build
...
this test doesn't actually do anything yet
12 years ago
Andrew Tridgell
04835b095f
AC_Fence: fixed examples build
12 years ago
Andrew Tridgell
c7141c4851
AP_GPS: fixed examples build
12 years ago
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
12 years ago
Randy Mackay
bd6a60f28b
AP_Math: add M_PI_2 definition
...
Required when building under arduino
12 years ago
Randy Mackay
8545071a21
GCS_MAVLink: include AP_Math.h
...
Required because mavlink_conversions's mavlink_dcm_to_euler function
uses atan2
12 years ago
Randy Mackay
9b40ba98d7
GCS_MAVLink: regenerated messages
12 years ago
Randy Mackay
6bcbcc0382
GCS_MAVLink: add DO_SET_ROI to common.xml
12 years ago
Andrew Tridgell
d9f13b6b8c
GCS_MAVLink: merge in changes from upstream mavlink repo
12 years ago
Andrew Tridgell
b1202ccbff
GCS_MAVLink: merge in latest upstream XML changes
12 years ago
Andrew Tridgell
9d66adae13
AP_Airspeed: added get_airspeed_ratio() and set_airspeed_ratio()
...
This is to help Paul develop an automatic tuning system for airspeed
ratio
12 years ago
Andrew Tridgell
cc778a68ae
APM_Control: changed attitude controllers to take angular error not angle
...
this makes it easier for ACRO mode
12 years ago
Andrew Tridgell
b721bcc129
AP_AHRS: removed get_roll_rate_earth() and get_pitch_rate_earth()
...
these are not used any more
12 years ago
Andrew Tridgell
21859f9364
RC_Channel: fixed dead_zone for range channels
...
The dead_zone was being used inconsistently, used in PWM space in one
place, and in control output space in another.
The fix required us to move the index number of the RC channel eeprom
value for RCn_DZ, as users will have a throttle deadzone of 3 set in
their eeprom due to a bug that Randy just fixed that caused the value
to always be saved to eeprom. In plane we then need to fix the
deadzone for the throttle to be 30
this fixes issue #303
Thanks to Soren Kuula for spotting this!
12 years ago
Andrew Tridgell
086e8f80dc
AP_AHRS: fixed spin rate gain conversion from degrees to radians
...
fixes issue #433
Thanks Jurgen!
12 years ago
Randy Mackay
effc829790
INS: relax accel offset check to 3.5 m/s/s
...
One user, Dusty, has found that even with offsets of 3.1 m/s/s
successful alt hold and loiter are possible
12 years ago
Randy Mackay
110966c186
AP_TECS: compile error fix for size_of(log_tuning)
12 years ago
Randy Mackay
fb5ada38c0
RC: example sketch uses set_default_dead_zone
12 years ago
Randy Mackay
47437b9ddf
RC: set dead zone only if parameter has not been set by user
12 years ago
Randy Mackay
012d7b0c0a
OptFlow: initialisation fix
...
Thanks to DongFang (aka Soren) for finding the issue and the solution
12 years ago
Andrew Tridgell
131aa53e42
AP_Relay: update for new PX4 relay pin
12 years ago
Andrew Tridgell
83b13c3d88
HAL_PX4: fixed definition of relay and piezo pins
12 years ago
Andrew Tridgell
0916388ab5
HAL_PX4: retry opening UARTs up to 5 times
...
this seems to help a lot with the USB port on PX4
12 years ago