Commit Graph

17788 Commits

Author SHA1 Message Date
Michael du Breuil f10f4a82ba AP_GPS: Fix a bound error when calculating GNSS minimum channels.
This is really just calculating the hamming weight of the GNSS_MODE bitmask, but I don't know if the APM compiler could handle the GCC intrinsic that could calculate it faster, and this is done so rarely there isn't a significant penalty to using the for loop.
2015-08-19 20:44:05 +09:00
Andrew Tridgell dd04326693 autotest: cope with symlinks in vehicle path 2015-08-19 20:44:04 +09:00
Andrew Tridgell b14e0b65b6 autotest: removed the need for run_cmd.sh 2015-08-19 20:44:02 +09:00
Randy Mackay f6965fffdc NavEKF: check baro health before consuming 2015-08-19 20:44:01 +09:00
squilter 9f4f0b4f20 Tools: add ccache setup to arch setup script 2015-08-19 20:44:00 +09:00
squilter 9eef1dab34 Tools: add script to set up Arch Linux 2015-08-19 20:43:59 +09:00
squilter ea5dc3d1b4 Copter: implement do_flighttermination 2015-08-19 20:43:58 +09:00
TShapinsky 39df7e87f7 Copter: add velocity control timeout in guided mode 2015-08-19 20:43:57 +09:00
Grant Morphett 4e568ab547 Rover: Including the sonar/rangefinder status in SYS_STATUS message 2015-08-19 20:43:56 +09:00
Andrew Tridgell 0218e4ac86 AP_RPM: fixed build error 2015-08-19 20:43:55 +09:00
Andrew Tridgell 9e052a89a4 PX4Firmware: submodule update 2015-08-19 20:43:54 +09:00
Andrew Tridgell f202b7d283 Plane: prevent build error with MSG_RPM 2015-08-19 20:43:53 +09:00
Andrew Tridgell d3ea6e8de1 AntennaTracker: prevent build error with MSG_RPM 2015-08-19 20:43:52 +09:00
Andrew Tridgell afbacb1aea Rover: prevent build error with MSG_RPM 2015-08-19 20:43:51 +09:00
Andrew Tridgell 90d760f50e AP_RPM: define a minimum acceptable period for PWM input
this will reject very short periods as invalid. This helps somewhat
with noise on the line
2015-08-19 20:43:50 +09:00
Andrew Tridgell cb423eb2f4 Copter: added RPM dataflash logging 2015-08-19 20:43:49 +09:00
Andrew Tridgell 10b8192463 DataFlash: added RPM logging 2015-08-19 20:43:47 +09:00
Andrew Tridgell 2cf93e828d Copter: added RPM sensor support
send result via MAVLink
2015-08-19 20:43:46 +09:00
Andrew Tridgell 8efaa74b38 GCS_MAVLink: regenerate headers 2015-08-19 20:43:45 +09:00
Andrew Tridgell bfd409b465 GCS_MAVLink: added RPM MAVLink message 2015-08-19 20:43:44 +09:00
Andrew Tridgell e3109a397e AP_RPM: first version of RPM sensor driver 2015-08-19 20:43:43 +09:00
Andrew Tridgell 5da21d2bb2 Plane: prevent mode switch changes changing WP tracking
this fixes a bug where a mode switch change during an AUTO mission
which does not change the flight mode would cause cross tracking to be
reset, so the plane will not correctly follow the desired track

