Randy Mackay
055acd2a89
Build: add description of where binaries will appear
8 years ago
Andrew Tridgell
a6ecb94d24
AP_Motors: MotorsTri does not need its own var_info now
8 years ago
Andrew Tridgell
332820aa88
Copter: fixed load of var_info for attitude_control and motors
...
we need to pass the var_info for the specific class we are using, not
the parent class.
Fixes issue #5585
thanks to Julien for noticing!
8 years ago
murata
8a32d09264
AP_Notify: Change arming time count check.
8 years ago
Pierre Kancir
83c7217911
AP_IRLock_SITL: correct packet timestamp
8 years ago
Lucas De Marchi
fd0e4164b9
AP_Notify: DiscoLED: keep includes sorted
8 years ago
Lucas De Marchi
c27c414e5a
AP_HAL_Linux: Led_Sysfs: small fixes
...
- avoid trying to close fd when it's -1
- Keep includes sorted
- AP_HAL::panic() doesn't need \n terminator
- %u requires unsigned type
- #pragma once is the first thing on a header
8 years ago
Mathieu OTHACEHE
701d91f20c
AP_Notify: Disco: use new led sysfs backend or, if not available, legacy
...
pwm backend to drive leds.
In new Disco releases, the led sysfs api will replace the pwm sysfs
api to drive the tricolor led.
Keep pwm sysfs api for compatibility reasons.
8 years ago
Mathieu OTHACEHE
7d4d14a409
AP_HAL_Linux: add Led_Sysfs class.
...
Add a class to control leds via linux sysfs API.
8 years ago
murata
dd0d09175b
AP_Beacon: Changed if statements to switch statement.
8 years ago
Mathieu OTHACEHE
bad1c879d9
AP_HAL: Bebop & Disco: move default param file path
...
In future Bebop & Disco releases, no ardupilot binary nor default param file
will be provided.
So move HAL_PARAM_DEFAULTS_PATH to ardupilot folder in RW memory.
8 years ago
Mathieu OTHACEHE
fdb2a9c99b
AP_HAL: Bebop & Disco: rename APM to ardupilot in paths
...
Rename APM to ardupilot for Bebop and Disco's HAL_BOARD_LOG_DIRECTORY and
HAL_BOARD_TERRAIN_DIRECTORY.
8 years ago
Michael du Breuil
d5a5a97a3d
SITL: Use the GPS_LEAPSECOND define
8 years ago
Michael du Breuil
c696137a42
AP_GPS: Update the number of leapseconds
8 years ago
Randy Mackay
cb1f7ba4bb
Copter: remove setting position control's altitude max
...
AC_Avoid now takes responsibility for enforcing the alt limit and accesses inertial nav's limit directly
8 years ago
Randy Mackay
62a4867cd4
Copter: use avoidance adjusted climb rate in all modes
8 years ago
Randy Mackay
b15d341850
Copter: add avoidance adjusted climb rate
8 years ago
Randy Mackay
ebbfa9391d
Copter: remove comments from package place
8 years ago
Randy Mackay
ff042528fe
AC_PosControl: remove alt_max
...
AC_Avoidance enforces the altitude limit
8 years ago
Randy Mackay
127404acea
AC_PosControl: add get_pos_z_kP accessor
8 years ago
Randy Mackay
e799e3a342
AC_Avoidance: stop based on upward facing proximity sensor
8 years ago
Randy Mackay
2133fd94ca
AC_Avoidance: adjust_velocity_z uses inav get_hgt_ctrl_limit
...
inertial navigation's get_hgt_ctrl_limit provides an altitude-above-ekf-origin limit while flying with optical flow
8 years ago
Randy Mackay
f73efd5249
AC_Avoidance: add adjust_velocity_z
...
This allows reducing the climb rate to slow the vehicle's climb so it does not breach the altitude fence
8 years ago
Randy Mackay
12dd6e11fb
AC_Avoidance: constify get_position
8 years ago
Randy Mackay
a47e215a8e
AP_Proximity: add get_upward_distance
...
This allow support for upward facing proximity sensor received through a DISTANCE_SENSOR message.
Also added SITL test
8 years ago
Randy Mackay
e7ba2420c1
AP_InertialNav: expose get_hgt_ctrl_limit to parent class
8 years ago
mirkix
d2431dafd0
AP_AHRS: fix description
8 years ago
murata
e903cb9945
AP_Math: Change mask value to hexadecimal number.
8 years ago
Peter Barker
8b38ce666d
SITL: SIM_XPlane: fix fabsf/abs warning; location alts are in integer cm
8 years ago
Peter Barker
cc86011d20
Copter: use abs() on integers; Location alts are in integer cm
8 years ago
Peter Barker
96d73affae
Copter: fix float warning; get_velocity_z() returns float
8 years ago
Peter Barker
e9a0e98863
AP_HAL_SITL: use fabs on double values
8 years ago
Julien Beraud
b561837b41
RangeFinder_Bebop: Fix mode selection
...
mistakes in selecting mode
8 years ago
Julien Beraud
8a1f4e048f
RangeFinder_Bebop: fix spi speed
...
Set spi speed. Else 0 will be sent at each transfer.
8 years ago
Pierre Kancir
e627bbc912
AP_HAL: Board fix typo for baro BMP280_SPI
8 years ago
Randy Mackay
189b766f2b
AC_AttControl: remove redundant parameter set
8 years ago
Leonard Hall
36b6218e31
Copter: integrate attitude control's set-throttle-mix-manual
8 years ago
Leonard Hall
c6d2fc3d5d
AC_AttitudeControl: add rpy mix manual
...
This allows adjusting the attitude control vs throttle level in manual
flight modes (Stabilize, ACRO)
8 years ago
Randy Mackay
becc56da0b
Copter: AP_Arming internal references start with underscore
8 years ago
Randy Mackay
f476c706f6
Copter: add override to AP_Arming_Copter::pre_arm_checks
8 years ago
Randy Mackay
cc217550c0
Copter: rename arming_checks to AP_Arming
8 years ago
Randy Mackay
a52db9f29d
Copter: fix motors_checks to AP_Arming
8 years ago
Randy Mackay
ee9588c674
Copter: fix proximity arming checks
8 years ago
Randy Mackay
b89d3564c7
Copter: move set_pre_arm_check to arming_checks
8 years ago
Peter Barker
4ea6cf4ce3
Copter: transfer old ARMING_CHECK value to new location
8 years ago
Peter Barker
ac980fdd47
Copter: use compass_checks from AP_Arming
...
User-visible changes:
- checks will fail if calibration is in progress
- PX4FMU_V1 will now have COMPASS_OFFSETS_MAX of 600, not 500
- if the primary compass is not set to be used then compass checks will always pass
8 years ago
Peter Barker
f3a31b988a
Copter: use ins_checks from AP_Arming
...
Functionality changes:
- gyros and accels only have to be consistent in last 10 seconds to pass
- ins.use_accel() is honoured when checking for consistency
- ins.use_gyro() is honoured when checking for consistency
- threshold is trippled rather than doubled for accel cal checks
- checks are reordered
8 years ago
Peter Barker
bd6ffc025e
Copter: start conversion to AP_Arming_Copter
8 years ago
Randy Mackay
ae18c25070
Copter: add AP_Arming to build
8 years ago
Randy Mackay
d35a208dae
AP_Arming: remove unused set_enabled_checks
8 years ago