stefanlynka
16c9023cf0
Tracker: update how current_loc gets location
...
Get position from EKF but fall back to GPS if that fails
2016-07-28 16:43:05 +09:00
stefanlynka
a693f9ead6
Tracker: compensate for tilt while tracking
...
This adds an earth frame to body frame conversion which is required
to convert the earth-frame angles to the target vehicle into body-frame
movements of the servos
2016-07-28 16:43:05 +09:00
Andrew Tridgell
c6d3f07b5f
AP_RPM: provide an RPM quality in SITL
2016-07-28 12:39:07 +10:00
Staroselskii Georgii
4ca1b58408
AP_HAL_Linux: add ConsoleDevice a handler for TTIN signal
...
In a case ArduPilot is launched as a background process without
detaching with *nohup* like this ./arduplane -C /dev/ttyAMA0 ConsoleDevice
is created and an attempt to read from it is made. This yields in a stopped
process. This is an endeavour to overcome this problem.
2016-07-27 21:30:19 +10:00
Staroselskii Georgii
8d2b587f71
AP_HAL_Linux: RPI: set signal handler iff nobody has already done it before
2016-07-27 21:30:19 +10:00
Staroselskii Georgii
5e8edcb1db
AP_HAL_Linux: use NSIG instead of a hardcoded number in RCInput_RPI
2016-07-27 21:30:19 +10:00
Staroselskii Georgii
d69aeb4808
AP_HAL_SITL: use sigaction over signal API in SITL_State
2016-07-27 21:30:19 +10:00
Staroselskii Georgii
61e066513d
FlightGear: remove the application
...
It seems like nobody uses this app because it can't even get compiled.
That's why I think it should go away.
2016-07-27 21:30:19 +10:00
Staroselskii Georgii
bd8c61542d
Replay: make use of sigaction instead of signal API
...
It's a more proper and portable way to set up signal handlers.
2016-07-27 21:30:19 +10:00
Staroselskii Georgii
9576be3a21
Replay: encapsulated signal handling
2016-07-27 21:30:18 +10:00
Andrew Tridgell
70c4038751
Replay: changed Makefile to use waf
2016-07-27 21:28:30 +10:00
Randy Mackay
d19c074ba1
AP_ADC_ADS1115.h: changed member declaration order to resolve compiler warning
...
No functional change
2016-07-27 13:39:32 +09:00
hiro2233
3ae36c4a6c
AP_HAL_Linux:RCInput: Minimun input channels defined
2016-07-27 00:55:55 -03:00
hiro2233
4a6447575c
AP_HAL: fixed and updated RCInput example.
2016-07-27 00:52:13 -03:00
Andrew Tridgell
9df58e1e0a
AP_Arming: don't show the GPS arming error in SITL
...
it just makes users think something is wrong
2016-07-27 07:46:04 +10:00
Andrew Tridgell
388b7ad6bd
Plane: fixed is_flying_vtol() for non-quadplane
2016-07-27 07:43:16 +10:00
Lucas De Marchi
a159eedd8c
AP_RangeFinder: fix bus for Lightware on some boards
2016-07-26 00:52:54 -03:00
Lucas De Marchi
cb01280d77
AP_HAL: define bus for Lightware rangefinder
2016-07-26 00:52:54 -03:00
Jonathan Challinger
4dfb277683
AP_RangeFinder: fix LightwareI2C conversion to I2CDevice
2016-07-26 00:52:54 -03:00
Tom Pittenger
5108b4cbb6
AP_BattMonitor: move vehicle dependant code to be c-file only, not header
2016-07-25 18:10:57 -07:00
murata
7721290160
AP_Scheduler:time_available value type invalid uint16_t to valid uint32_t.
2016-07-25 20:18:16 -03:00
Murilo Belluzzo
d8b58690ad
AP_TECS: Remove useless 'if' statement
...
This should fix CID 91386.
Before removing the 'if', I checked the log to confirm that both branch
didn't end-up being equal by mistake in some commit. But it looks like
the file was added in the project this way.
2016-07-25 18:51:56 -03:00
Lucas De Marchi
c6edae7e8e
Revert "Global: workaround toolchain problem on windows"
...
This reverts commit 4e2b30b413
.
The toolchain for windows is now updated, we can remove this workaround.
2016-07-25 17:56:12 -03:00
mirkix
6082472990
AntennaTracker: Delete (wrong) filename out of header
2016-07-25 17:52:50 -03:00
Gustavo Jose de Sousa
ef0fb97fe4
waf: reduce scope of ant_glob() patterns
...
And reduce pre-build execution time.
2016-07-25 17:45:38 -03:00
mirkix
e3934fac80
ArduCopter: Delete (wrong) filename out of header
2016-07-25 17:13:41 -03:00
Gustavo Jose de Sousa
1ad0c685eb
waf: add git_submodule post build callback
...
So that the user is warned about skipped submodule updates.
2016-07-25 16:45:57 -03:00
Gustavo Jose de Sousa
4bd17ab90c
waf: git_submodule: allow warning about skipped submodules updates
...
Provide a function to register a post build routine to do the warnings. Do that
way so that the user can chose when to add the callback to the build (i.e.
allow the user to assert a desired order for the post build callbacks to be
called).
2016-07-25 16:45:57 -03:00
Gustavo Jose de Sousa
4cd70842d9
waf: git_submodule: don't update submodule if non-fastforward
...
Don't cause trouble to developers working on submodules.
2016-07-25 16:45:57 -03:00
Gustavo Jose de Sousa
65e19fd9af
waf: don't update submodules if not a git repository
...
That is useful for releases tarballs.
2016-07-25 16:45:57 -03:00
Tom Pittenger
2c6340bb10
AP_ADSB: compiler warning: init value before use even though it already is
...
silly compiler warnings.. this one is incorrect but it throws a conservative warning which this solves
2016-07-25 10:14:00 -07:00
Tom Pittenger
dce734d196
AP_ADSB: treat invalid vehicle same as out-of-range: ignore and/or delete it
...
- aircraft that travel out of range will now get dropped instantly instead of linger and go stale then timeout
2016-07-25 10:03:48 -07:00
Tom Pittenger
726d1d515e
AP_ADSB: use correct units (sec) in time since last update for vehicle update
2016-07-25 10:00:57 -07:00
Randy Mackay
a8f04bd030
mavlink: update to use mav-collision items
2016-07-25 20:24:37 +09:00
Randy Mackay
49674abb21
Copter: guided mode's velocity controller stops before fence
2016-07-25 20:24:37 +09:00
Randy Mackay
7a6e0a981b
Copter: simplify guided mode's velocity controller's accel limit calcs
2016-07-25 20:24:37 +09:00
Randy Mackay
f27cf8d388
AC_Avoidance: add adjust_velocity that accepts Vector3f for convenience
...
We should actually modify this function to scale back the z axis in order to avoid breaching the vertical fence. Currently breaching the vertical fence is handled within the position controller which is inconsistent.
2016-07-25 20:24:37 +09:00
Peter Barker
692ff22453
AC_Avoid: move closest_point to AP_Math
2016-07-25 20:24:37 +09:00
Peter Barker
2047d53470
Math: move closest_point in from AC_Avoid
2016-07-25 20:24:37 +09:00
Randy Mackay
dc52f3b2df
Copter: guided mode applies acceleration limits to velocity controller
2016-07-25 20:24:37 +09:00
Randy Mackay
866487608e
Copter: rename guided mode's posvel controller target variables
...
We will re-use these targets for the guided velocity controller
2016-07-25 20:24:37 +09:00
Randy Mackay
6118bf1b14
Copter: remove adsb sensor library based avoidance
...
adsb based avoidance has been moved to AP_Avoidance library
2016-07-25 20:24:37 +09:00
Randy Mackay
d50987f976
Copter: avoidance_adsb implements copter avoidance using ADSB
2016-07-25 20:24:37 +09:00
Randy Mackay
df55704875
Copter: pre-arm check includes adsb failsafe
2016-07-25 20:24:37 +09:00
Randy Mackay
68899ed921
Copter: add adsb to failsafe structure and report in heartbeat to GCS
2016-07-25 20:24:37 +09:00
Randy Mackay
f4db4bdb08
Copter: GCS_MAVLink passes packets to AP_Avoidance
...
This allows treating GLOBAL_POSITION_INT packets from other vehicles in the same way as ADSB packets
2016-07-25 20:24:37 +09:00
Randy Mackay
61844b3062
Copter: add AP_Avoidance to build
2016-07-25 20:24:37 +09:00
Peter Barker
89fbf23012
AP_Avoidance: get_location becomes a method on adsb rather than a abds vehicle
2016-07-25 20:24:37 +09:00
Peter Barker
b5c1019aac
AP_Avoidance: adsb based avoidance library
2016-07-25 20:24:37 +09:00
Peter Barker
1cdb97e605
AP_ADSB: support for provision of samples to other libraries
2016-07-25 20:24:37 +09:00