Georgii Staroselskii
56534b34c5
AP_HAL_Linux: use GPIO_Sysfs for Navio
...
/boot/config.txt: dtoverlay=navio-rgb should be disabled for this thing
to work, though.
7 years ago
Georgii Staroselskii
4e02637f23
AP_Notify: add Led_Sysfs and use in Navio2
...
Navio2 exports its leds via /sys/class/leds interface. We reuse it in
order not to conflict with GPIO_Sysfs. Otherwise we'd get a Device Busy
error in GPIO_Sysfs::_export_pin().
7 years ago
Georgii Staroselskii
5254ee03c2
AP_HAL_Linux: use GPIO_Sysfs for Edge
7 years ago
Georgii Staroselskii
8fcd30c611
AP_HAL_Linux: use GPIO_Sysfs for Navio 2
7 years ago
Peter Barker
fd543fce6d
AP_Scheduler: create AP::PerfInfo class
7 years ago
Peter Barker
5c2f68e8f5
Copter+AP_Scheduler: move perf_info.cpp into Scheduler
7 years ago
Peter Barker
b97ee33438
DataFlash: AP_Camera functions use GPS singleton
7 years ago
Peter Barker
7258fa81d9
AP_Camera: use GPS singleton
7 years ago
Leonard Hall
ebd864d2d2
AC_PosControl: minor update to comments
7 years ago
Peter Barker
269294754f
GCS_MAVLink: use gps singleton
7 years ago
Peter Barker
a8aa6a7822
AP_Arming: use gps singleton
7 years ago
Peter Barker
693823ae0d
AP_GPS: add gps() to AP:: namespace
7 years ago
Randy Mackay
6315e6eb45
AC_AttitudeControl: remove unused get_tilt_limit_rad
7 years ago
DOMINATOR\Eugene
4c6f954cdf
AP_BoardConfig: separation of parameter groups
7 years ago
André Kjellstrup
1a63fd85d8
AP_Camera: Option to trig by distance only when in AUTO mode
7 years ago
khancyr
4413ebab7b
AP_HAL_SITL: suppress output until initialization is finished
7 years ago
Jacob Walser
07fa65a88c
AP_HAL_SITL: Add current and voltage monitoring implementation for Sub
7 years ago
khancyr
2a25011b14
AR_AttitudeControl: const local variables
7 years ago
Peter Barker
23882aaab0
AP_Notify: only play not-ready-or-not-finished tone if we've been ready
7 years ago
Peter Barker
25a0e6378e
AP_Arming: manual transmitter checks call rc calibration checks
7 years ago
Peter Barker
49dd5f4f80
Copter: prearm board voltage checks are called in parent class
7 years ago
Peter Barker
30c1a040d7
Copter: prearm baro checks are called in parent class
7 years ago
Peter Barker
901fe55d04
AP_Notify: play sad tone if prearm checks start to fail
7 years ago
khancyr
76a6649a2d
AP_Autotune: remove unimplemented function
7 years ago
khancyr
e9e1dac188
AR_AttitudeControl: remove unused skid_steering arg from get_throttle_out
7 years ago
khancyr
aa09541847
AR_AttitudeControl: const ahrs reference
7 years ago
khancyr
d226ffeeb2
AP_AttitudeControl: remove tabs
...
non-functional change
7 years ago
Daniel Widmann
49887235df
AR_AttitudeControl: get_steering_out methods accept reverse argument
7 years ago
bnsgeyer
63bafa2c7f
AP_Motors: Tradheli- fixes servo_test function for Dual Heli frame
7 years ago
proficnc
6a94d285de
AP_BoardConfig: fixed description to warn against
...
setting the wrong heater value in params
7 years ago
Michael du Breuil
ef0b52e017
AP_Arming: Run extra GPS checks when arming
7 years ago
Michael du Breuil
236e74c529
AP_GPS: Singleton
7 years ago
Michael du Breuil
c856cc6f33
AP_GPS: Allow GPS's to run functions on arming (used by SBF)
...
Supports starting/stopping GPS logging
7 years ago
Andrew Tridgell
c9652fec3c
AP_BattMonitor: fixed SITL segfault
7 years ago
Andrew Tridgell
274e441292
DataFlash: fixed build for aerofc-v1
7 years ago
Andrew Tridgell
6358081b18
AP_Motors: apply tailsitter min spin to both motors
7 years ago
Michael du Breuil
338d745de1
AP_Landing: Implement is_on_approach for deepstall
...
(Fixes a disarm in flight)
7 years ago
Andrew Tridgell
878d2e2563
AP_Motors: fixed tailsitter use of SPIN_MIN
7 years ago
alexshirley
8058fdf093
AP_HAL_Linux: combine ppm and sbus on ocpoc_zynq
...
Removes compile-time selection of RCInput driver for ocpoc_zynq.
PPM and SBUS input are now colocated on the ocpoc board, and it
only needs to run RCInput_ZYNQ. Pulse input is also inverted
to accommodate SBUS input, which has no effect on PPM input.
7 years ago
alexshirley
065b00eb81
AP_HAL: Remove SBUS macro from ocpoc target
7 years ago
Randy Mackay
002d3f08f6
AP_L1_Control: update_waypoint zeros xtrack i term on init
7 years ago
Andrew Tridgell
eab1d3af4f
AP_InertialSensor: don't apply offsets in SITL backend
...
the offsets are applied in the rotate and correct methods
7 years ago
bnsgeyer
37ea64513d
AP_Motors: TradHeli - fixed servo test function
7 years ago
Paulo Neves
4108f22304
AP_Beacon: Corrected possible use of nullptr memory.
...
The check for UART port pointer is not sufficient
to know if the update() was possible or not. When
MarvelmindHedge construction failed, the hedge pointer
might be a nullptr and there are no checks to avoid
nullptr dereference.
The MarvelmindHedge structure had complex initialization
but was done in a C style, with intermixed initialization functions.
malloc() was changed to cleaner new operator. Given that the
file already contained new operator calls it didn't make
sense to have a mix. The files are cpp so C++ operators
are used.
7 years ago
Patrick José Pereira
73a76455d2
AP_BattMonitor: Solve typo in BATT2 description
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Lucas De Marchi
cbb9dcc2a1
AP_HAL_Linux: Storage: use define from HAL for directory
7 years ago
Lucas De Marchi
7fd10921c3
AP_HAL: Linux: add define for storage dir
...
This mantains compatibility with what the boards were already using,
except for Aero and Minlure in which I'm changing it already as this is
desired.
7 years ago
Lucas De Marchi
3272ae2c04
DataFlash: make log directory macro mandatory
...
Everybody defines the macro (or should be defining). Let smaller users
that don't have a filesystem to rather protect it with HAL_OS_POSIX_IO,
which also allow them to save more flash space.
7 years ago
Lucas De Marchi
591b846e2d
AP_HAL: switch aero and minlure to new log/terrain directory
...
Additionally make Edge use the default.
7 years ago
Lucas De Marchi
d2ba8409d0
AP_HAL: provide default directory for Linux boards
...
/var/lib/<project> is more in line to where projects save their data.
Also, remove APM from dir name as it should had been done some time
ago.
This is only the default (and recommended for any new board). Existing
boards that want to adopt the default can remove their defines.
7 years ago