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
Lucas De Marchi
5809e2465b
AP_RPM: replace board ifdef with feature ifdef
8 years ago
Lucas De Marchi
f91d23daab
AP_HAL: add HAL_PX4_HAVE_PWM_INPUT
8 years ago
Lucas De Marchi
7c246847de
AP_HAL_PX4: replace board ifdef with feature ifdef
8 years ago
Lucas De Marchi
7ca9c7a443
AP_HAL: add HAL_HAVE_SAFETY_SWITCH
8 years ago
Lucas De Marchi
ef1672befc
AP_BoardConfig: replace board ifdef with feature ifdef
8 years ago
Lucas De Marchi
d3e9f7ce66
AP_HAL: add HAL_PX4_HAVE_PX4IO
8 years ago
Lucas De Marchi
7f5b551050
AP_HAL: add HAL_PX4_HAVE_MTD_SUPPORT
8 years ago
Lucas De Marchi
c7fc3ffbc4
AP_HAL: add HAL_HAVE_BOARD_VOLTAGE
8 years ago
Lucas De Marchi
37a050eed9
AP_HAL: add comments and allow for board overrides
8 years ago
Lucas De Marchi
2e4e4365d0
AP_InertialSensor: enable fast sampling for aerofc
8 years ago
Lucas De Marchi
9a83f05714
AP_BoardConfig: enable voltage monitoring on aerofc
8 years ago
Lucas De Marchi
7c1f255258
AP_HAL_PX4: add pin to monitor battery
8 years ago
Lucas De Marchi
5787b5a5c5
AP_Compass: IST8310: rename macros
...
Having "BIT" in the name gives the impression we are using the macro is
the bit position; however they have the values for those actions, not
the bit position. Rename BIT to VAL to be less confusing.
8 years ago
Lucas De Marchi
4bba643abb
AP_Compass: IST8310: use variable periodic callback
...
This is the equivalent of sleep and wait for the conversion time,
after had triggered a new sample request. However it also has the added
benefits of sharing a thread with other sensors on the same bus.
Now we don't read the status register anymore since we have a guaranteed
wait time.
8 years ago
Lucas De Marchi
ce1a13aa8f
AP_Compass: IST8310: use FSR to reject samples
8 years ago
Lucas De Marchi
d84851d8fa
AP_Compass: IST8310: improve initialization
...
- Make sure device is reset while initializing.
- Give better names to register macros
- Average X, Y and Z by 16: sensor is internally running at 200 sps
(theoretical, ~160 pratical). The wait time is ~6msec averaging
by 16. We do 10msec.
8 years ago
Tom Pittenger
c0691afc1f
AP_Compass: reject outlier data in IST8310 data by detecting >14bit data
8 years ago