Randy Mackay
c0f155fd27
Plane: use only downward facing rangefinder
8 years ago
Tom Pittenger
67486dc3f0
Plane: always log RPM when enabled
8 years ago
Michael du Breuil
29b16dbafd
Plane: Refactor to request relative altitudes from AHRS
...
Removes the need for plane to do the math for finding the relative height.
Also caches the value at the same time we update current_loc, which is a
non behaviour change as that was the only time you could see a change in
the relative height propegate through the system anyways
8 years ago
Tom Pittenger
61bc0a6206
Plane: check stage==LAND instead of landing.in_progress
8 years ago
Michael du Breuil
f017073077
Plane: Report battery failsafes via sys_status
8 years ago
Randy Mackay
af514eb101
Copter: remove some comments
8 years ago
Dmitry Prokhorov
497a4bd4a5
ArduPlane: Support for OLED display by Alexey Kozin
...
https://github.com/ArduPilot/ardupilot/pull/5135
8 years ago
Andrew Tridgell
b83f50be0f
Plane: use new SRV_Channels API
8 years ago
Tom Pittenger
04f32b6ec6
Plane: simplify flight stage landing check to use landing.in_progress
8 years ago
Tom Pittenger
c286ceba43
Plane: move enum FlightStages to AP_Vehicle::FixedWing
8 years ago
Tom Pittenger
0ffeed644c
Plane: remove define RANGEFINDER_ENABLED - always enabled
8 years ago
floaledm
bae9ce20c1
Plane: update sensor status error flags independently of sending a sys_status message
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Andrew Tridgell
327a057ee0
Plane: added internal combustion engine support
...
this allows for automatic engine start and restart
9 years ago
Andrew Tridgell
3f0a8d1761
Plane: added AP_Button support for plane
...
this also adds the g2 parameter table
9 years ago
Andrew Tridgell
0f50f483b8
Plane: update for new airspeed calibration
9 years ago
Andrew Tridgell
d3494d1369
Plane: don't stall EKF during baro cal
9 years ago
Andrew Tridgell
93ac82e1f6
Plane: write voltage/current much more frequently
9 years ago
Tom Pittenger
b8d5369ebd
Plane: add flight stage LAND_PREFLARE
9 years ago
Siddharth Bharat Purohit
78566bda36
Plane: wire up accel calibrator for plane
9 years ago
Luis Vale Gonçalves
b7f3782e4e
Plane: Text revisions
...
text revisions
9 years ago
lvale
e18181e5c2
Plane: Uniformization of severities
...
Plane uniformization of severities
9 years ago
Tom Pittenger
5c3486d003
Plane: power-off rangefinder at high alt without terrain avail
...
- moved terrain alt rangefinder power-off trigger from trerrain thread to rangefinder thread
- allow rangefinder to power-off using baro if terrain data not available
9 years ago
Lucas De Marchi
84da1f5039
Rename gcs_send_text_P to gcs_send_text
9 years ago
Lucas De Marchi
2c38e31c93
Remove use of PSTR
...
The PSTR is already define as a NOP for all supported platforms. It's
only needed for AVR so here we remove all the uses throughout the
codebase.
This was automated with a simple python script so it also converts
places which spans to multiple lines, removing the matching parentheses.
AVR-specific places were not changed.
9 years ago
Andrew Tridgell
458e967d06
Plane: added RPM logging
...
useful for seeing if a petrol motor is still running
10 years ago
Siddharth Bharat Purohit
aea1db7348
ArduPlane: implement on-board compass cal for arduplane
10 years ago
Stewart Loving-Gibbard
722dd29370
Plane: Moving to RSSI library for reading various kinds of RSSI, with the possibility of adding more.
...
* Retains ability to read from Analog Pin
* Adds ability to read RSSI from PWM channel value as is done in OpenLRSng, EazyUHF, and various other LRS.
* Handles any type of RSSI that provides RSSI values inverted - i.e. when the low value is the best signal and the high value is the worst signal.
* Has different key names from all existing RSSI parameters to provide for a clean break and easier distinguishing.
* Existing parameters are marked as obsolete
10 years ago
squilter
583c087eca
Plane: update severities
10 years ago
Andrew Tridgell
ac2e1552b2
Plane: don't do battery failsafe when disarmed
10 years ago
Andrew Tridgell
554869033f
Plane: disabled rangefinder on APM2
...
this saves 5k of flash space, enough for support to be kept for
another release
10 years ago
Andrew Tridgell
18c37935c9
Plane: convert from .pde to .cpp files
10 years ago
Andrew Tridgell
7f5cc97769
Plane: changed for new AP_Airspeed API
10 years ago
Andrew Tridgell
c8060cb9f7
Plane: use load factor to limit nav_roll_cd
...
this calculates the aerodymanic load factor from smoothed airspeed and
uses it to limit roll to keep it below the level where the load factor
would take us past the aerodymanic limit of the airframe
10 years ago
Andrew Tridgell
ba312856ea
Plane: provide a temperature to baro from the airspeed sensor
10 years ago
Andrew Tridgell
a6ee46086c
Plane: allow continued use of rangefinder data for 5s after loss of contact
...
this allows short outages to be ridden out
11 years ago
Andrew Tridgell
b6319a9d19
Plane: keep an estimate of the rangefinder altitude
...
only accept data when we have had 10 samples in a row in range at 50Hz
11 years ago
Andrew Tridgell
3e320d71ab
Plane: added TERRAIN_FOLLOW parameter
...
when enabled RTL, CRUISE and rally points will use terrain altitude
11 years ago
Andrew Tridgell
28e1449e8d
Plane: updates for new AP_RangeFinder API
11 years ago
Jonathan Challinger
0bc0abf02d
Plane: Supply compass with current measurement for compassmot
11 years ago
Andrew Tridgell
11337ab2df
Plane: updates for AHRS holding home position
11 years ago
Andrew Tridgell
3a986474e0
Plane: added RSSI_RANGE parameter
11 years ago
Andrew Tridgell
906fc17905
Plane: added baro and airspeed logging
...
including raw temperature and pressure values
11 years ago
Andrew Tridgell
8755747da0
Plane: only log when armed by default
...
use safety switch if arming not enabled
11 years ago
Andrew Tridgell
1124e84ae0
Plane: fixed APM1 build
11 years ago
Andrew Tridgell
5a0cb5dea4
Plane: added sonar logging to dataflash
11 years ago
Randy Mackay
9722276827
Plane: batt curr and remaining should be int16
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
c64d444b5a
Plane: integrate BattMonitor
12 years ago
Randy Mackay
ab4274aa8d
Plane: disable battery failsafe when usb connected
12 years ago