Michael Oborne
78c4e03fd5
sensor hil fix
11 years ago
Randy Mackay
32f53624d6
Copter: rename low_battery to failsafe.battery
11 years ago
Andrew Tridgell
3b9566bc09
Copter: support MAV_CMD_DO_SET_CAM_TRIGG_DIST
11 years ago
Randy Mackay
09de917b27
Copter: mavlink ext status to use abs pressure
12 years ago
Randy Mackay
a33060b66d
Copter: mavlink extended status gps bit not-healthy when glitching
...
add optflow health to extended status
mavlink heartbeat status to critical on any failsafe
extended status msg to use SYS_STATUS_SENSOR enum
12 years ago
Randy Mackay
3c5797c479
Copter: sent current as -1 to GCS when can't be monitored
12 years ago
Randy Mackay
dab4f032f9
Copter: integrate BattMonitor
12 years ago
Randy Mackay
e295d4555d
Copter: send frame type in mavlink heartbeat msg
12 years ago
Randy Mackay
7cc8a9038f
Copter: move failsafe flags into structure
12 years ago
Randy Mackay
284aa2217f
Copter: remove old comments
12 years ago
Andrew Tridgell
3ffeff04a7
Copter: removed logging of MAVLink parameter changes
...
not much point to this
12 years ago
Andrew Tridgell
35e3c887d2
Copter: use new baro API
12 years ago
Andrew Tridgell
b6a0577723
Copter: only send RC_CHANNELS_SCALED in HIL
...
saves a bit of telemetry bandwidth
12 years ago
Andrew Tridgell
46688454c4
Copter: removed flash_leds() calls
12 years ago
Andrew Tridgell
754bdbd25f
Copter: use new usb_connected() HAL function
12 years ago
Kevin Hester
240a9ccaf0
AC: if vehicle is !flying show hb state as MAV_STATE_STANDBY
...
This helps GCSes determine the appropriate UI for the current vehicle
mode.
12 years ago
Randy Mackay
1d55fa6818
Copter: add arm check of GPS hdop when in Loiter
12 years ago
Andrew Tridgell
979636936d
Copter: support reboot to bootloader
12 years ago
Andrew Tridgell
25d517f5d6
Copter: updates for new notify API
12 years ago
Andrew Tridgell
d5e28e72cc
Copter: support new RADIO_STATUS msg
12 years ago
Andrew Tridgell
01e19a32fe
Copter: use the new scheduler load_average() call
...
this also simplifies the main loop
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
Randy Mackay
47ab02d686
Copter: bug fix to ROI to pull target from conditional command queue
12 years ago
Randy Mackay
5a40ee7a38
Copter: fix to gps present check in mavlink extended status 1 msg
12 years ago
Randy Mackay
66d7f7b026
Copter: GCS_mavlink only send waypoints to gcs3 if initialised
...
Also Load parameter defaults at initialisation (although defaults are
all zero anyway so should have no effect)
12 years ago
Andrew Tridgell
da4137b731
Copter: changes for GPS field changes
12 years ago
Randy Mackay
0460147a15
Copter: guided mode yaw fix
...
Nose of copter now points at next guided point if it is more than 10m
away
12 years ago
Andrew Tridgell
30df8796ce
Copter: fixed loading of waypoints
...
copter code assumes that command_total includes the home waypoint
12 years ago
Andrew Tridgell
903d5636bb
Copter: added support for partial mission load
...
this allows individual waypoints to be updated in missions
12 years ago
Randy Mackay
1dbe98b566
Copter: display reason for pre-arm-check failures in GCS
12 years ago
Randy Mackay
d10e3bc75f
Copter: send_text_P bug fix for short messages
12 years ago
Randy Mackay
28c37dd798
Copter: do pre-arm checks when arming from GCS
12 years ago
Andrew Tridgell
9feb46c834
Copter: use new accel cal interact over MAVLink
12 years ago
Andrew Tridgell
b6e3e59bc3
Copter: simplify setHIL for baro
12 years ago
Andrew Tridgell
db57c8d7c5
Copter: removed the deprecated HIL sensors interface
...
must use the new HIL_STATE message now
12 years ago
Andrew Tridgell
172d9724df
Copter: use new HIL compass API
12 years ago
Andrew Tridgell
25c576cad7
Copter: replaced constrain() with constrain_float()
12 years ago
Randy Mackay
bab9fa25e5
Copter: add GCS failsafe
12 years ago
Randy Mackay
58d1da2d80
Copter: integrate AC_Fence in place of limits
...
Lesser functionality than limits but saves more than 150 bytes and it
works
12 years ago
Andrew Tridgell
a0708460a4
Copter: convert to new logging system
12 years ago
Andrew Tridgell
67484a2ea1
Copter: make copter code compatible with the new logging system
...
not fully converted yet
12 years ago
Randy Mackay
d2bd818b2d
Copter: bug fix for auto_armed logic
...
Zero throttle when switching into an auto flight mode would cause the
motors to stop.
12 years ago
Randy Mackay
1ee825ee9a
Copter: move alt and wp checking to AC_WPNAV
...
RTL fix so that if it starts rtl-ing from above 80m it returns home
while descending instead of descending at initial position.
add get and set_target_alt_for_reporting
12 years ago
Randy Mackay
58ed8cd544
Copter: replace set_next_WP with direct call to wp_nav
12 years ago
Randy Mackay
1dcd46bffc
Copter: reduce compiler warnings
12 years ago
Michael Oborne
541fa13291
cleanup comments
12 years ago
Michael Oborne
e80f2c094e
HIL fix location, alt, mag from hil state message
12 years ago
Andrew Tridgell
b280857025
Copter: use common angle wrap code
12 years ago
Randy Mackay
f7d977fe37
Copter: add support for GPS fix type 2D
12 years ago
Andrew Tridgell
d22a7c64c9
Copter: 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
12 years ago