Andrew Tridgell
8378dc9779
Plane: use reference to AHRS
12 years ago
Andrew Tridgell
a33573352e
Plane: fixes for updated AP_Math and AHRS APIs
...
Pair-Programmed-With: Brandon Jones <brnjones@gmail.com>
12 years ago
Andrew Tridgell
e22f58c9fc
Plane: fixed build with OBC failsafe
12 years ago
Andrew Tridgell
c3b5f20a45
Plane: run TECS 50Hz code when throttle suppressed
...
this fixes auto-launch detection using TECS
12 years ago
Andrew Tridgell
8428779558
Plane: make it easier to find task numbers
12 years ago
Andrew Tridgell
62cc84aba3
Plane: use new scheduler load_average() function
...
this also simplifies the main loop
12 years ago
Andrew Tridgell
233b033e8c
Plane: removed old speed/altitude control algorithms
...
Use TECS only. This makes the code a lot simpler and easier to
properly document
12 years ago
Andrew Tridgell
c0697d0a2d
Plane: mark 2.75beta1
12 years ago
Andrew Tridgell
6e288551ab
Plane: fixed reversion to pre-failsafe mode
...
if AUTO was entered using GCS, we need to switch back to the old mode,
not control channel
12 years ago
Andrew Tridgell
c8a83e17d0
Plane: remove old AIR_START code
...
this was never used or tested
12 years ago
Andrew Tridgell
7673ca0bac
Plane: updates for new EAS2TAS scaling
12 years ago
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
9b70675b12
Plane: check the control switch a bit more often
...
faster response to mode changes
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
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
a4f49a28fb
Plane: prepare for 2.74b release
12 years ago
Andrew Tridgell
e27dd14bcc
Plane: fixed FBWB aileron control
12 years ago
Andrew Tridgell
e8355905dd
Plane: prepare for 2.74 release
12 years ago
Andrew Tridgell
dbd47b2a30
Plane: make TECS the default speed/height controller
12 years ago
Andrew Tridgell
ec21922233
Plane: make wp_distance static
...
removed hack in AP_Camera library
12 years ago
Andrew Tridgell
ed20c4cbc8
Plane: fixed initial reporting of battery remaining
...
we were not showing battery remaining 100% until we used some battery
12 years ago
Andrew Tridgell
d4db2231d4
Plane: change to 2.73beta4
12 years ago
Andrew Tridgell
dc024d425a
Plane: re-do roll hanging in ACRO mode
...
this avoids the euler angle zeros of the previous method by using a
gyro integrator on the roll axis
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
12 years ago
Andrew Tridgell
113bc20f8a
Plane: added a new CRUISE flight mode
...
See
http://diydrones.com/group/apmusergroup/forum/topics/feature-request-hold-heading-mode
this fixes issue #438
12 years ago
Andrew Tridgell
ea9ae31a7a
Plane: fixed a bug with altitude drift in FBWB mode
...
not taking account of deadzone correctly
12 years ago
Andrew Tridgell
1d04290eab
Plane: change to 2.74beta3
12 years ago
Andrew Tridgell
608007361b
Plane: added initial implementation of ACRO mode
...
rate based control with attitude locking
12 years ago
Andrew Tridgell
3c97fad2ec
Plane: changes for GPS field changes
12 years ago
Andrew Tridgell
7aa360b176
Plane: added relative_altitude helper functions
...
prevents some code duplication
12 years ago
Paul Riseborough
971d36f06b
Plane: added height to 10Hz TECS call
12 years ago
Andrew Tridgell
f7c8d1e1ee
Plane: use current_loc.alt for altitude to TECS
12 years ago
Craig@3DR
7f4336430a
Plane: trigger picture + logging on camera update_location()
12 years ago
Paul Riseborough
a4f3180e2a
Plane: added support for throttle nudging with TECS
12 years ago
Paul Riseborough
c34803db13
Plane: pass in adjusted height above field to TECS
12 years ago
Andrew Tridgell
9f612f6f78
Plane: only call TECS when throttle is not suppressed
...
this helps prevent integrator buildup on the ground
12 years ago
Andrew Tridgell
1355b6d89d
Plane: break-up scheduling into smaller pieces
...
ensure mavlink sends don't push us over a scheduling boundary
12 years ago
Andrew Tridgell
d30dd7c3f1
Plane: only run TECS when in an auto-throttle mode
...
this prevents integrator buildup in user controlled modes
12 years ago
Andrew Tridgell
dd330885b8
Plane: added compass and baro accumulate functions
12 years ago
Andrew Tridgell
6c7d160ee6
Plane: fixed TECS takeoff detection
12 years ago
Andrew Tridgell
a5bda3ffef
Plane: changed to using a "aircraft parameters" structure
...
this structure can be passed to libraries to give them easy access to
critical user parameters
12 years ago
Paul Riseborough
d62636d309
Plane: added new TECS altitude controller
...
Includes improvements to takeoff/launch detect logic to support hand
launching for X-8 flight
12 years ago
Andrew Tridgell
0d3faeda90
Plane: update_mount assumes 50Hz, for camera trigger
12 years ago
Andrew Tridgell
bb47029564
Plane: enable CAM_TRIGG_DIST parameter
12 years ago
Andrew Tridgell
056e0ca40d
Plane: APM2 doesn't have channel 9 PWM output
12 years ago
Andrew Tridgell
641ad6bc63
Plane: increase time allowed for update_alt()
...
the altitude tracking code can be quite expensive with TECS
12 years ago
Andrew Tridgell
b27ffdd087
Plane: new plane beta 2.74beta2
12 years ago
Andrew Tridgell
c008fa764c
Plane: update_commands() can take 7ms if it needs to write a waypoint
12 years ago
Andrew Tridgell
93cd0f9a31
Plane: switch to new AP_Scheduler
...
this gives us more accurate task scheduling in ArduPlane, plus better
monitoring of task timing (via SCHED_DEBUG)
12 years ago
Andrew Tridgell
02d72ffcba
Plane: make it possible to change board orientation at runtime
12 years ago