Commit Graph

23861 Commits

Author SHA1 Message Date
Matt 9eca21c26a AP_Compass: Removed duplicate code 2016-08-29 10:38:41 -03:00
Lucas De Marchi 631d4a1152 Replay: add clean target for CI
CI has a generic infra that calls make clean before building and it
fails for Replay since it doesn't have a clean target.
2016-08-29 10:27:36 -03:00
Lucas De Marchi 833f565f09 AP_HAL_Linux: prefix threads with ap
This makes it consistent with bus threads and easier to grep from a `ps`
call.
2016-08-29 10:27:36 -03:00
Lucas De Marchi e1ab44f4a3 Global: remove get_fd() from Device API
This was there for compatibility with I2CDriver and SPIDriver. We don't
use them anymore so we can remove the compat method.
2016-08-29 10:27:36 -03:00
Lucas De Marchi ead01855df AP_HAL: remove default params for minlure
We are currently not using them.
2016-08-29 10:27:36 -03:00
Randy Mackay 4fbc686e68 Tools: EnRoute EX700 params get SF10b 2016-08-29 21:06:50 +09:00
Andrew Tridgell 33f17588b2 Plane: added auto fence enable on VTOL takeoff
fixes issue#724
2016-08-29 18:04:42 +10:00
Andrew Tridgell c81d8364ac Plane: check for safety switch state in quadplane motor output
get_soft_armed() will be false if safety on
2016-08-29 17:55:35 +10:00
Randy Mackay e17c8ac851 Copter: remove non-working reset-to-armed-yaw
Arguably we should make this work, but until that happens we should not present the option on the auxiliary switches
2016-08-29 16:34:24 +09:00
Randy Mackay d3f8b1b846 Plane: TELEM_DELAY parameter range to 30sec
No functional change
2016-08-29 15:29:18 +09:00
Randy Mackay eded2dee23 Copter: TELEM_DELAY parameter range to 30sec
No functional change
2016-08-29 15:29:05 +09:00
Randy Mackay d39190ff30 Rover: TELEM_DELAY parameter range to 30sec
No functional change
2016-08-29 15:28:47 +09:00
Andrew Tridgell dfb16dc6e5 PX4Nuttx: submodule update
merge fixes for USB from David Sidrane
2016-08-29 16:05:27 +10:00
Andrew Tridgell d186e1c648 Copter: improve the reliability of ESC calibration with OneShot ESCs
run at higher rate and make sure we're always giving output
2016-08-29 15:52:21 +10:00
Andrew Tridgell e9e3a3f491 AP_Motors: added get_pwm_type() 2016-08-29 15:52:21 +10:00
Pierre Kancir 1a3fc56682 APMrover2: fix typo in parameter 2016-08-28 14:26:06 +02:00
Pierre Kancir b16369ec8c APMrover2: define ENABLE as ENABLED
Same for DISABLE as typo error protection
2016-08-28 14:24:32 +02:00
Lucas De Marchi fdafa4561c waf: allow to run wrapper on windows
On Windows we have 2 issues with the current wrapper:
	1. We can't call the binary directly relying on shebang. Now we
	   call python and pass the script as an argument
	2. Use os.path.join() with all components to derive the right
	   waf-light location
