Andrew Tridgell
ed20c4cbc8
Plane: fixed initial reporting of battery remaining
...
we were not showing battery remaining 100% until we used some battery
2013-07-14 21:59:15 +10:00
Andrew Tridgell
e79023ceee
Plane: fixed problem with slow ground station connects
...
don't trigger the "scheduler out of time" code when in the delay
callback
Thanks to Marijm Slootweg for noticing this!
2013-07-14 17:28:34 +10:00
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
2013-07-13 21:45:58 +10:00
Randy Mackay
1772a62415
Plane: fix to gps present check in mavlink extended status 1 msg
2013-07-13 10:27:39 +09:00
Andrew Tridgell
608007361b
Plane: added initial implementation of ACRO mode
...
rate based control with attitude locking
2013-07-11 09:10:41 +10:00
Andrew Tridgell
3c97fad2ec
Plane: changes for GPS field changes
2013-07-10 14:04:22 +10:00
Andrew Tridgell
7aa360b176
Plane: added relative_altitude helper functions
...
prevents some code duplication
2013-07-10 14:04:22 +10:00
Andrew Tridgell
1355b6d89d
Plane: break-up scheduling into smaller pieces
...
ensure mavlink sends don't push us over a scheduling boundary
2013-07-05 18:05:27 +10:00
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)
2013-06-04 13:34:58 +10:00
Andrew Tridgell
fb9bf21522
Plane: allow channel mapping of first 4 channels
...
this makes it easier to support DSM and SBUS radios
2013-06-03 16:23:48 +10:00
Andrew Tridgell
515d726ee0
Plane: use RC_Channel::rc_channel() instead of rc_ch[]
2013-06-03 16:23:48 +10:00
Andrew Tridgell
f7697574db
Plane: use the new airspeed driver interface
...
the choice of analog source is now in the airspeed driver
2013-06-03 11:51:09 +10:00
Andrew Tridgell
dd633fcf3f
Plane: make voltage and battery capacity failsafe settable at runtime
...
this also fixes issue #292
2013-05-22 20:33:57 +10:00
Randy Mackay
c7961a72fc
Plane: send_text_P bug fix for short messages
2013-05-20 12:51:16 +09:00
Andrew Tridgell
635b3fabda
Plane: fixed APM1-1280 build
2013-05-08 21:44:45 +10:00
Andrew Tridgell
81c1fd5fc4
Plane: support 3D accel calibration over MAVLink
2013-05-08 16:25:35 +10:00
Andrew Tridgell
b43712e4d2
Plane: fixed APM1-1280 build
2013-05-03 12:40:43 +10:00
Andrew Tridgell
9f0a4dd553
Plane: log GCS text messages to flash log
...
useful for seeing more complex actions
2013-05-03 11:16:50 +10:00
Andrew Tridgell
bb8f9d5443
Plane: simplify setHIL for baro
2013-05-02 15:27:02 +10:00
Andrew Tridgell
0aa38a5bd4
Plane: use new HIL compass API
2013-05-02 15:00:59 +10:00
Andrew Tridgell
5ba171af9a
Plane: fixed mavlink levelling
...
this was broken by a recent commit (after 2.72 was released)
2013-05-02 13:38:28 +10:00
Andrew Tridgell
9584aa89d9
Plane: replaced constrain() with constrain_float()
2013-05-02 10:27:10 +10:00
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.
2013-04-29 14:19:53 +10:00
Andrew Tridgell
02ed37e750
Plane: fixed APM1-1280 build
2013-04-20 18:21:19 +10:00
Andrew Tridgell
3b90c6c386
Plane: log parameter changes
2013-04-20 13:52:36 +10:00
Andrew Tridgell
c8af70a18d
Plane: make the plane code compatible with the new logging system
...
not actually converted yet
2013-04-20 13:52:36 +10:00
Andrew Tridgell
82cd391cf8
Plane: use RADIUS_OF_EARTH define
2013-04-15 14:55:58 +10:00
Andrew Tridgell
994d8e354a
Plane: allow for negative WP_LOITER_RAD for conter-clockwise loiter
...
this follows the same convention as missions
2013-04-15 10:52:32 +10:00
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.
2013-04-12 17:44:40 +10:00
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>
2013-04-12 12:48:09 +10:00
Randy Mackay
21a51c8333
Plane: update GCS_Mavlink parameter documentation
2013-04-03 22:58:25 +09:00
Andrew Tridgell
ddfcafe80f
Plane: fixed DIGICAM camera trigger
2013-04-02 13:08:38 +11:00
Andrew Tridgell
2506c216dd
Plane: added a second type of stick mixing
...
this changes STICK_MIXING from a boolean to a tri-state. With
STICK_MIXING=1 it now uses FBW style mixing. With STICK_MIXING=2 it
uses the old style of direct stick mixing.
2013-04-02 08:52:56 +11:00
Andrew Tridgell
dfb14d760b
Plane: added HIL_SERVOS option
...
this allows for real servo output in HIL
2013-03-30 14:38:43 +11:00
Andrew Tridgell
6cc4aadc06
Plane: report compass health in SYS_STATUS
2013-03-29 13:48:40 +11:00
Randy Mackay
c2055557f5
Plane: add support for GPS fix type 2D
2013-03-27 11:41:51 +09:00
Andrew Tridgell
1d983b3f2e
Plane: fixed X accel triggering of auto
2013-03-22 11:53:45 +11:00
Andrew Tridgell
6948e0c473
Plane: only enter CLI is link is idle when 3 enters are hit
...
this will prevent binary contents of RADIO packets being interpreted
as CLI enter line-feeds
2013-03-21 21:57:54 +11:00
Andrew Tridgell
0e37ae4400
Plane: change CLI timeout to 20s
2013-03-21 17:34:34 +11:00
Andrew Tridgell
36ff950b12
Plane: fixed MAVLink target IDs in fence point message
...
thanks to Kevin Hester for finding this
2013-03-12 15:04:48 +11:00
Andrew Tridgell
24826c0c74
Plane: default the stream rates to 1Hz
2013-02-20 10:08:49 +11:00
Andrew Tridgell
1007f2ef07
Plane: fixed a bug with setting stream rates
...
this is what caused the "no sensors" problem in the 2.69 release
2013-02-20 09:32:01 +11:00
Michael Oborne
88840eb759
Send FS state to gcs for AP
2013-02-09 10:11:26 +08:00
Jochen Tuchbreiter
c5f19f5df8
Plane: Implement issue 80: counterclockwise loiter
...
- libraries/AP_Common/AP_Common.h: Use bit 2 of Location.options to store
loiter direction
- ArduPlane/defines.h: New bitmask MASK_OPTIONS_LOITER_DIRECTION for struct
Location bit 2
- ArduPlane/ArduPlane.pde: New variable loiter_direction
- ArduPlane/GCS_Mavlink.pde: For mavlink loiter-commands use sign of param3 to
detemine direction. Set Location.option flag accordingly
- ArduPlane/commands.pde: Make sure loiter-directions get saved into EEPROM
correctly
- ArduPlane/commands_logic.pde: Set loiter_direction on all loiter-actions
as well as RTL/instant loiter
- ArduPlane/navigation.pde: Yield loiter_direction in update_loiter
2013-02-05 10:29:31 +11:00
Andrew Tridgell
e762c43312
Plane: switch to an array for stream rates
...
this saves a couple of hundred bytes of flash.
2013-02-05 08:20:41 +11:00
Pat Hickey
85d783d5a9
ArduPlane: fixed memory unsafe member access in GCS_MAVLINK
2013-02-02 22:43:59 -08:00
Andrew Tridgell
7ab3d93ed4
Plane: fixed typo
2013-01-23 10:06:22 +11:00
Andrew Tridgell
49356b790b
Plane: limit number of bytes read per GCS check
2013-01-23 09:35:06 +11:00
Andrew Tridgell
9813468640
Plane: fixed mavlink fetch of 16 character parameter
2013-01-21 16:52:08 +11:00
James Bielman
5631f865b2
Update floating point calculations to use floats instead of doubles.
...
- Allows use of hardware floating point on the Cortex-M4.
- Added "f" suffix to floating point literals.
- Call floating point versions of stdlib math functions.
2013-01-16 13:52:01 +11:00