Many thanks to Michael Du Breuil for the log that showed this bug
2015-08-19 20:43:42 +09:00
Randy Mackay 587a38b42a Copter: check frame for SET_POSITION_TARGET_GLOBAL_INT in guided 2015-08-19 20:43:41 +09:00
Randy Mackay 72d468353e Copter: guided SET_POSITION_TARGET accepts frame 2015-08-19 20:43:40 +09:00
Randy Mackay 76e66be9cb Copter: convert fn from body-frame to NE 2015-08-19 20:43:39 +09:00
Randy Mackay 181373cf69 Copter: landing with guided velocity controller 2015-08-19 20:43:38 +09:00
squilter 81f7cd06a6 Copter: update copter's capabilities 2015-08-19 20:43:37 +09:00
squilter e0baaa516a GCS_MAVLink: update common.h enum 2015-08-19 20:43:36 +09:00
squilter f4e2463edc Common: add 21196 for emergency disarm 2015-08-19 20:43:34 +09:00
squilter 4cf49b1f4e Common: add two new capabilities 2015-08-19 20:43:33 +09:00
Andrew Tridgell 6f6afe663c RC_Channel: fixed example build 2015-08-19 20:43:32 +09:00
Andrew Tridgell bc83623ec7 AP_HAL: fixed example builds 2015-08-19 20:43:31 +09:00
Andrew Tridgell a7bd3d1c54 AP_InertialSensor: removed AVR1280 specific ifdef 2015-08-19 20:43:30 +09:00
Andrew Tridgell fbcacbd1d4 AP_Compass: removed AVR1280 specific ifdef 2015-08-19 20:43:29 +09:00
Gustavo Jose de Sousa 668dd4921f mk: remove include paths from make.inc
Now that the includes directives are stardardized, we don't need to add include
paths from make.inc anymore.
2015-08-19 20:43:28 +09:00
Gustavo Jose de Sousa cf0ac5c1db Tools: add script for standardize includes of libraries headers 2015-08-19 20:43:27 +09:00
Gustavo Jose de Sousa f92833950b StorageManager: standardize inclusion of libaries headers
This commit changes the way libraries headers are included in source files:

 - If the header is in the same directory the source belongs to, so the
 notation '#include ""' is used with the path relative to the directory
 containing the source.

 - If the header is outside the directory containing the source, then we use
 the notation '#include <>' with the path relative to libraries folder.

Some of the advantages of such approach:

 - Only one search path for libraries headers.

 - OSs like Windows may have a better lookup time.
2015-08-19 20:43:26 +09:00
Gustavo Jose de Sousa 12d9f2b765 SITL: standardize inclusion of libaries headers
This commit changes the way libraries headers are included in source files:

 - If the header is in the same directory the source belongs to, so the
 notation '#include ""' is used with the path relative to the directory
 containing the source.

 - If the header is outside the directory containing the source, then we use
 the notation '#include <>' with the path relative to libraries folder.

Some of the advantages of such approach:

 - Only one search path for libraries headers.

 - OSs like Windows may have a better lookup time.
2015-08-19 20:43:25 +09:00
Gustavo Jose de Sousa 703b27bde7 RC_Channel: standardize inclusion of libaries headers
This commit changes the way libraries headers are included in source files:

 - If the header is in the same directory the source belongs to, so the
 notation '#include ""' is used with the path relative to the directory
 containing the source.

 - If the header is outside the directory containing the source, then we use
 the notation '#include <>' with the path relative to libraries folder.

Some of the advantages of such approach:

 - Only one search path for libraries headers.

 - OSs like Windows may have a better lookup time.
2015-08-19 20:43:24 +09:00
Gustavo Jose de Sousa 5a80f4d05d PID: standardize inclusion of libaries headers
This commit changes the way libraries headers are included in source files:

 - If the header is in the same directory the source belongs to, so the
 notation '#include ""' is used with the path relative to the directory
 containing the source.

 - If the header is outside the directory containing the source, then we use
 the notation '#include <>' with the path relative to libraries folder.

Some of the advantages of such approach:

 - Only one search path for libraries headers.

 - OSs like Windows may have a better lookup time.
2015-08-19 20:43:22 +09:00
Gustavo Jose de Sousa 8cf54e1e3c GCS_MAVLink: standardize inclusion of libaries headers
This commit changes the way libraries headers are included in source files:

 - If the header is in the same directory the source belongs to, so the
 notation '#include ""' is used with the path relative to the directory
 containing the source.

 - If the header is outside the directory containing the source, then we use
 the notation '#include <>' with the path relative to libraries folder.

Some of the advantages of such approach:

 - Only one search path for libraries headers.

 - OSs like Windows may have a better lookup time.
2015-08-19 20:43:21 +09:00
Gustavo Jose de Sousa dda0eac2dd GCS_Console: standardize inclusion of libaries headers
This commit changes the way libraries headers are included in source files:

 - If the header is in the same directory the source belongs to, so the
 notation '#include ""' is used with the path relative to the directory
 containing the source.

 - If the header is outside the directory containing the source, then we use
 the notation '#include <>' with the path relative to libraries folder.

Some of the advantages of such approach:

 - Only one search path for libraries headers.

 - OSs like Windows may have a better lookup time.
