Andrew Tridgell
bf1e0e1536
AP_AHRS: fixed EKF GPS arming check for fixed wing
...
when in a quadplane mode we set fly_forward to zero. We need to ensure
the GPS checks for EKF health are applied when doing arming checks, so
we use the checks always when disarmed
2016-09-02 11:12:19 +10:00
Andrew Tridgell
6849f2223d
Plane: set initial alt target on takeoff completion
...
this prevents a sudden motor spike at the start of the transition
2016-09-02 11:12:19 +10:00
Andrew Tridgell
232347569f
AP_RPM: use RPM_SCALING in SITL
...
useful for testing low RPM warning in a GCS
2016-09-02 11:12:18 +10:00
Andrew Tridgell
acbeb29fbe
AP_Frsky_Telem: use const references where possible
...
save some stack space
2016-09-02 11:12:18 +10:00
Randy Mackay
3052e8f80b
Plane: quadplane calls attitude control parameter check
2016-09-02 09:27:19 +09:00
Randy Mackay
4832ba4bf0
Copter: call attitude control parameter check
2016-09-02 09:27:17 +09:00
Randy Mackay
44830be172
AC_AttControl: add parameter check of throttle mix
2016-09-02 09:27:15 +09:00
Randy Mackay
535158e0d8
AC_AttControl: move var_info declaration
...
No functional change
2016-09-02 09:27:12 +09:00
Pierre Kancir
63a6b28065
param_metadata: change Ardupilot site to old Ardupilot site
2016-09-01 13:05:11 +10:00
Pierre Kancir
59ecccd4aa
autotest: remove old apm_unit_tests
2016-09-01 13:05:11 +10:00
Pierre Kancir
9e1ffcae5d
Tools: update python coding style
...
Tools: update PrintVersion.py coding style
autotest: update python coding style
pysim: update python coding style
jsb_sim: update Python coding style
param_metadata: update Python coding style
2016-09-01 13:05:11 +10:00
Randy Mackay
38b3d3ff3a
AP_GPS_MAV: initialise location while handling_msg
...
This reduces a covarity warning but it likely not really an issue because we always initialise newly allocated memory to zero anyway
2016-09-01 12:01:14 +09:00
Randy Mackay
42cca17df4
Copter: update 3.4-rc3 release notes
2016-09-01 11:45:46 +09:00
Randy Mackay
f6f3718e80
Copter: 3.4-rc3 release notes
2016-08-31 15:01:23 +09:00
Randy Mackay
a8a31b1c24
Copter: fix health reporting to GCS for optical flow and precision landing
...
Includes slight restructuring to logic for other sensors but these should not have any functional effect
2016-08-31 13:59:16 +09:00
murata
59796aaf9c
AP_OpticalFlow: The first value of the register to the value of the definition.
2016-08-31 01:01:59 -03:00
Gustavo Jose de Sousa
5d7ca3fd27
waf: build_summary: don't call size for empty list of nodes
...
Otherwise, that will cause an error.
2016-08-31 00:19:51 -03:00
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