Michael du Breuil
f1f8233220
Rover: Return RESULT_FAILED for GET_CMD_HOME if home is unset
2016-09-03 16:54:18 +09:00
Michael du Breuil
bec4bfa2ba
Copter: Return RESULT_FAILED for GET_CMD_HOME if home is unset
2016-09-03 16:54:16 +09:00
Michael du Breuil
2843e266b5
Plane: Return RESULT_FAILED for GET_CMD_HOME if home is unset
2016-09-03 16:54:14 +09:00
Lucas De Marchi
95d5752011
build: fix configure check for headers
...
When we are checking if a header is available we can't pass -I argument
to our missing/ directory. Otherwise we would end up telling the build
that a header is available when it actually isn't.
This fixes the build of sitl in MacOS with clang.
2016-09-03 01:19:14 -03:00
Gustavo Jose de Sousa
5c5ddc9d4a
AP_HAL: reformat AP_HAL_Boards.h
...
The definitions for each board haven't been reformatted here. They need a
little more thinking on how to format them in order to provide better
readability.
2016-09-03 01:03:17 -03:00
José Roberto de Souza
6a9addb2a8
waf: Add Intel Aero to waf build
...
This will be the first board that only build with waf.
2016-09-03 01:03:17 -03:00
José Roberto de Souza
13287f61e3
AP_Compass: Make COMPASS_AERO probe BMM150
2016-09-03 01:03:17 -03:00
Gustavo Jose de Sousa
68fe536da3
AP_InertialSensor: use BMI160 for Intel Aero
2016-09-03 01:03:07 -03:00
Gustavo Jose de Sousa
025082b280
AP_HAL_Linux: add port to Intel Aero
...
Contributions from:
- Gustavo Jose de Sousa <gustavo.sousa@intel.com>
- José Roberto de Souza <jose.souza@intel.com>
- Lucas De Marchi <lucas.demarchi@intel.com>
- Patrick J.P <patrick.pereira@intel.com>
2016-09-03 01:03:07 -03:00
José Roberto de Souza
0b0be31a29
AP_HAL: add defines for Intel Aero
2016-09-03 01:03:07 -03:00
Gustavo Jose de Sousa
b6c0e11200
AP_InertialSensor: BMI160: convert it to use Device periodic callback
...
Some notes:
- The only place that made sense to use
suspend_timer_procs()/resume_timer_procs() calls were where we registered
the timer process. Now there's no need for that anymore. Remove those calls
from other place in the source too.
- There's no need to acquire the device lock now that we are running as a
periodic callback.
2016-09-03 01:03:07 -03:00
Gustavo Jose de Sousa
b259356703
AP_Compass: BMM150: convert it to use Device periodic callback
2016-09-03 01:03:07 -03:00
Lucas De Marchi
667fca60f5
AP_Compass: BMM150: reduce lock region
...
Use a semaphore to update the accumulated values instead of using the
timer semaphore.
2016-09-03 01:03:07 -03:00
Patrick J.P
c32dc3bc37
AP_HAL_Linux: Add AeroIO communication module
...
Signed-off-by: Patrick J.P <patrick.pereira@intel.com>
2016-09-03 01:03:07 -03:00
Randy Mackay
4858afae6c
AP_Motors: param description update that MOT_SPIN_MIN should be higher than MOT_SPIN_ARM
2016-09-03 11:12:31 +09:00
Grant Morphett
b6b10505f1
Rover: New BETA release of Rover 3.1.0Beta2
2016-09-03 08:58:12 +10:00
Andrew Tridgell
d149a2e613
Plane: updated release notes for 3.7.0
2016-09-02 16:52:24 +10:00
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