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
688dd5374e
ToshibaLED: flashing green if disarmed with GPS lock
...
solid blue if armed without GPS lock
12 years ago
Andrew Tridgell
011915eb1c
Plane: added error checking to rally load save
...
sanity check the rally points
12 years ago
Andrew Tridgell
7a9ed0a5a1
AP_GPS: fixed warning
12 years ago
Andrew Tridgell
86b58314c4
AP_Common: pack the RallyLocation structure
...
so it can be written as a single binary block
12 years ago
Michael Day
497c95de8e
Plane: Add support for rally points.
...
Added parameter RALLY_TOTAL.
Added handlers for new MAVLink messages RALLY_POINT and
RALLY_FETCH_POINT.
defines.h modified to make room in EEPROM to store rally points.
rally.pde added and is responsible for ensuring rally points get
stored in the correct spot in EEPROM.
Multiple Rally/RTL point support now done. If rally points have
been defined, then when RTL mode is entered, the closest Rally
point is chosend and the plane loiters at that point.
Note only 10 rally points can be defined; this is to save space in
the APM's EEPROM.
12 years ago
Michael Day
823a40c203
AP_Common: Added RallyLocation struct.
12 years ago
Michael Day
1777db91cb
GCS_MAVLink: import latest upstream.
...
This add rally points.
12 years ago
Andrew Tridgell
99a8ba4634
DataFlash: fixed display of last page of flash logs
12 years ago
Andrew Tridgell
89f121ea77
DataFlash: wait for blocks to finish writing to flash on log read
12 years ago
Andrew Tridgell
8e0a136d78
HAL_AVR: mark some examples as not building
12 years ago
Andrew Tridgell
a250c13c79
HAL_PX4: fixed build
12 years ago
Andrew Tridgell
1440c8cebd
HAL_Linux: implement a dummy console buffered write()
12 years ago
Andrew Tridgell
9624821493
HAL_FLYMAPLE: implement a dummy buffered write
12 years ago
Andrew Tridgell
a8c97f99d1
HAL_Empty: implement a dummy buffered write
12 years ago
Andrew Tridgell
c035eef845
HAL_SITL: implement a dummy buffered write
12 years ago
Andrew Tridgell
a59f505d25
HAL_AVR: implement an efficient buffer write() call for AVR
...
this saves some cycles in the telemetry code
12 years ago
Andrew Tridgell
efe1e01700
AP_HAL: require a buffer write() function in all ports
...
this makes a sufficient performance difference that it is worth it
12 years ago
Andrew Tridgell
5489097476
AP_GPS: update the UBLOX rates async from the start
...
this saves a bit of startup time
12 years ago
Andrew Tridgell
cee8a017ab
AP_GPS: added UBLOX_FAKE_3DLOCK debugging option
...
useful when unable to get 3D lock
12 years ago
Andrew Tridgell
f1e120113c
AP_Common: added OPTIMIZE() macro
...
this can be used to change the compiler optimization level of
individual functions
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
12 years ago
Andrew Tridgell
fb19dbb404
AP_Math: cope with large values passed into the wrap functions
...
this uses modulus if the function would loop too many times
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
12 years ago
Andrew Tridgell
34f7f88190
AP_GPS: check for corret GPS solution rates in flight and fix
...
if the GPS is giving us data at less than 300ms intervals then re-send
the configuration messages to try to kick it into the right rates
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
12 years ago
Randy Mackay
e672b61bbb
AutoTest: enable battery monitoring by default
12 years ago
Randy Mackay
5f1ba85ce4
AutoTest: add copter battery failsafe test
12 years ago
Randy Mackay
db2975901d
AP_HAL_AVR_SITL: use SIM_BATT_VOLTAGE parameter
12 years ago
Randy Mackay
8d1d8c78b5
SITL: add SIM_BATT_VOLTAGE
12 years ago
Randy Mackay
21360aeebf
Plane: sent current as -1 to GCS when can't be monitored
12 years ago
Randy Mackay
3c5797c479
Copter: sent current as -1 to GCS when can't be monitored
12 years ago
Randy Mackay
121e4932ea
Rover: integrate BattMonitor
12 years ago
Randy Mackay
dab4f032f9
Copter: integrate BattMonitor
12 years ago
Randy Mackay
9722276827
Plane: batt curr and remaining should be int16
12 years ago
Randy Mackay
f1309ed63f
BattMonitor: bug fix for current_total_mah
12 years ago
Randy Mackay
cb91440c63
Plane: remove test_battery from CLI
12 years ago
Randy Mackay
9388ea3848
Plane: integrate BattMonitor exhausted method
...
BatteryMonitor object made static
Removed unused macros for battery voltage and current monitoring
12 years ago
Randy Mackay
7d73e62a23
BattMonitor: add exhausted method
...
Current total calculations changed to use micros instead of millis for
improved accuracy
Removed unused pack_capacity accessor
Initialise private members
12 years ago
Randy Mackay
d9fe099885
BattMonitor: update comments and defaults
12 years ago
Andrew Tridgell
366d73124a
AP_Battery: fixed parameter name and default voltage ratio
...
also setup SITL with right pins
12 years ago
Andrew Tridgell
c7df0eaf2a
SITL: added battery voltage and current
...
assume 3DR brick
12 years ago
Andrew Tridgell
74c8c8aafa
Plane: auto-upgrade battery variables in EEPROM
12 years ago
Andrew Tridgell
88777beab0
AP_BattMonitor: minor cleanups
...
cleanup name to be multiplier not div ratio, and make 2 variables
non-static
12 years ago
Randy Mackay
c64d444b5a
Plane: integrate BattMonitor
12 years ago
Randy Mackay
8b06a12fa4
BattMonitor: initial draft lib
12 years ago
Andrew Tridgell
42bc8b12df
SITL: added a SIM_GPS_HZ option
...
this allows simulation of slow GPS updates (for example, the 1Hz GPS
problem)
12 years ago
Andrew Tridgell
65976831e2
Plane: moved Linux logs to logs directory
12 years ago
Andrew Tridgell
c9fea2c706
HAL_Linux: fixed scheduling priorities
...
need to be between 1 and 99
12 years ago
Andrew Tridgell
134bf5a5c9
AP_Menu: be friendly to multi-tasking OSes in menus
12 years ago
Andrew Tridgell
2819dd99fa
AP_Menu: copy with newline from console
...
helps debugging on HAL_Linux
12 years ago
Andrew Tridgell
bbac3265b2
HAL_Linux: default to hal.console on stdout
12 years ago
Andrew Tridgell
bcc9cdbf43
HAL_Linux: make I2CDriver more portable
...
this allows it to build on the Beaglebone
12 years ago