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.
2017-10-30 16:57:37 -07:00
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.
2017-10-30 16:57:37 -07:00
Lucas De Marchi
591b846e2d
AP_HAL: switch aero and minlure to new log/terrain directory
...
Additionally make Edge use the default.
2017-10-30 16:57:37 -07:00
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.
2017-10-30 16:57:37 -07:00
priseborough
c96bc54254
AP_NavEKF3: correctly use wheel odometry speed for pitched rovers
2017-10-31 08:11:05 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
68828511cd
AP_GPS: Only send GPS*_RTK mavlink messages if the backend supports them
2017-10-30 18:28:20 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas
e0c2a45eec
AP_GPS: support GPS_RTK and GPS2_RTK messages in Emlid reach modules. Requires Reach FW >= 2.7.4
2017-10-30 18:28:20 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas
c0dd7984ad
AP_GPS: Publish information on the GPS*_RTK mavlink messages
2017-10-30 18:28:20 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas
bf6778277e
AP_GPS: implement GPS*_RTK mavlink messages
2017-10-30 18:28:20 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas
91b6404b13
GCS_MAVLink: Replace hardcoded duplicated end_mavlink_gps*_rtk() function with a flexible one
2017-10-30 18:28:20 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas
430b863f42
AP_GPS: Replace hardcoded duplicated end_mavlink_gps*_rtk() function with a flexible one
2017-10-30 18:28:20 +00:00
Andrew Tridgell
84e5cd7e14
Plane: update release notes for 3.8.3beta1
2017-10-30 18:46:51 +11:00
Andrew Tridgell
1085069851
Plane: use WP_LOITER_RAD if RTL_RADIUS is 0 for QRTL
2017-10-30 16:52:19 +11:00
Andrew Tridgell
aa430a6e2c
Plane: use RTL_RADIUS for QRTL threshold
...
when Q_RTL_MODE=1 in a quadplane use RTL_RADIUS as the distance to
switch to QRTL mode. We navigate to the destination using direct
waypoint navigation instead of using a loiter circle.
2017-10-30 16:30:38 +11:00
Andrew Tridgell
552faa8f67
Plane: smoother tailsitter transitions
...
this smooths out tailsitter transitions in both directions, adding a
new FW to VTOL transition state
2017-10-30 16:30:38 +11:00
Andrew Tridgell
c24ee9192b
Plane: prevent a float exception at pitch 90
...
this can happen with a tailsitter
2017-10-30 16:30:38 +11:00
Andrew Tridgell
214434a2d7
Plane: fixed tailsitter ANGLE_WAIT transition
...
we need vtol control during transition from hover to fwd flight
2017-10-30 16:30:38 +11:00
Andrew Tridgell
af893ddde7
Plane: implement Q_OPTIONS
...
this allows for NAV_TAKEOFF to be treated as NAV_VTOL_TAKEOFF in
quadplanes, and for level flight to be maintained during quadplane
transitions
2017-10-30 16:30:10 +11:00
Andrew Tridgell
02f8d888c3
Plane: relax controllers when disarmed
...
this prevents any remaining integrator from a previous flight stage from
affecting flight across a disarm
2017-10-30 16:30:10 +11:00
John deVere
951c947bec
AP_Arming: update param description for VOLT_MIN
2017-10-30 09:46:51 +09:00
Andrew Tridgell
fd86b2bbb9
DataFlash: log critical messages while disarmed
...
this logs critical messages while disarmed if we have logged any
messages while armed. This fixes issue #7010 where log files show the
incorrect mode if the log includes any portions where the user
disarmed. It makes analysing users logs very difficult. It also
affects parameters, so we don't always know the true parameter values
in logs from users.
2017-10-29 19:20:57 +11:00
Randy Mackay
7fb4f17ad9
Rover: 3.2.0-rc2 release notes
2017-10-28 15:16:11 +09:00
Michael du Breuil
9b7c3ce9a7
GCS_Mavlink: Fix out of bounds access, CID 144337
2017-10-28 03:30:46 +01:00
priseborough
ee6b43aabf
AP_NavEKF3: Fix bugs in use of wheel encoder data
...
Found by pavloblindnology
2017-10-28 10:58:01 +09:00
bnsgeyer
6d0cfc13a2
Copter: heli: Update swashplate behavior
...
change swashplate behavior on ground in Acro, Stabilize, and AltHold
flight modes. See discussion here:
https://discuss.ardupilot.org/t/tradheli-swashplate-behavior-while-on-the-ground-and-potential-fix-to-issue-5396/22463/18
2017-10-28 12:31:06 +11:00
bnsgeyer
e8173f27df
AC_AttitudeControl: reset target attitude
...
added method to reset current vehicle attitude to support swash
behaviors in Trad Heli
2017-10-28 12:31:06 +11:00
dheideman
99f63d63e8
Sub: Add joystick button functions for relays 3 & 4
2017-10-27 12:14:41 -04:00
dheideman
2fab8e9fe1
AP_JSButton: Add joystick button functions for relays 3 & 4
2017-10-27 12:14:41 -04:00
Florent Martel
fee79afb8e
AP_Frsky_Telem: add second battery info
2017-10-27 02:00:29 -07:00
Florent Martel
5d9299d72f
AP_Frsky_Telem: add second battery capacity parameter
2017-10-27 02:00:29 -07:00
Peter Barker
191e457230
DataFlash: include sample count in ISBH
2017-10-27 16:33:45 +11:00
Peter Barker
b997f445ff
AP_InertialSensor: include sample count in ISBH
2017-10-27 16:33:45 +11:00
Peter Barker
8c03425f37
Tools: enable INS batch logging during Rover autotest
2017-10-27 16:33:45 +11:00
Peter Barker
d49be616da
Plane: call ins's periodic function
2017-10-27 16:33:45 +11:00
Peter Barker
6d32fb7f2a
Sub: call ins's periodic function
2017-10-27 16:33:45 +11:00
Peter Barker
b59c272996
Tracker: call ins's periodic function
2017-10-27 16:33:45 +11:00
Peter Barker
2d0a23fcc8
Rover: call ins's periodic function
2017-10-27 16:33:45 +11:00
Peter Barker
c7216a2740
Copter: call ins periodic function
2017-10-27 16:33:45 +11:00
Peter Barker
9566abb3a8
AP_InertialSensor: add IMU batch sampling
2017-10-27 16:33:45 +11:00
Peter Barker
5096e2fca9
AP_InertialSensor: use df singleton, factor out log_{gyro,accel}_raw
2017-10-27 16:33:45 +11:00
Peter Barker
1ca76173a5
AP_Math: set radians(...) and degrees(...) as constexpr
2017-10-27 16:33:45 +11:00
Peter Barker
d950e78079
DataFlash: Log_ISBH and Log_ISBD, to log batches of IMU data
2017-10-27 16:33:45 +11:00
Peter Barker
2f9a8ded55
DataFlash: add new int16_t[32] type, designator 'a'
2017-10-27 16:33:45 +11:00
Jacob Walser
eabc608b2e
Sub: cleanup unused variable
2017-10-26 23:59:34 -04:00
Randy Mackay
2614d2112a
AP_Winch: remove redundant member
...
Also use get_rate_max method instead of config.rate_max member
2017-10-27 09:20:38 +09:00
Randy Mackay
842eed5426
Copter: accept do-winch commands with max rate
2017-10-27 09:20:38 +09:00
Randy Mackay
47bbf49aa6
Copter: fix tuning knob rate control of winch
2017-10-27 09:20:38 +09:00
Randy Mackay
787954fa37
Copter: integrate winch library
...
fixes after peer review:
rename winch-disable to winch-relaxed
add DO_WINCH to do-verify
winch release-length accepts rate
2017-10-27 09:20:38 +09:00
Randy Mackay
2c511b4269
Copter: add AP_Winch and AP_WheelEncoder to build
2017-10-27 09:20:38 +09:00
Randy Mackay
2dfb6a94f2
AP_Winch: library to control winch
...
fixes after peer review:
renamed disable to relaxed
make parameters private
default type to 1
enabled method checks backend created
servo range initialised in init method
contrain rate-desired during position control
use set-output-limit instead of set-safety-limit
release_length accepts rate
2017-10-27 09:20:38 +09:00