Commit Graph

28977 Commits

Author SHA1 Message Date
Michael du Breuil
3ab9b75df0 AP_Arming: Check GPS update rate as part of the GPS checks 2017-09-13 13:36:40 +01:00
Michael du Breuil
cf02204e6c Dataflash: Log GPS delta times
This is particularly useful for assessing if a GPS actually is dropping out in a users log, or if the log is just dropping messages
2017-09-13 13:36:40 +01:00
Michael du Breuil
04eb7f411e AP_GPS: Track the delta time between the last GPS positions 2017-09-13 13:36:40 +01:00
Randy Mackay
ebea292d63 Tools: add frame params for eLAB 470 quad 2017-09-13 17:55:05 +09:00
Lucas De Marchi
58dec08b29 GCS_MAVLink: fix non static perf counter
Commit b9877e0d38
(GCS_MAVLink: make per channel perf counter non-static) made the
perf counters to be available per instance but missed the fact that
the perf infra doesn't copy the string.

Fix this by maintaining a the string inside the object.
2017-09-12 17:24:31 -07:00
Peter Barker
406f4a9ca7 Tools: generate-manifest: print errors to stderr 2017-09-13 10:09:00 +10:00
Lucas De Marchi
bba98d6df7 build: remove raspilot from travis 2017-09-12 15:14:20 -07:00
Lucas De Marchi
83b9518a49 build: remove raspilot 2017-09-12 15:06:19 -07:00
Lucas De Marchi
13f4ba7392 AP_HAL: remove raspilot 2017-09-12 15:06:19 -07:00
Lucas De Marchi
15bfa940a7 AP_Notify: remove raspilot 2017-09-12 15:06:19 -07:00
Lucas De Marchi
caa4e3ee89 AP_InertialSensor: remove raspilot 2017-09-12 15:06:19 -07:00
Lucas De Marchi
b1740e2d9c AP_Compass: remove raspilot 2017-09-12 15:06:19 -07:00
Lucas De Marchi
7ba82ff23a AP_HAL_Linux: remove raspilot
It's not being sold, there are just a few (different) engineering
samples built and there are no plans for this to go forward for people
that were pushing it.
2017-09-12 15:06:19 -07:00
Peter Barker
0062084c40 Tools: Replay: option to print packet counts out at end 2017-09-12 19:01:59 +01:00
Peter Barker
6b5fd5fbdd Copter: move gcs_out_of_time into GCS object 2017-09-12 18:28:07 +01:00
Peter Barker
89e3f1dbd8 Sub: move gcs_out_of_time into GCS object 2017-09-12 18:28:07 +01:00
Peter Barker
aee939f891 Plane: move gcs_out_of_time into GCS object 2017-09-12 18:28:07 +01:00
Peter Barker
25a32c93f2 Rover: move gcs_out_of_time into GCS object 2017-09-12 18:28:07 +01:00
Peter Barker
b4e536b424 GCS_MAVLink: move gcs_out_of_time into GCS object 2017-09-12 18:28:07 +01:00
Jacob Walser
ed5d891730 Sub: update release notes for 3.5.1 2017-09-12 12:31:57 -04:00
Randy Mackay
b1d1b5122b Copter: 3.5.3-rc1 release notes 2017-09-12 16:43:15 +09:00
Lucas De Marchi
c09c56be77 build: remove Linux boards from make
This way people don't copy and paste to add a new board: make build
system is deprecated for Linux boards for a long time and is now
unsupported.

