Andrew Tridgell
7e1368f7a5
AP_InertialSensor: implement notch filter on gyro
8 years ago
Andrew Tridgell
50dcca39bd
Filter: added a notch filter
...
maths from Leonard
8 years ago
Peter Barker
0f22f923e1
AC_InputManager: remove MAIN_LOOP_RATE in favour of parameter value
8 years ago
Andrew Tridgell
4aa068d63d
SITL: added simple launch sim for plane
...
allow for bungee, catapult and hand launches
8 years ago
Peter Barker
9783c0c3ba
DataFlash: log dataflash-file statistics periodically
8 years ago
Peter Barker
776d88bb6b
DataFlash: remove duplicate variables
8 years ago
Andrew Tridgell
29fe432dd7
AP_SerialManager: enable debug console use for other protocols
...
this allows SERIAL5_PROTOCOL to be set on FMUv2 and FMUv3 for use by
other protocols
8 years ago
Andrew Tridgell
d09b549144
HAL_PX4: allow uart5 to be used for non-nsh on FMUv2/FMUv3
8 years ago
Andrew Tridgell
0155434057
RC_Channel: fixed bug in manual with TRIM == MIN
...
This fixes the bug described here:
https://discuss.ardupilot.org/t/arduplane-reverse-thrust-setup/18324/5
which otherwise would prevent output with TRIM == MIN or TRIM == MAX
8 years ago
Peter Barker
2f9fb581fe
DataFlash: remove bad FALLTHROUGH causing compilation failure
8 years ago
Peter Barker
921985fe27
GCS_MAVLink: allow statustext logging from any source system
...
Turns out this is terribly useful for companion computers if
you allow them to log things when they're not your GCS.
The original check was bogus; if someone is talking to you via
mavlink they can do much worse than fill your logs!
8 years ago
Jacob Walser
e8f5967682
GCS_MAVLink: Add MSG_NAMED_FLOAT ap_message id
8 years ago
Lucas De Marchi
3414883f05
AP_GPS: remove tabs and fix coding style
8 years ago
Lucas De Marchi
927289aa64
DataFlash: use FALLTHROUGH define
...
When falling through on a case switch, allow to add an empty statement
with the correct attribute to tell the compiler this behavior is
intended.
8 years ago
Lucas De Marchi
7b0d6166e1
AP_RangeFinder: use FALLTHROUGH define
...
When falling through on a case switch, allow to add an empty statement
with the correct attribute to tell the compiler this behavior is
intended.
8 years ago
Lucas De Marchi
b37ca322f1
AP_Landing: use FALLTHROUGH define
...
When falling through on a case switch, allow to add an empty statement
with the correct attribute to tell the compiler this behavior is
intended.
8 years ago
Lucas De Marchi
0e502d89a3
AP_HAL: use FALLTHROUGH define
...
When falling through on a case switch, allow to add an empty statement
with the correct attribute to tell the compiler this behavior is
intended.
8 years ago
Lucas De Marchi
8389158d76
AP_GPS: use FALLTHROUGH define
...
When falling through on a case switch, allow to add an empty statement
with the correct attribute to tell the compiler this behavior is
intended.
8 years ago
Lucas De Marchi
7c6f9a004e
AP_Baro: use FALLTHROUGH define
...
When falling through on a case switch, allow to add an empty statement
with the correct attribute to tell the compiler this behavior is
intended.
8 years ago
Lucas De Marchi
e2e836f676
AP_Airspeed: use FALLTHROUGH define
...
When falling through on a case switch, allow to add an empty statement
with the correct attribute to tell the compiler this behavior is
intended.
8 years ago
Lucas De Marchi
3102247a85
AP_Common: add FALLTHROUGH define
8 years ago
Randy Mackay
e13f4d0d56
DataFlash: removed unused optFlowEnabled from Log_Write_EKF
8 years ago
Randy Mackay
59ffc3cd65
AP_OpticalFlow: minor order declaration change
...
non-functional change
8 years ago
Randy Mackay
cf24eef359
AP_OpticalFlow: init checks if enabled
8 years ago
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
8 years ago
Randy Mackay
fdb4c7b5ee
AP_OpticalFlow: failure to init leaves enabled unchanged
8 years ago
Randy Mackay
a7afffe14a
AP_OpticalFlow: rename BUS_ID parameter to ADDR
...
This makes the parameter more consistent with RangeFinder
8 years ago
chobits
d6845a911a
AP_AHRS: fix get_relative_position_NE_home calcalation
8 years ago
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.
8 years ago
Lucas De Marchi
373d41fd6e
AP_HAL_Linux: switch aero to RCInput_SoloLink
8 years ago
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
8 years ago
Peter Barker
154b212545
GCS_MAVLink: move serial_control case to base class
8 years ago
Peter Barker
b17c0482fb
GCS_MAVLink: move play_tune and led_control handling to base class
8 years ago
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);
8 years ago
Randy Mackay
222dd0c9be
AC_WPNav: correct comments
...
all position vectors are offsets from the ekf origin (not from the ahrs home)
8 years ago
Jacob Walser
b8e7d23cc4
AP_Arming: Add bool check_min_max parameter for Copter/Sub RC checks
8 years ago
Peter Barker
2a07a077d9
GCS_MAVLink: use GCS_MAVLINK subclasses to handle set_mode
8 years ago
Peter Barker
48c4e48225
AP_HAL_PX4: send statustext for RC input decoding type
8 years ago
Mateusz Sadowski
eb56a010b3
AP_RangeFinder: TeraRangerI2C: use address from parameter instead of hardcoded
8 years ago
Mateusz Sadowski
0993300506
AP_Rangefinder: rename trone to TeraRangerI2C
8 years ago
Peter Barker
b6076bcb77
GCS_MAVLink: adapt to new rangefinder method name
8 years ago
Peter Barker
30c4ea8123
AP_RangeFinder: stop storing sensor type as a variable
...
And change method name
8 years ago
Peter Barker
c79cbd71af
GCS_MAVLink: use rangefinder backend accessors
8 years ago
Peter Barker
f1d350bbb1
DataFlash: use rangefinder backend accessors
8 years ago
Peter Barker
63440800fc
AP_NavEKF3: use rangefinder backend accessors
8 years ago
Peter Barker
1e83ef3c44
AP_NavEKF2: use rangefinder backend accessors
8 years ago
Peter Barker
e0bea597c0
AP_Proximity: use rangefinder backend accessors
8 years ago
Peter Barker
c0aa10d84b
AP_RangeFinder: move rangefinder backend data accessors to backend
8 years ago
Michael du Breuil
067335f68d
GCS_MAVLink: Handle termination requests from the GCS
8 years ago
Michael du Breuil
97c1785bef
AP_AdvancedFailsafe: Allow the GCS to request terminations
8 years ago