2016-08-26 20:35:30 -03:00
Gustavo Jose de Sousa 87862a08ab waf: ap_library: make headers whitelist portable
Otherwise it won't work for platforms that don't use Unix style paths.
2016-08-26 13:13:56 -03:00
khancyr 733786830d Copter: config.h fix typo 2016-08-26 14:28:35 +09:00
khancyr 1a1c749501 Copter: fix typo in parameters.cpp 2016-08-26 14:28:35 +09:00
Grant Morphett df99941fc8 Rover: Added support for COMMAND_INT
And also made DO_SET_ROI available as a COMMAND_INT as this gives us
cm accuracy rather then 1.5m when a float is used.
2016-08-26 11:31:35 +10:00
Randy Mackay 28715106d6 Tools: update Bebop2 parameter gains 2016-08-26 09:12:48 +09:00
Andrew Tridgell b9d05f4374 uavcan: submodule update
fix from gustavo for windows build
2016-08-26 08:16:26 +10:00
Gustavo Jose de Sousa 28830f720d waf: update submodule for SAVED_ATTRS fix
This cherry-picks the commit 86da12e ("Fix error when adding new items to
SAVED_ATTRS"), which has already been applied to upstream.
2016-08-25 14:23:15 -03:00
murata d620efbcb7 Rover: if statements is simple. 2016-08-25 12:04:38 -03:00
Peter Barker fd87a4f180 DataFlash: fix unused result warning 2016-08-25 15:53:47 +10:00
Andrew Tridgell f18e0dadc9 Copter: added optional AdvancedFailsafe for copter and heli 2016-08-25 14:14:18 +10:00
Randy Mackay 1181acc4e4 Rover: add support for SET_POSITION_TARGET_GLOBAL_INT
Also supports SET_POSITION_TARGET_LOCAL_NED but for both messages only the position fields are consumed.  Support for velocity, acceleration and yaw fields are not included.
2016-08-25 13:08:26 +09:00
Randy Mackay 29e18dba5b Tools: add battery failsafe to EnRoute EX700 param file 2016-08-25 13:07:56 +09:00
Grant Morphett 28552d5cc9 Copter: Supports COMMAND_INT in the code so added it to capabilites. 2016-08-25 12:56:32 +10:00
Grant Morphett 777af546e0 Rover: ensure height calcs are using the same origin. 2016-08-25 12:50:20 +10:00
Andrew Tridgell ea7e62df17 Copter: use a constant string for frsky_telemetry init 2016-08-25 11:00:31 +10:00
Andrew Tridgell a4ca4dbd9e AP_FrSky_Telem: use a constant string for firmware version 2016-08-25 11:00:17 +10:00
Andrew Tridgell 62388fc991 AP_FrSky_Telem: use constant strings in message queueing 2016-08-25 10:29:57 +10:00
Andrew Tridgell 183283ba07 AP_FrSky_Telem: make _msg non-static
there are no calls to this from outside the library. If we do add some
then we can change the API as needed
2016-08-25 10:23:03 +10:00
floaledm 2f54e67996 AP_FrSky_Telem: fixed sending last message chunk
Was sent only once, now sent 3 times (as planned)
2016-08-25 10:16:20 +10:00
floaledm 893614897e Copter: moved MAV_TYPE to Copter.h 2016-08-25 10:16:20 +10:00
Andrew Tridgell 96de005591 Copter: moved MAV_TYPE define to defines.h 2016-08-25 10:16:20 +10:00
Andrew Tridgell a0fb426a34 Plane: fixes for Fraky_Telem API changes 2016-08-25 10:16:20 +10:00
Andrew Tridgell a14ff8ac77 Copter: fixes for Frsky_Telem API changes 2016-08-25 10:16:20 +10:00
Andrew Tridgell 203e0c7472 Rover: fixes for Frsky_Telem API changes 2016-08-25 10:16:19 +10:00
Andrew Tridgell 185ef73684 AP_Frsky_Telem: fixed usage of sensor error bits
using these asyncronously via pointers is error prone as the updates
to these masks is not atomic relative to the IO callback in
AP_Frsky_Telem
2016-08-25 10:16:19 +10:00
Andrew Tridgell f4d59d720a AP_FrSky_Telem: removed use of pointer to control_mode
it is an enum, and it is invalid to take a pointer to an enum as a
uint8_t*
2016-08-25 10:16:19 +10:00
Andrew Tridgell a5f20d8c44 Plane: fix for AP_FrSky_Telem API change 2016-08-25 10:16:19 +10:00
Andrew Tridgell 0bcc9c4cb0 Copter: fix for AP_FrSky_Telem API change 2016-08-25 10:16:19 +10:00
Andrew Tridgell 08b0ba99db Rover: fixes for AP_FrSky_Telem API change 2016-08-25 10:16:19 +10:00
Andrew Tridgell ab77fdfa02 AP_FrSky_Telem: removed dependency on inertialnav
the AP_InertialNav library is deprecated in favor of AP_AHRS. We
should not introduce a new dependency on it
2016-08-25 10:16:19 +10:00
floaledm b71e0d73b9 AP_FrSky_Telem: added SPort passthrough protocol 2016-08-25 10:16:19 +10:00
floaledm baa3357b21 Copter: changed init for SPort passthrough protocol compatibility 2016-08-25 10:16:18 +10:00