Andrew Tridgell
eef693f243
Plane: removed some compat code
...
fixes warnings
12 years ago
Andrew Tridgell
444d053dc2
Plane: enable Oilpan and BMP085 on Linux
12 years ago
Andrew Tridgell
b28a4f21f2
Plane: fixed uartA baud rates for APM1
12 years ago
Andrew Tridgell
21a4da0d29
Plane: removed flash_leds() calls
12 years ago
Andrew Tridgell
4bd6b2f428
Plane: use new usb_connected() function
12 years ago
Andrew Tridgell
fe5a4ab710
Plane: fixed Vcc
12 years ago
Andrew Tridgell
f6688582a6
Plane: added FENCE_ACTION=3 behaviour
...
this makes it safer to enable the geofence as a receiver failsafe
mode. It retains manual throttle control, so if it triggers on the
ground due to the receiver losing signal from the transmitter then the
throttle can be kept low, preventing an unexpected takeoff.
12 years ago
Andrew Tridgell
4a8c9a7765
Plane: support reboot to bootloader
12 years ago
Andrew Tridgell
a93f7c39a9
Plane: updates for new notify API
12 years ago
Randy Mackay
ad8bd16725
Plane: integrate AP_Notify
12 years ago
Andrew Tridgell
accfd46633
Plane: update for new APM_Control API
12 years ago
Andrew Tridgell
74dabad1f3
Plane: added SKIP_GYRO_CAL parameter
...
useful for starting the sim at high altitudes, and for starting planes
without having to hold them still
12 years ago
Andrew Tridgell
c8a83e17d0
Plane: remove old AIR_START code
...
this was never used or tested
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
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
826ad6c086
Plane: unlock roll and pitch when we enter ACRO mode
12 years ago
Andrew Tridgell
f300df5fd1
Plane: added FS_LONG_TIMEOUT and FS_SHORT_TIMEOUT parameters
...
this is to address the issue raised here:
http://diydrones.com/forum/topics/ardupilot-circle-mode
12 years ago
Andrew Tridgell
608007361b
Plane: added initial implementation of ACRO mode
...
rate based control with attitude locking
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
4a0c90246e
Plane: make GPS UART blocking again
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
4c9bc30f58
Plane: make it possible to change control channel ordering without reboot
...
this makes configuration a bit easier
12 years ago
Andrew Tridgell
fb9bf21522
Plane: allow channel mapping of first 4 channels
...
this makes it easier to support DSM and SBUS radios
12 years ago
Andrew Tridgell
515d726ee0
Plane: use RC_Channel::rc_channel() instead of rc_ch[]
12 years ago
Andrew Tridgell
f7697574db
Plane: use the new airspeed driver interface
...
the choice of analog source is now in the airspeed driver
12 years ago
Andrew Tridgell
d9bcfd913a
Plane: reset attitude integrators on mode change
12 years ago
Andrew Tridgell
eba7d6da9a
Plane: removed the old crash_timer code
...
This code is less relevent with the new L1 navigation, and could cause
issues with the pilot not having control after a long dive.
Thanks to Soren for pointing out the issues
See issue #305
12 years ago
Andrew Tridgell
a22f5e3bc4
Plane: enable wind estimation
12 years ago
Andrew Tridgell
fdd509a7c1
Plane: move baro init earlier in startup
...
this ensures it is initialised when CLI takeover by MP happens
Thanks to Prof Avi Levi for reporting this bug
12 years ago
Andrew Tridgell
4e2b88f6e6
Plane: added ATT_CONTROLLER option to select attitude controller
...
set to 1 for the new APM_Control library
12 years ago
Andrew Tridgell
5ba171af9a
Plane: fixed mavlink levelling
...
this was broken by a recent commit (after 2.72 was released)
12 years ago
Andrew Tridgell
a019e3740e
Plane: updates for new compass API
12 years ago
Andrew Tridgell
de3fcbc413
Plane: removed the MANUAL_LEVEL option
...
levelling on every startup is far too error prone. This was just
another parameter that everyone changed.
12 years ago
Andrew Tridgell
2e5834cc7f
Plane: print flight mode as string in logs
12 years ago
Andrew Tridgell
c56f338fe0
Plane: convert to new logging system
12 years ago
Andrew Tridgell
79c6f32400
Plane: made variables static and remove initial rc overrides
...
minor code size savings
12 years ago
Andrew Tridgell
575f346e85
Plane: removed HIL_MODE_ATTITUDE
...
we really need full sensors for HIL with the L1 controller. The flight
is also _much_ better with sensors HIL.
12 years ago
Andrew Tridgell
11eb0cfce1
Plane: update for new AP_Navigation controller class
...
this switches ArduPlane over to use the L1 navigation controller, via
a generic nav_controller object pointer.
Note that the nav_controller controls all types of navigation now,
including level flight and heading hold. This provides a cleaner
abstraction than the old method of special case navigation handling
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
12 years ago
Andrew Tridgell
dfb14d760b
Plane: added HIL_SERVOS option
...
this allows for real servo output in HIL
12 years ago
Andrew Tridgell
7db7d7db77
Plane: change FBWB altitude control algorithm
...
this makes FBWB much less sensitive to airframe tuning. When the
elevator stick first goes neutral it locks in the current altitude as
the target altitude. When the elevator stick is off neutral, it moves
the target altitude in proportion to the elevator, at a rate goverened
by the new FBWB_CLIMB_RATE parameter
This prevents the aircraft from slowly drifting in altitude in FBWB,
and gives a more intuitive control mechanism for altitude.
Thanks to Chris Miser from Falcon UAV for help in designing this
change
12 years ago
Randy Mackay
c2055557f5
Plane: add support for GPS fix type 2D
12 years ago
Andrew Tridgell
87c6545ac6
Plane: don't trigger GCS failsafe if GCS never connected
...
The we have never received a heartbeat message from the GCS then don't
use the lack of heartbeat to trigger a failsafe event
12 years ago
Andrew Tridgell
0a0b51cc63
Plane: reset AHRS trim after a level operation
12 years ago
Andrew Tridgell
9f70c6c70d
Plane: make CIRCLE mode hold altitude
...
this will prevent us losing a lot of altitude during the initial
failsafe phase
12 years ago
Andrew Tridgell
28352b3548
Plane: ensure ahrs.init() is called
12 years ago
Andrew Tridgell
86f667f6cc
Plane: added new SERIAL0_BAUD parameter
...
this is useful on PX4
12 years ago
Andrew Tridgell
9e0096ddb5
Plane: fix handling of sensors HIL startup
12 years ago
Andrew Tridgell
b6295c12e1
Plane: fixes for new AP_Relay interface
12 years ago
Andrew Tridgell
edad43611d
Plane: reset last heartbeat time on startup completion
...
this gives more time for the GCS to send its first heartbeat
12 years ago
Andrew Tridgell
cf8e648558
CLI: fixed accel setup
...
disable mavlink callback in CLI
12 years ago