Peter Barker
f4d8ddaf48
sim_vehicle.sh: remove unused variable sets
2016-04-29 13:41:08 -03:00
Peter Barker
47436b9680
sim_vehicle.sh: remove unused SIMIN variable
2016-04-29 13:41:08 -03:00
Peter Barker
4ee1e3d804
sim_vehicle.sh: remove useless variable set
...
Also correct initialisation of a variable
2016-04-29 13:41:08 -03:00
Peter Barker
47e037cada
sim_vehicle.sh: set options properly for heli-dual and heli-compound
2016-04-29 13:41:08 -03:00
Niti Rohilla
409a7e1c97
APMRover : Updated handle_guided_request() to report error.
2016-04-29 12:39:28 -03:00
Niti Rohilla
a03941ba02
ArduPlane : Updated handle_guided_request() to report error.
2016-04-29 12:39:28 -03:00
Niti Rohilla
867360c350
ArduCopter : Updated handle_guided_request() to report error.
2016-04-29 12:39:28 -03:00
Niti Rohilla
052fc6b85e
AntennaTracker : Updated handle_guided_request() to report error.
2016-04-29 12:39:28 -03:00
Niti Rohilla
8fcf5cf0c1
Changed the prototype of handle_guided_request() to report error
...
while setting guided points.
2016-04-29 12:39:28 -03:00
Lucas De Marchi
6839ee4f37
AP_OpticalFlow: remove trailing whitespaces
2016-04-29 12:10:52 -03:00
Lucas De Marchi
5a52533084
AP_OpticalFlow: move bus definition to AP_HAL header
2016-04-29 12:10:21 -03:00
Ricardo de Almeida Gonzaga
46fb57fcf1
AP_OpticalFlow: use I2CDevice interface
2016-04-29 12:01:04 -03:00
mirkix
106f26d204
Linux_HAL_Essentials: Add missing make command in README.md for aiopru
2016-04-29 11:59:21 -03:00
Michael du Breuil
731c68f273
Plane: Change mode to RTL on end of mission rather then staying in auto
...
Deleted commands_process as it had 2 lines of useful code left, and was cleaner to move the remaining two lines into the caller case
2016-04-29 13:12:18 +10:00
Peter Barker
a9940a8ca5
sim_vehicle.py: create from sim_vehicle.sh
2016-04-29 10:29:43 +10:00
Andrew Tridgell
ab5ca53e2f
Plane: lower default VTOL ANGLE_MAX to 30 degrees
...
we don't really want a quadplane at 45 degrees or the wing drag gets
far too high
2016-04-29 10:23:26 +10:00
Andrew Tridgell
19a1edcd2b
Plane: lower default velocity controller gains for quadplanes
...
we're getting too many XY velocity controller oscillations. Better to
start with smaller gains
2016-04-29 10:02:45 +10:00
Andrew Tridgell
68e17af070
SITL: allow for changing FlightAxis controller IP
2016-04-29 09:03:48 +10:00
Andrew Tridgell
6f4d66f346
Plane: support building quadplane with forced motors class
2016-04-28 22:40:45 +10:00
Andrew Tridgell
e3f5d4552e
autotest: added params for quadplane tricopter
2016-04-28 22:40:25 +10:00
Andrew Tridgell
9c0d984a4e
Plane: support forced motor class in quadplane
2016-04-28 22:37:24 +10:00
Andrew Tridgell
e428d1e72d
SITL: support tricopter quadplanes
2016-04-28 22:36:53 +10:00
Andrew Tridgell
ff96085bd3
AP_Motors: allow arbitrary motor mapping with tricopters
2016-04-28 22:36:41 +10:00
Andrew Tridgell
4908350ccb
AC_WPNav: limit WPNAV_ACCEL to that implied by ANGLE_MAX
...
this prevents an overshoot and backtracking in the navigation code
when WPNAV_ACCEL is unachievable due to an angle limit
2016-04-28 17:47:50 +10:00
Andrew Tridgell
c7664291f9
AC_AttitudeControl: fixed comment on function
2016-04-28 17:46:58 +10:00
Andrew Tridgell
23a64e1227
AC_AttitudeControl: fixed accel limit trigonometry
...
Leonard had mentioned the limit should be tan(angle) not sin(angle). I
noticed this one was wrong.
2016-04-28 16:15:15 +10:00
Andrew Tridgell
bec8bf8880
autotest: support multicopter frame variants
2016-04-28 10:05:18 +10:00
Andrew Tridgell
9e01d7de6c
SITL: added support for "quad-fast" frame
...
much more powerful copter for testing nav at high speed
2016-04-28 10:05:04 +10:00
Andrew Tridgell
00c2b4b30f
Plane: reload airspeed after VTOL landing
2016-04-28 08:42:19 +10:00
Staroselskii Georgii
60426faa52
AP_HAL_Linux: changed ADC logic a bit for Navio 2
...
- make voltage_average_ratiometric() the same as voltage_average()
- make read_latest() the same as voltage_average()
wip
2016-04-27 17:14:21 +03:00
Staroselskii Georgii
3feade792a
AP_Airspeed: changed default pin for Navio boards
...
Use channel 5 (i.e. /sys/kernel/adc/ch5) for Airspeed sensors instead of virtual 65 that doesn't
make sense on these boards.
2016-04-27 15:37:34 +03:00
Peter Barker
e83b10cbc5
AP_HAL: move definition of callbacks structure out of C linkage
...
This fixes all the examples which use the AP_HAL_MAIN macro.
2016-04-27 14:21:28 +10:00
Rustom Jehangir
4a10156b13
AP_HAL_Linux: Fix RCInput::read from stopping at any zero channel
...
This bug led to issues for us so it may help others to resolve it.
Currently, the AP_HAL_Linux RCInput::read(uint16_t*,uint8_t) function
only returns the first x nonzero channels. Once it hits a channel that
is set to zero, it stops and all remaining channels are returned as
zero, even if they are set. This causes discrepancies between the raw RC
input sent to the GCS and the RC input that is actually used on the
vehicle.
The fixes this issue and makes it behave exactly as it does on the
PX4_HAL code. We ran into this issue when sending rc_override messages
in which there were some channels set to zero.
2016-04-26 22:32:07 -03:00
Peter Barker
08e5959923
autotest: correct path to mavtogpx
2016-04-27 08:20:51 +10:00
Andrew Tridgell
197e72acc0
GCS_MAVLink: fixed null termination bug
...
found with ASAN
2016-04-26 18:20:49 +10:00
Andrew Tridgell
69e233a39d
AP_GPS: fixed init string for SBF GPS
...
coverity #125042
2016-04-26 16:51:29 +10:00
Andrew Tridgell
785ad0614a
SITL: fixed coverity 125055
2016-04-26 16:46:06 +10:00
Andrew Tridgell
ed4e8b635a
SITL: fixed fd leak
...
coverity #125056
2016-04-26 16:43:54 +10:00
Andrew Tridgell
97d27ce58f
AP_Math: fixed memory leak
...
found by coverity
2016-04-26 16:41:44 +10:00
Andrew Tridgell
847483d744
SITL: fixed coverity warning
2016-04-26 16:37:17 +10:00
Andrew Tridgell
909a46a33b
Replay: pass delta angle time if available
2016-04-26 15:50:59 +10:00
Andrew Tridgell
be41d402b5
AP_InertialSensor: added set of delta angle time for replay
2016-04-26 15:50:46 +10:00
Andrew Tridgell
bcefb45e0a
DataFlash: added DelaT to delta-angle logs
2016-04-26 15:50:29 +10:00
Andrew Tridgell
4401cbec72
AP_InertialSensor: cope with zero delta angle time from Replay
2016-04-26 15:37:11 +10:00
Andrew Tridgell
f367180f47
Replay: support 2 IMU EKF2
2016-04-26 14:39:44 +10:00
Peter Barker
c869516a0b
Replay: abort if field type not known; understand double
2016-04-26 14:20:11 +10:00
Andrew Tridgell
1ebe0a2583
Plane: prevent a division by zero in takeoff code
2016-04-26 12:06:57 +10:00
Michael du Breuil
831ae72908
AP_Mission: Remove DO_SET_PARAMETER
2016-04-25 09:59:59 +09:00
mirkix
6e546ba181
AP_HAL_Linux: Fix compiler warning unused hal
2016-04-24 11:09:55 -03:00
mirkix
b381045d5e
AP_HAL: BBBmini rework for dual MPU9250 and external HMC5843 compass
2016-04-24 10:57:57 -03:00