Randy Mackay
21a95a3b0a
AP_Notify: Display screenpage variable made part of class
2017-01-23 15:07:20 -08:00
Randy Mackay
af514eb101
Copter: remove some comments
2017-01-23 15:07:20 -08:00
Randy Mackay
c5ba54c3fe
AP_Notify: adjust Display class structure
...
This makes the display architecture closer to our other frontend/backend splits
Added check that display is initialised successfully in hw_init
Renamed _update_timer to just _timer to make more consistent with other drivers
2017-01-23 15:07:20 -08:00
Randy Mackay
0690315814
AP_Notify: remove unused methods and member from Display
2017-01-23 15:07:20 -08:00
Randy Mackay
f0c6fd3038
AP_Notify: resolve compiler warning in Display
2017-01-23 15:07:20 -08:00
Dmitry Prokhorov
497a4bd4a5
ArduPlane: Support for OLED display by Alexey Kozin
...
https://github.com/ArduPilot/ardupilot/pull/5135
2017-01-23 15:07:20 -08:00
Dmitry Prokhorov
3e993f955e
ArduCopter: Support for OLED display by Alexey Kozin
2017-01-23 15:07:20 -08:00
Randy Mackay
9eb6d18d8e
AP_Notify: add override to display methods
2017-01-23 15:07:20 -08:00
kozinalexey
ed4115c4e3
AP_Notify: Support for OLED display by Alexey Kozin
2017-01-23 15:07:20 -08:00
Andrew Tridgell
4687785185
AP_Param: fixed a bug in default file handling
...
this fixes a bug in how default file values are handled that affects
any common sub-objects. When we had a default value for something like
SERVO12_FUNCTION then configured_in_defaults_file() would return true
for SERVO1_FUNCTION as it shares a common default value pointer
this changes the implementation to use the object pointer instead
2017-01-24 09:50:25 +11:00
Andrew Tridgell
33a84624c6
AP_AHRS: use const reference
...
save a bit of stack and CPU
2017-01-23 21:36:34 +11:00
Julien Beraud
c31522c2c3
AP_HAL_Linux: fix focal lengths calculation
...
Fixed focal length on bebop due to wrong spec.
Fix comment that had a typo.
Fixed focal length calculations on other boards that were mislead
by the typo.
2017-01-23 21:23:16 +11:00
Julien Beraud
677a2f600f
AP_OpticalFlow_Onboard: remove gyro_cb
...
Not needed anymore
2017-01-23 21:23:16 +11:00
Julien Beraud
710875d3b9
OpticalFlow_Onboard: remove gyro cb
...
Not used anymore
2017-01-23 21:23:16 +11:00
Julien Beraud
c08587fb09
AP_HAL_Empty: adapt to new api
...
Removed gyro_cb in HAL interface
Added 2 new methods
2017-01-23 21:23:16 +11:00
Julien Beraud
4646428ac0
AP_HAL: remove ahrs cb from opticalflow
...
Not needed anymore
2017-01-23 21:23:16 +11:00
Julien Beraud
305239b467
AP_OpticalFlow_Onboard: fix scale in gyro calculation
...
Scale was wrong due to incorrect gyro integration
2017-01-23 21:23:16 +11:00
Julien Beraud
59404f686d
OpticalFlow_Onboard: add gyro integration support
...
Integrate the gyro values pushed by the inertial sensor backend using
bias values sent by EKF.
Use the unblocking RingBuffer to avoid locking the callers.
2017-01-23 21:23:16 +11:00
Julien Beraud
d2afa1cac8
AP_AHRS_NavEKF: Push gyro bias for optical flow
...
Push gyro bias for optical flow usage only if there is an optical
flow declared in the HAL
2017-01-23 21:23:16 +11:00
Julien Beraud
3d9dacb227
AP_InertialSensor: push gyro data for opticalflow
...
Do it only if there is an optical flow in the current HAL
2017-01-23 21:23:16 +11:00
Julien Beraud
8a57e1a4a7
AP_HAL: Add methods for optical flow
...
Add methods to push gyro and gyro biases to perform a good
optical flow
2017-01-23 21:23:16 +11:00
Julien Beraud
a5523a4b94
Frame_Params: Remove unexisting param
...
FRAME has disappeared and causes a crash at startup
2017-01-23 21:23:16 +11:00
Andrew Tridgell
77950301ed
SRV_Channel: fixed set_default_function()
2017-01-23 10:35:26 +11:00
Peter Barker
acb5ddd140
GCS_MAVLink: issue MISSION_COUNT packet if seq request too large
2017-01-23 09:07:29 +11:00
murata
34e491f168
AP_Notify: Add a NULL pointer check.
2017-01-22 23:05:53 +01:00
Andrew Tridgell
19b21b4012
autotest: fixed quadplane-tilttri params
2017-01-22 19:43:42 +11:00
Andrew Tridgell
09c969477f
AP_AHRS: fixed fallback to DCM for get_position
...
this fixes dead-reckoning on fixed wing on GPS loss, and fallback to
DCM on loss of EKF position in fixed wing
This was broken by the EKF3 merge
2017-01-22 13:40:46 +11:00
Francisco Ferreira
d472fbde0c
AP_GPS: fix PX4 GPS driver leap seconds
2017-01-21 21:59:36 +00:00
Peter Barker
591bb32496
AP_Mission: correct off-by-one check when fetching mission items
2017-01-21 15:30:11 +09:00
Randy Mackay
53d1585ebf
Compass: relax compass consistency checks for pixracer
2017-01-21 12:10:00 +09:00
Randy Mackay
0c4e3cd8e4
Compass: pixracer calibration fitness default relaxed
2017-01-21 10:15:11 +09:00
Andrew Tridgell
b27e4dbd0c
autotest: added FRAME_CLASS for gazebo-iris
2017-01-20 21:19:55 +11:00
Peter Barker
01b1916de5
Copter: ensure logging is working as part of prearm
2017-01-20 17:03:45 +09:00
Peter Barker
e7d3219a58
Copter: check all channels have been configured, not just throttle
2017-01-20 13:02:53 +09:00
Peter Barker
d2b2ddcb02
RC_Channel: make min_max_configured const
2017-01-20 13:02:53 +09:00
Peter Barker
a481e52861
AP_Param: make configured() const
2017-01-20 13:02:53 +09:00
Peter Barker
ab13b3beaf
Copter: make rc checks verbose on failure
2017-01-20 13:02:53 +09:00
Peter Barker
078866046a
Copter: correct rc-arming checks concerning trims
...
Trims should always be between min and max
2017-01-20 13:02:53 +09:00
Randy Mackay
fdc536e024
Build: update build.md to add bebop2 instructions
2017-01-20 12:16:30 +09:00
Randy Mackay
055acd2a89
Build: add description of where binaries will appear
2017-01-20 11:24:34 +09:00
Andrew Tridgell
a6ecb94d24
AP_Motors: MotorsTri does not need its own var_info now
2017-01-20 12:05:09 +11:00
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!
2017-01-20 12:05:09 +11:00
murata
8a32d09264
AP_Notify: Change arming time count check.
2017-01-19 17:42:46 +00:00
Pierre Kancir
83c7217911
AP_IRLock_SITL: correct packet timestamp
2017-01-19 17:08:43 +00:00
Lucas De Marchi
fd0e4164b9
AP_Notify: DiscoLED: keep includes sorted
2017-01-19 08:59:00 -08:00
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
2017-01-19 08:56:32 -08:00
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.
2017-01-19 08:24:48 -08:00
Mathieu OTHACEHE
7d4d14a409
AP_HAL_Linux: add Led_Sysfs class.
...
Add a class to control leds via linux sysfs API.
2017-01-19 08:24:47 -08:00
murata
dd0d09175b
AP_Beacon: Changed if statements to switch statement.
2017-01-19 11:26:32 +09:00
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.
2017-01-18 18:08:01 +00:00