Ralf Ramsauer
71212942da
AP_HAL: AP_HAL_Linux: align I2CDevice::read_registers_multiple()
...
25c7e8b
changed the logic of transfer(). Align
I2CDevice::read_registers_multiple() in the same way.
Signed-off-by: Ralf Ramsauer <ralf.ramsauer@othr.de>
2016-08-31 00:18:50 -03:00
Randy Mackay
cba480d02b
Copter: add auto calibration to ESC_CAL parameter description
...
No functional change
2016-08-31 11:53:53 +09:00
Randy Mackay
e4efa4c07c
Tools: EnRoute EX700 param file gets flow orientation
2016-08-31 10:34:26 +09:00
Peter Barker
198a7d7710
sim_vehicle.py: add arguments to pass args to waf build and configure
2016-08-31 11:04:40 +10:00
Randy Mackay
e7020b218a
AC_Fence: revert param Enable to be FLAG_ENABLE
...
This reverts commit 5e811b8463
.
2016-08-31 08:55:31 +09:00
Andrew Tridgell
47c030c4a8
Plane: prepare for 3.7.0beta1 release
2016-08-30 08:39:56 +10:00
Andrew Tridgell
3d0516fd57
Plane: added Q_ASSIST_ANGLE
...
this automatically provides quadplane assistance if the angular error
is over the given value for 1 second while flying faster than
Q_ASSIST_SPEED
2016-08-30 08:35:18 +10:00
Ralf Ramsauer
5b81920737
AP_HAL: AP_HAL_Linux: add comment to I2CDevice::transfer()
...
If I2CDevice::transfer() has to do nothing it returns false. This can be
misleading, as this might feel contradictory.
Let's spend a comment on that.
Signed-off-by: Ralf Ramsauer <ralf.ramsauer@othr.de>
2016-08-29 15:20:14 -03:00
Ralf Ramsauer
25c7e8bf60
AP_HAL: AP_HAL_Linux: perfect I2CDevice::transfer()
...
According to man 3 ioctl, ioctl returns other values than -1 on success.
So loop while ioctl returns -1.
Furthermore, there is no necessity to initialise r with -EINVAL,
Signed-off-by: Ralf Ramsauer <ralf.ramsauer@othr.de>
2016-08-29 15:20:14 -03:00
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