Peter Barker
510aa587ef
DataFlash: add validation for logging structures
8 years ago
Peter Barker
2746edfd32
DataFlash: move Init from LogFile.cpp to Dataflash.cpp (NFC)
8 years ago
Andrew Tridgell
9e2cfabb8a
AP_RPM: support RPM input on any AUX pin
8 years ago
Peter Barker
564ff3a468
GCS_MAVLink: always allow HOME to be read by MISSION_REQUEST
...
Fixes #5980
8 years ago
Andrew Tridgell
fafd940dd5
AP_Arming: use compass get_offsets_max()
8 years ago
Andrew Tridgell
ee2afd3242
AP_Compass: added COMPASS_OFFS_MAX
...
this allows setup of airframes with hatch magnets
8 years ago
Jacob Walser
98b7dac870
AP_ServoRelayEvents: Remove constraint on 'channel' value
...
This was preventing proper function of Relay #0 , and the intention of
this check was redundant
8 years ago
Andrew Tridgell
6ec32472c5
AP_Airspeed: average two readings for airspeed
...
given we're using it to check for errors, we may as well reduce analog
noise too
8 years ago
Peter Barker
724be3878c
AP_HAL_PX4: correct output of system-id on px4-v3
8 years ago
Andrew Tridgell
a11dca5229
AP_AHRS: added optional skip_ins_update to AHRS::update()
...
avoid the ins update if already done in copter fast_loop()
8 years ago
Andrew Tridgell
02976168cc
HAL_PX4: fixed RC rate when BRD_PWM_COUNT=0
...
if BRD_PWM_COUNT is zero then alt_fd is -1, and we were not setting
servo output rate
8 years ago
Andrew Tridgell
c952e58edb
AP_InertialSensor: fixed invensense driver temp reading
...
different parts have quite different zero offsets in temperature
8 years ago
Michael du Breuil
4932a8b9ef
Airspeed: Sanity check MS4525DO data, and utilize a double read
8 years ago
Sriram Sami
8bb052d019
AP_Motors: update descriptions for new parameters
8 years ago
Sriram Sami
1793bac8d4
AP_Motors: add parameters for HELI_DUAL
...
- add COL2_MIN/MID/MAX parameters that control limits of rear swashplate
- output collective_mid correctly for rear swashplate when servo is in manual mode
8 years ago
Peter Barker
d3b442d8b6
DataFlash_MAVLink: remove dead comments
8 years ago
Peter Barker
d8c475ad04
DataFlash: use override keyword on many methods
8 years ago
Andrew Tridgell
6c31a6982b
DataFlash: added Log_Write_AttitudeView
8 years ago
Andrew Tridgell
5f02b7eddb
AP_AHRS: added get_error_rp and get_error_yaw to AHRS_View
8 years ago
Peter Barker
4cb43b1c27
DataFlash: correct repeated FMT logging bug
8 years ago
Randy Mackay
dcc4f69f7c
AP_BattMonitor: confirm pec support before attempting to read voltage
...
Previously we checked PEC support continuously at 10hz. With this change PEC support (or lack of support) is determined first before we try to read from the battery. Once determined, we do not repeat the checks.
Also simplified logic to determine PEC support based on version (should have no functional effect)
Also renamed get_pec_support to check_pec_support
Also renamed _pec_confirm to _pec_confirmed
8 years ago
Randy Mackay
884892be16
AP_BattMonitor: const some temp variables
...
Also other minor changes in response to peer review
8 years ago
Tatsuya Yamaguchi
6b4a46d467
AP_BattMonitor: fix to use the return value of get_pec_support
8 years ago
Tatsuya Yamaguchi
b052f96f6c
AP_BattMonitor: check a PEC support using SpecificationInfo
8 years ago
Randy Mackay
eded4f90bb
GCS_MAVLink: timesync sends nanoseconds
8 years ago
Randy Mackay
eddd6e5681
GCS_MAVLink: only respond to timesync messages with empty tc1
...
This avoids the possibility of a timesync message storm
Also process as a common message because no vehicle information is required
Moved location of new method to bottom of cpp file
8 years ago
fnoop
fdc310fe97
GCS_MAVLink: add TIMESYNC message handler
8 years ago
Francisco Ferreira
ec5bbbd2d0
DataFlash: fix BAR2 and BAR3 message format after baro log struct changed
8 years ago
Guilherme Sousa
584890a864
AP_HAL_SITL: Fail motors with SIM_ENGINE_FAIL
8 years ago
Guilherme Sousa
204fcba8c1
SITL: Added SIM_ENGINE_FAIL to define failed motor
8 years ago
Jonathan Challinger
9979e4bbe5
AC_PrecLand: fix usage of distance_to_target
8 years ago
Jonathan Challinger
a772e1bd3d
AC_PrecLand: add parameters for camera position relative to the CG
8 years ago
Randy Mackay
8f1d122766
AC_PrecLand: add ACC_P_NSE parameter
8 years ago
Randy Mackay
5dd5c22c39
AC_PrecLand: build IRLock on all boards
8 years ago
Randy Mackay
1fb6d468c6
AC_PrecLand: non functional changes including adding comments
8 years ago
Jonathan Challinger
2a29d7fedd
AC_PrecLand: rework estimation, add EST_TYPE param
8 years ago
Jacob Walser
1ad10d0903
AP_JSButton: Add button function to toggle between forward/lateral and
...
roll/pitch adjustment
8 years ago
Jacob Walser
b70ec54083
AP_JSButton: Fix indices in comment
8 years ago
Jacob Walser
ea054e322b
AP_JSButton: Add servo min/max functions
8 years ago
Jacob Walser
ca651ea8fa
AP_JSButton: Add buttons for servo adjustments
8 years ago
Michael du Breuil
16433cbf7a
DataFlash: Log the ground temperature used for baro calculations
8 years ago
Michael du Breuil
c37209a8d5
AP_Baro: Limit ground temperature used for the altitude
...
Fix an incorrect EAS2TAS that was double counting altitude
8 years ago
Andrew Tridgell
1ad5e1db4e
AP_Motors: integrate AP_MotorsHeli_Dual
...
fixed issues with combining with Heli_Single
8 years ago
Fredrik Hedberg
998231ab0d
AP_Motors: added AP_MotorsHeli_Dual
...
for tandem and transverse helis
8 years ago
Andrew Tridgell
47803e73e4
AP_Param: allow for dynamic var_info tables
...
this allows the var_info entry in a table to be a constant pointer,
allowing the selection of a type for a parameter class at runtime.
8 years ago
Randy Mackay
c1a25c25f7
AC_Fence: return failure message
8 years ago
Randy Mackay
8171645876
AC_Fence: pre-arm check requires GPS if polygon fence enabled
8 years ago
Randy Mackay
69925d8b27
AP_Arming: shorten Accels failure message
...
This allow the message to fit on the MP HUD
8 years ago
Jonathan Challinger
c7a73e84d6
AP_NavEKF3: apply height innovation floor only when barometer is in use
8 years ago
Jonathan Challinger
c53125f3b5
AP_NavEKF2: apply height innovation floor only when barometer is in use
8 years ago