2015-08-19 20:43:20 +09:00
Gustavo Jose de Sousa fa7e34aaa3 Filter: standardize inclusion of libaries headers
This commit changes the way libraries headers are included in source files:

 - If the header is in the same directory the source belongs to, so the
 notation '#include ""' is used with the path relative to the directory
 containing the source.

 - If the header is outside the directory containing the source, then we use
 the notation '#include <>' with the path relative to libraries folder.

Some of the advantages of such approach:

 - Only one search path for libraries headers.

 - OSs like Windows may have a better lookup time.
2015-08-19 20:43:19 +09:00
Gustavo Jose de Sousa d2c1df40e0 DataFlash: standardize inclusion of libaries headers
This commit changes the way libraries headers are included in source files:

 - If the header is in the same directory the source belongs to, so the
 notation '#include ""' is used with the path relative to the directory
 containing the source.

 - If the header is outside the directory containing the source, then we use
 the notation '#include <>' with the path relative to libraries folder.

Some of the advantages of such approach:

 - Only one search path for libraries headers.

 - OSs like Windows may have a better lookup time.
2015-08-19 20:43:18 +09:00
Gustavo Jose de Sousa cb81036d69 AP_Vehicle: standardize inclusion of libaries headers
This commit changes the way libraries headers are included in source files:

 - If the header is in the same directory the source belongs to, so the
 notation '#include ""' is used with the path relative to the directory
 containing the source.

 - If the header is outside the directory containing the source, then we use
 the notation '#include <>' with the path relative to libraries folder.

Some of the advantages of such approach:

 - Only one search path for libraries headers.

 - OSs like Windows may have a better lookup time.
2015-08-19 20:43:17 +09:00
Gustavo Jose de Sousa 62d5e7ca92 AP_Terrain: standardize inclusion of libaries headers
This commit changes the way libraries headers are included in source files:

 - If the header is in the same directory the source belongs to, so the
 notation '#include ""' is used with the path relative to the directory
 containing the source.

 - If the header is outside the directory containing the source, then we use
 the notation '#include <>' with the path relative to libraries folder.

Some of the advantages of such approach:

 - Only one search path for libraries headers.

 - OSs like Windows may have a better lookup time.
2015-08-19 20:43:16 +09:00
Gustavo Jose de Sousa ebd1a15622 AP_TECS: standardize inclusion of libaries headers
This commit changes the way libraries headers are included in source files:

 - If the header is in the same directory the source belongs to, so the
 notation '#include ""' is used with the path relative to the directory
 containing the source.

 - If the header is outside the directory containing the source, then we use
 the notation '#include <>' with the path relative to libraries folder.

Some of the advantages of such approach:

 - Only one search path for libraries headers.

 - OSs like Windows may have a better lookup time.
2015-08-19 20:43:15 +09:00
Gustavo Jose de Sousa 39ae5cdd95 AP_SpdHgtControl: standardize inclusion of libaries headers
This commit changes the way libraries headers are included in source files:

 - If the header is in the same directory the source belongs to, so the
 notation '#include ""' is used with the path relative to the directory
 containing the source.

 - If the header is outside the directory containing the source, then we use
 the notation '#include <>' with the path relative to libraries folder.

Some of the advantages of such approach:

 - Only one search path for libraries headers.

 - OSs like Windows may have a better lookup time.
2015-08-19 20:43:14 +09:00
Gustavo Jose de Sousa 7b849b7c4c AP_ServoRelayEvents: standardize inclusion of libaries headers
This commit changes the way libraries headers are included in source files:

 - If the header is in the same directory the source belongs to, so the
 notation '#include ""' is used with the path relative to the directory
 containing the source.

 - If the header is outside the directory containing the source, then we use
 the notation '#include <>' with the path relative to libraries folder.

Some of the advantages of such approach:

 - Only one search path for libraries headers.

 - OSs like Windows may have a better lookup time.
2015-08-19 20:43:12 +09:00
Gustavo Jose de Sousa 014fa22114 AP_SerialManager: standardize inclusion of libaries headers
This commit changes the way libraries headers are included in source files:

 - If the header is in the same directory the source belongs to, so the
 notation '#include ""' is used with the path relative to the directory
 containing the source.

 - If the header is outside the directory containing the source, then we use
 the notation '#include <>' with the path relative to libraries folder.

Some of the advantages of such approach:

 - Only one search path for libraries headers.

 - OSs like Windows may have a better lookup time.
2015-08-19 20:43:11 +09:00