Randy Mackay
813a8c8f99
Tracker: integrate simpler Log_Write_EKF
2017-08-23 11:19:14 +09:00
Randy Mackay
c80a83322a
Plane: integrate simpler Log_Write_EKF
2017-08-23 11:19:14 +09:00
Randy Mackay
7a37a7f921
Rover: integrate simpler Log_Write_EKF
2017-08-23 11:19:14 +09:00
Randy Mackay
3281f348b1
Sub: remove enabled check from optflow init
2017-08-23 11:19:14 +09:00
Randy Mackay
0a060a0e08
Sub: integrate simpler Log_Write_EKF
2017-08-23 11:19:14 +09:00
Randy Mackay
34560fb1fb
Copter: remove enabled check from optflow init
2017-08-23 11:19:14 +09:00
Randy Mackay
def17582c6
Copter: integrate simpler Log_Write_EKF
2017-08-23 11:19:14 +09:00
Randy Mackay
e13f4d0d56
DataFlash: removed unused optFlowEnabled from Log_Write_EKF
2017-08-23 11:19:14 +09:00
Randy Mackay
59ffc3cd65
AP_OpticalFlow: minor order declaration change
...
non-functional change
2017-08-23 11:19:14 +09:00
Randy Mackay
cf24eef359
AP_OpticalFlow: init checks if enabled
2017-08-23 11:19:14 +09:00
Randy Mackay
bc38affcb1
AP_OpticalFlow: px4flow retries init 10 times at startup
...
This resolves an issue in which some px4flow sensors are slow to startup
2017-08-23 11:19:14 +09:00
Randy Mackay
fdb4c7b5ee
AP_OpticalFlow: failure to init leaves enabled unchanged
2017-08-23 11:19:14 +09:00
Randy Mackay
a7afffe14a
AP_OpticalFlow: rename BUS_ID parameter to ADDR
...
This makes the parameter more consistent with RangeFinder
2017-08-23 11:19:14 +09:00
Peter Barker
8272fb8fa2
Plane: remove unused repeating events defines
2017-08-22 09:58:12 -07:00
Randy Mackay
3f1271214e
Rover: rename MotorsUGV pwm type to brush-with-relay
2017-08-22 10:09:13 +09:00
khancyr
46e6057493
Rover: solve servo reverse in brushed configuration
2017-08-22 10:09:10 +09:00
Peter Barker
b0c7766197
Copter: continuously reevaluate rc calibration checks
...
Stop "latching" calibration checks - if an RC radio's calibration
changes after it passes once, these patches allow the rc calibraiton
checks to then fail.
2017-08-21 09:05:31 +09:00
Andrew Tridgell
f5d91f63d2
autotest: fixed firefly parameters
2017-08-20 09:37:00 +10:00
chobits
d6845a911a
AP_AHRS: fix get_relative_position_NE_home calcalation
2017-08-19 10:23:24 +09:00
Jacob Walser
1875f0218f
github: Add Sub vehicle to issues template
2017-08-17 14:17:21 -07:00
Lucas De Marchi
66a1e420cb
AP_HAL_Linux: RCInput_SoloLink: better name to first field
...
Checking the time on the tcpdump capture, it matches the first fields
from the data:
$ tshark -n -c 4 -r ~/tmp/solo/rc.pcap
1 0.000000 10.1.1.1 → 10.1.1.10 UDP 68 5005 → 5005 Len=26
2 0.019976 10.1.1.1 → 10.1.1.10 UDP 68 5005 → 5005 Len=26
3 0.040046 10.1.1.1 → 10.1.1.10 UDP 68 5005 → 5005 Len=26
4 0.059961 10.1.1.1 → 10.1.1.10 UDP 68 5005 → 5005 Len=26
From the previous commit (first 2 packets):
5fa8 f441 3414 0500 73d7 dc05 dc05 dc05 db05 e803 e803 e803 f401
73f6 f441 3414 0500 74d7 dc05 dc05 dc05 db05 e803 e803 e803 f401
0x0005143441f45fa8 - 0x0005143441f4f673 = 0x4E14 = 19988 (usec)
Which seems to approximately match for the other packets as well. We are
not using the field since we rather get the time when we receive it, but
at least use a better name.
2017-08-17 12:04:27 -07:00
Lucas De Marchi
373d41fd6e
AP_HAL_Linux: switch aero to RCInput_SoloLink
2017-08-17 12:04:27 -07:00
Lucas De Marchi
79b004cf6a
AP_HAL_Linux: add prototype for handling SoloLink
...
This allows to use a Solo controller to control Linux-based flight
controllers. The protocol has been derived by analyzing a tcpdump
trace: some fields are ignored. Example trace of RC data (obtained
with `tshark -T fields -e data -n -c 5 -r rc.pcap`
unkonwn seq ch1 ch2 ch3 ... ch8
5fa8 f441 3414 0500 73d7 dc05 dc05 dc05 db05 e803 e803 e803 f401
73f6 f441 3414 0500 74d7 dc05 dc05 dc05 db05 e803 e803 e803 f401
dc44 f541 3414 0500 75d7 dc05 dc05 dc05 db05 e803 e803 e803 f401
bc92 f541 3414 0500 76d7 dc05 dc05 dc05 db05 e803 e803 e803 f401
dfe0 f541 3414 0500 77d7 dc05 dc05 dc05 db05 e803 e803 e803 f401
2017-08-17 12:04:27 -07:00
Peter Barker
8c8fe4b1bb
Sub: move serial_control case to base class
2017-08-17 12:42:31 +01:00
Peter Barker
9732b19f04
Plane: move serial_control case to base class
2017-08-17 12:42:31 +01:00
Peter Barker
19e409f7f4
Copter: move serial_control case to base class
2017-08-17 12:42:31 +01:00
Peter Barker
cdb6c083a3
Tracker: move serial_control case to base class
2017-08-17 12:42:31 +01:00
Peter Barker
ee39ec3751
Rover: move serial_control case to base class
2017-08-17 12:42:31 +01:00
Peter Barker
154b212545
GCS_MAVLink: move serial_control case to base class
2017-08-17 12:42:31 +01:00
Peter Barker
c7c9cb9b0f
Sub: move play_tune and led_control handling to base class
2017-08-17 12:27:10 +01:00
Peter Barker
4321abd477
Plane: move play_tune and led_control handling to base class
2017-08-17 12:27:10 +01:00
Peter Barker
6db348bab3
Copter: move play_tune and led_control handling to base class
2017-08-17 12:27:10 +01:00
Peter Barker
92becb2875
Rover: move play_tune and led_control handling to base class
2017-08-17 12:27:10 +01:00
Peter Barker
b17c0482fb
GCS_MAVLink: move play_tune and led_control handling to base class
2017-08-17 12:27:10 +01:00
Peter Barker
23d91c93c8
AP_HAL_Linux: correct compilation warning
...
../../../libraries/AP_HAL_Linux/RCInput_RPI.cpp:129:35: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
::read(file, &pageInfo, 8);
2017-08-17 11:28:36 +01:00
Randy Mackay
222dd0c9be
AC_WPNav: correct comments
...
all position vectors are offsets from the ekf origin (not from the ahrs home)
2017-08-17 16:05:08 +09:00
Randy Mackay
bbb1329116
Rover: remove unused definitions
2017-08-17 11:58:07 +09:00
khancyr
e116ec4eb0
Rover: update SITL parameters
2017-08-17 09:47:39 +09:00
khancyr
2ceb29e9da
Rover: use abs for int within calc_speed_nudge
...
same issue resoled for log-write-nav-tuning
2017-08-17 09:46:56 +09:00
khancyr
ed19db7188
Rover: set_mode arg name to match implementation
...
definition and implementation used different argument name
2017-08-17 09:46:19 +09:00
khancyr
a035950a22
Rover: minor format fix
2017-08-17 09:45:49 +09:00
khancyr
58b643c458
Rover: replace divide with multiply in calc_throttle
...
non functional change
2017-08-17 09:45:21 +09:00
Randy Mackay
6eceaef484
Rover: remove redundant SYS_NUM_RESETS
...
this is handled by AP_Stats library
2017-08-17 09:39:40 +09:00
Randy Mackay
e2d4182c75
Rover: fix parameter conversion
2017-08-17 09:39:40 +09:00
Randy Mackay
c9927e6af6
Rover: bug fix to steering mode top speed
...
Also non-functional change to calc_throttle to make call to calc_speed_nudge consistent
2017-08-17 09:39:40 +09:00
Randy Mackay
7df73c50e8
SITL: remove unnecessary THR_MAX parameter default
2017-08-17 09:39:40 +09:00
Randy Mackay
167a856cdb
Rover: remove THR_MIN, THR_MAX parameters from vehicle
...
enforcing these limits is now handled by AP_MotorsUGV class
2017-08-17 09:39:40 +09:00
Randy Mackay
c0fe1b7ec8
AP_MotorsUGV: minor comment fix
2017-08-17 09:39:40 +09:00
Randy Mackay
c8eceeabb6
AP_MotorsUGV: add THR_MIN, THR_MAX parameters
2017-08-17 09:39:40 +09:00
Randy Mackay
c61f965828
AP_MotorsUGV: re-order implementation to match declaration
...
non-functional change
2017-08-17 09:39:40 +09:00