samuelctabor
4cbff71689
AP_Soaring: Separate the vario functionality into a seperate class from the soaring/thermalling functionality.
2017-06-07 20:10:03 +10:00
Andrew Tridgell
c9e140a946
AP_Terrain: removed unused variable
2017-06-07 19:59:14 +10:00
Michael du Breuil
3e2b5269a6
AP_Terrain: fix Coverity issue 91367
...
Also converts to using the get_relative_position_D_home() functions rather then attempting to derive home itself
2017-06-07 19:58:45 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas
14b214eb9b
Plane: remove FS parameters default values macros.
...
They just add an un-necessary level of indirection in the code. The parameters are run-time configurable now.
2017-06-07 17:46:39 +10:00
Andrew Tridgell
6a01494d4a
AP_HAL: fixed setting of HAL_MINIMIZE_FEATURES for FMUv3
2017-06-07 17:39:45 +10:00
Andrew Tridgell
d946d5da6f
AP_Compass: enable AK09916 inside a ICM20948
...
the ICM20948 has an AK09916 which can be accessed via I2C bypass
2017-06-07 17:39:45 +10:00
Randy Mackay
5936fc1ff8
Sub: compass set-initial-location uses ahrs location
...
Previously it could attempt to use a gps location even if gps was not being used
Also compass-accumulate moved to sensors.cpp
2017-06-07 13:01:38 +09:00
Randy Mackay
7bae493138
Sub: consolidate set_home functions
...
added lock argument instead of having twice as many functions
no functional change
2017-06-07 13:01:38 +09:00
Randy Mackay
cb76bd8f3d
Copter: compass set-initial-location uses ahrs location
...
Previously it could attempt to use a gps location even if gps was not being used
Also compass-accumulate moved to sensors.cpp
2017-06-07 13:01:38 +09:00
Randy Mackay
814cadac68
Copter: consolidate set_home functions
...
added lock argument instead of having twice as many functions
no functional change
2017-06-07 13:01:38 +09:00
Lucas De Marchi
d02013c91b
build: aerofc-v1: add default param file into ROMFS
2017-06-06 18:42:17 -07:00
Lucas De Marchi
f6d43aea25
build: px4: allow to embed defaults file into ROMFS
2017-06-06 18:42:17 -07:00
Lucas De Marchi
eb70dbc6f5
AP_HAL: add HAL_OS_POSIX_IO for aerofc-v1
...
What aerofc-v1 doesn't have is an sdcard, but it has posix-like API as
it's running on top of NuttX.
2017-06-06 18:42:17 -07:00
Randy Mackay
ec491d3c6b
Copter: init_compass get g.compass_enabled check
...
No functional change
2017-06-07 10:34:13 +09:00
murata
ac8234cdf0
AP_Notify: Change to the value of boolean.
2017-06-07 08:06:44 +09:00
Andrew Tridgell
4934ef1bae
PX4Firmware: submodule update
...
allow changing of baudrate in upload
2017-06-07 06:41:32 +10:00
Andrew Tridgell
c2fad4d466
mavlink: submodule update
...
fixed off by one error in accel cal reporting
2017-06-07 06:41:05 +10:00
Randy Mackay
33ef3bd51d
AP_Proximity: MAV driver gets distance validity check
2017-06-06 20:41:54 +09:00
Randy Mackay
1409f0ca7e
DataFlash: rename CURR/CUR2 to BAT/BAT2
2017-06-06 14:57:04 +09:00
Randy Mackay
26845cc66a
DataFlash: add resting voltage and resistance to current logging
...
also log cell voltages in separate message
2017-06-06 14:57:04 +09:00
Leonard Hall
8def1d257e
Copter: pass battery resistance estimate to motors
2017-06-06 14:57:04 +09:00
Leonard Hall
9e86732edc
AP_Motors: accept external battery resistance estimate
2017-06-06 14:57:04 +09:00
Randy Mackay
7a2d8fd5fd
AP_BattMonitor: add has_cell_voltages method
2017-06-06 14:57:04 +09:00
Randy Mackay
6d8dc0fccf
AP_BattMonitor: replace int with uint8_t
...
non-functional change
2017-06-06 14:57:04 +09:00
Leonard Hall
d5e898156f
AP_BattMonitor: allow using resting voltage for failsafe
2017-06-06 14:57:04 +09:00
Leonard Hall
8709fe58ec
AP_BattMonitor: resistance learning
2017-06-06 14:57:04 +09:00
Randy Mackay
f64777849f
AP_BattMonitor: rename VOLT_TIMER to LOW_TIMER
2017-06-06 14:57:04 +09:00
Randy Mackay
989677ddfd
AP_BattMonitor: move has_current to backend
2017-06-06 14:57:04 +09:00
Matt
f02bfab7fe
AP_Notify: OreoLED rework
...
Reworked the process flow. Created the aviation vs rover themes.
Created visual operator feedback for prearm checks, GPS, EKF, gyro init,
radio failsafe, and low battery. This also includes work by Hugh Eaves
to open up the full extended properties of the Oreo LEDs. Not only are
far more functions available, but you can override and do custom things
via mavlink.
2017-06-06 12:59:03 +09:00
Matt
34d305083d
AP_Notify: Complete rework of notify device selection
...
Jaime did the hard work on this one. He reworked notify device
selection to take place on init rather than on compile like before. The
notify decivces are mostly set on compile using preprocessor directives
based on board type. I created NTF_OREO_THEME. This will allow the
user to enable/disable the OreoLED driver. And it also allows you to
select between aircraft and rover lighting themes. This allows the Solo
to use the OreoLEDs, and doesn't waste the memory on vehicles not
equipped with Oreo LEDs. The OreoLED driver is restricted to Pixhawk 2
FCs by proprocessor directive due to memory constraints. So it will
never work by accident on another board.
There is also a new notify flag for GPS Fusion. This flag is true when
the EKF is happy with the GPS, actively using it for position
information.
2017-06-06 12:58:28 +09:00
Matt
6354ca7096
AP_AHRS: Set the new gps_fusion notify flag
...
Uses EKF filter state to set the new gps_fusion notify flag. This allows
the GCS and notify devices to specifically be notified if the GPS is or
is not usable.
2017-06-06 10:38:42 +09:00
Matt
545e417348
AP_Notify: Remove solo specific tones, align with px4 tones
...
Evaluated solo specific tones file vs standard px4 tones files. The
only thing the Solo had that standard ArduPilot does not have is the GPS
unplugged tone and the power off tone.
* Some tones have a different tune, which is fine. We want the Solo to
sound like ArduPilot if it is running ArduPilot.
* GPS unplugged tone abandoned. Determined to be unnecessary.
* Power off tone merged into standard px4 tones file. Smart battery
signalling a power off will make use of this tone. Has application for
any smart battery equipped vehicle, not just Solo.
* Removed all references and dependencies to `ToneAlarm_PX4_Solo.cpp`
and `ToneAlarm_PX4_Solo.h`
* Deleted `ToneAlarm_PX4_Solo.cpp` and `ToneAlarm_PX4_Solo.h` since
they're no longer needed.
2017-06-06 10:38:40 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
771d2fb13c
Rover: Be more explicit that a SPEED_TURN_GAIN value of 80% reduces "to 80%" and not "by 80%"
2017-06-06 11:34:52 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas
65cca6ae87
SRV_Channel: Improve the PWM parameters descriptions
2017-06-06 11:06:26 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas
ed07d5b5c9
RC_Channel: Improve the PWM parameters descriptions
2017-06-06 11:06:26 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas
2c867ec362
AP_RSSI: Improve the PWM parameters descriptions
2017-06-06 11:06:26 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas
89a0d2aa3b
AP_Parachute: Improve the PWM parameters descriptions
2017-06-06 11:06:26 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas
1b062d9d29
AP_Motors: Improve the PWM parameters descriptions
2017-06-06 11:06:26 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas
eebf26ed9f
AP_LandingGear: Improve the PWM parameters descriptions
2017-06-06 11:06:26 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas
d1f9633ed2
AP_Landing: Improve the PWM parameters descriptions
2017-06-06 11:06:26 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas
1ad5e58eb7
AP_Gripper: Improve the PWM parameters descriptions
2017-06-06 11:06:26 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas
67620e87f0
AP_Camera: Improve the PWM parameters descriptions
2017-06-06 11:06:26 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas
47514e275d
Sub: Improve the PWM parameters descriptions
2017-06-06 11:06:26 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas
f8aa91681e
Copter: Improve the PWM parameters descriptions
2017-06-06 11:06:26 +10:00
Jonathan Challinger
2e07f8824e
AP_Motors: reserve parameter index 38
2017-06-06 08:45:37 +09:00
cafoo
3e3db064d3
Tools: add my name to Git_Success.txt
2017-06-05 20:33:20 +09:00
Peter Barker
d56eca036d
AC_AttitudeControl: correct parameter markup
2017-06-05 21:02:30 +10:00
Michael du Breuil
87c076da4d
ArduPlane: Fix missing break in GCS_MAVLink
...
Was causing AOA_SSA to send a landing message as wel
2017-06-05 13:12:01 +09:00
priseborough
1985dcd366
AP_NavEKF2: Fix bug in declination fusion
2017-06-03 15:16:25 +01:00
Lucas De Marchi
2e096d76c6
sparse-endian: avoid clash with linux/types.h
...
On recent kernels (>= 4.10) __bitwise is defined on the header. Avoid
warning about redefining it.
2017-06-02 11:26:02 -07:00