qflight remains as the only Linux board since it's not buildable
with waf. When it is, more files and pieces can be removed from mk/.
2017-09-11 15:34:57 -07:00
Andrew Tridgell
697131e94a AP_Notify: support dual I2c toshiba LEDs
This restructures AP_Notify to allow for multiple backends of the same type.
2017-09-11 10:39:39 -07:00
Francisco Ferreira
efc42edabe waf: remove URUS 2017-09-11 10:04:11 -07:00
Francisco Ferreira
4398be2275 AP_HAL_Linux: remove URUS 2017-09-11 10:04:11 -07:00
Francisco Ferreira
51a8aa3d1f AP_HAL: remove URUS 2017-09-11 10:04:11 -07:00
Lucas De Marchi
b9877e0d38 GCS_MAVLink: make per channel perf counter non-static
Otherwise the perf counter from one channel may affect the other if
during an update of one channel the update function of the other gets
called.
2017-09-11 10:01:57 -07:00
Marco Robustini
b4f46b14f0 Tools: add Marco's flying field to locations file 2017-09-11 17:58:01 +01:00
Lucas De Marchi
f42d3ce406 PX4Firmware: update submodule with fixes to upload script 2017-09-11 09:56:46 -07:00
Lucas De Marchi
d5f57fdd93 AP_Compass: AK8963: remove fallback to timer thread
Now that the bus thread from the AuxiliaryBus is implemented we can
remove the fallback.
2017-09-11 09:52:41 -07:00
Lucas De Marchi
06fe5ce8ba AP_InertialSensor: implement periodic thread for AuxiliaryBus 2017-09-11 09:52:41 -07:00
Peter Barker
4263c1a90c DataFlash: file not being initialised means logging is failed 2017-09-11 17:42:38 +01:00
Andrew Tridgell
73d6a05241 Plane: support change alt for GUIDED from qgc 2017-09-11 13:26:48 +10:00
Peter Barker
20bfb82a7b Tools: autotest.py: add --no-clean and --no-configure options 2017-09-11 12:45:27 +10:00
Peter Barker
e505635ddd Tools: sim_vehicle: make gdb-stopped work again 2017-09-11 12:30:00 +10:00
Peter Barker
7f2882f54b Tools: LogAnalyzer: cope with renamed GPS fields 2017-09-11 12:05:12 +10:00
Peter Barker
2c0e2aab15 Tools: LogAnalyzer: derive motor count from frame type MSG 2017-09-11 12:01:24 +10:00
Andrew Tridgell
1c75cd7039 Plane: update release notes for 3.8.2 2017-09-11 09:57:28 +10:00
Andrew Tridgell
11b9805dce Plane: added MANUAL_CONTROL support
allows for joystick with QGC
2017-09-11 07:55:48 +10:00
Andrew Tridgell
37220e1568 Plane: removed unused prototypes 2017-09-10 17:15:18 +10:00
David Ingraham
750212eb8f Plane: Remove deprecated control surface mixing functions
This commit removes the deprecated functions used for calculating elevon and vtail mixes. This code is currently unrechable.
The functions that called these were removed in PR #6546.
2017-09-10 17:14:14 +10:00
squilter
4b57a4a231 Copter: rename SafeRTL to SmartRTL 2017-09-09 14:05:41 +09:00
squilter
7abb5b10fc Copter: build scripts changed from SafeRTL to SmartRTL 2017-09-09 14:05:41 +09:00
squilter
cb0f50a1c8 AP_SmartRTL: renamed from SafeRTL 2017-09-09 14:05:41 +09:00
Randy Mackay
4415a6b052 AP_SafeRTL: update example sketch
remove pruning test because this is always performed after simplification
modify expected results to match latest algorithm
2017-09-09 14:05:41 +09:00
Randy Mackay
939ca36c33 AP_SafeRTL: simplify and prune regularly
remove overlapping prunable loops (keeps longest loop)
replace use of Bitmask calls with flag
restart_pruning protection against overflow
remove argument to reset_simplification and reset_pruning
fix setting _simplify.path_points_completed
fix add_loop - compare length of new loop to sum of all existing loops that would be
replaced
add program error protection - an overflow of the path_points_count index is dangerous so although it should never happen, if it does, deactivate
reduce the simplify and prune path-points-completed numbers as points are popped off the path so that if the user aborts the SafeRTL simplification and pruning process any new points added aftwards
2017-09-09 14:05:41 +09:00
Randy Mackay
5d977cf799 AP_SafeRTL: check semaphore allocation
Remove redundant position_ok check from update
Reorder timeout checks in update

These are in fixes from WickedShell's review, thanks!
2017-09-09 14:05:41 +09:00
Randy Mackay
811e115a21 AP_SafeRTL: move simplify and prune state into structures 2017-09-09 14:05:41 +09:00
Randy Mackay
e0da7ed09c AP_SafeRTL: fixes from peer review
- ACCURACY parameter description
- SafeRTL comments reduced to fit 80 characters
- moved a Comment down a line
- renamed definition to SAFERTL_PRUNING_LOOP_TIME_US
- comment change of "algorithm" to "algorithms"
- removed destructor (same could be done for AP_Airspeed then)
- updated GCS message to, "failed to save initial point"
- "update" comment modified from "a couple" to "several"
- added "const" ahead of "now = AP_HAL::millis()"
- added new deactivate method
- const run_background_cleanup's path_points_count
- removed unnecessary "return } else {"
- const potential_amount_to_simplify
- s/as/has in comments
- zero_points_by_simplify_bitmask starts from path[1] so as to never remove the start point
- remove_empty_points gets for loop in place of while, inverted clauses
- clarified dist_point returns value FLT_MAX in distance field
- lots of "const" added to segment_segment_dist, removed unnecessary else
- reference in Log_action.  Can't do it because want default
- ::update() comments add "3hz"
2017-09-09 14:05:41 +09:00
Randy Mackay
ed0203e53c Copter: smooth safertl return journey using fast waypoints 2017-09-09 14:05:41 +09:00