Randy Mackay
5412ce9819
Terrain: set HAL capabilities bit
2015-08-19 20:03:44 +09:00
Randy Mackay
f08c34fe73
GCS_MAVLink: retrieve capabilities from HAL
2015-08-19 20:03:43 +09:00
Randy Mackay
66b0b5c7d6
HAL: define capability bitmask
2015-08-19 20:03:42 +09:00
squilter
44aec8fdca
Copter: add capability bitmask
2015-08-19 20:03:41 +09:00
squilter
ad00e97447
GCS_MAVLink: add optional param to support capability bitmask
2015-08-19 20:03:40 +09:00
Andrew Tridgell
0a66bcbae5
AP_InertialSensor: don't use INT_STATUS drdy to lower SPI bus speed
...
as pointed out by Lucas in PR#2604 this is probably a bad idea
2015-08-19 20:03:39 +09:00
Grant Morphett
07c57ba973
Rover: fixed a bug going into guided and rover still moving
...
When the rover goes into guided mode it sets the current location as
the guided point to goto. If the rover is stationary when this
happens no problem. If however the rover is still rolling (say going
from AUTO to GUIDED) then the rover would go past its guided position
and get confused and begin to circle it. This change resolves that issue.
2015-08-19 20:03:38 +09:00
Grant Morphett
eb63293498
SITL: fix coverity warning - removed unused variable heli_servos
2015-08-19 20:03:37 +09:00
Grant Morphett
0de992c5f9
DataFlash: fix coverity warnings - add param init in constructor
2015-08-19 20:03:36 +09:00
Grant Morphett
4c1de1abf3
AP_InertialSensor: fix coverity warnings - param init in construct
2015-08-19 20:03:35 +09:00
Grant Morphett
ff97bdd605
AP_Baro: coverity fixes - add param init in constructor
2015-08-19 20:03:34 +09:00
Andrew Tridgell
2a30b1862b
Plane: disable camera logging when camera support disabled
2015-08-19 20:03:33 +09:00
Andrew Tridgell
f6e98ff8ef
Plane: remove unused file
2015-08-19 20:03:32 +09:00
Andrew Tridgell
f04954b58c
Plane: trim out some log msgs on APM2
...
save a bit more flash
2015-08-19 20:03:31 +09:00
Andrew Tridgell
be747afd0b
Plane: re-enable geofencing on APM2
...
it only just fits ...
2015-08-19 20:03:30 +09:00
Andrew Tridgell
85179edf58
Plane: added HIL_SUPPORT define
...
disable HIL support on APM2 to save flash space
2015-08-19 20:03:29 +09:00
Andrew Tridgell
9f4ab28352
AP_GPS: re-enable SBAS config on APM2 for uBlox
2015-08-19 20:03:28 +09:00
Andrew Tridgell
27a098be9f
AP_AHRS: use delta_velocity and delta_angle in DCM
...
this prevents an aliasing effect by using the correct delta velocity
time value for each accelerometer sample used
2015-08-19 20:03:27 +09:00
Andrew Tridgell
a9efbf7e4a
AP_GPS: save some memory and code space on APM2 for ublox
...
don't include structures we don't need for low end CPUs
2015-08-19 20:03:26 +09:00
Randy Mackay
4d9325c582
GPS: suppress compile warning
2015-08-19 20:03:25 +09:00
Randy Mackay
04f7a07bad
GPS: fix compile warning for NMEA logging
2015-08-19 20:03:24 +09:00
Randy Mackay
d2f7c21eb3
Baro: update climb rate only if healthy
2015-08-19 20:03:23 +09:00
Randy Mackay
cb9cb7fdc4
Copter: arming check that baro is healthy
2015-08-19 20:03:22 +09:00
Randy Mackay
8c0294f1b7
Copter: arming check that accels and gyro are healty
2015-08-19 20:03:21 +09:00
Andrew Tridgell
50e07ccad6
HAL_Linux: added bcast flag for udp broadcast
2015-08-19 20:03:20 +09:00
Andrew Tridgell
dfdedb3f33
AP_HAL: allow for broadcast packets on UDP IPv4
2015-08-19 20:03:19 +09:00
Andrew Tridgell
28bdeaf5d9
GCS_MAVLink: use a larger log send queue for Linux
...
often on UDP or TCP with more bandwidth
2015-08-19 20:03:18 +09:00
Andrew Tridgell
19dee8419b
AP_HAL: added pollout() function to socket API
2015-08-19 20:03:17 +09:00
Andrew Tridgell
a5f01c7ada
HAL_Linux: sped up UDP transfers by about 25x
...
allow more than 1 packetised transfer per tick
2015-08-19 20:03:16 +09:00
Andrew Tridgell
ab7f9807a2
AP_GPS: added optional NMEA debug log
...
compile time option for debugging
2015-08-19 20:03:15 +09:00
Grant Morphett
f1a46c27b3
Rover: Implemented loitering at a waypoint if Param1 is non-zero
...
Rover now honours the Param1 setting of a time in seconds for a
NAV_WAYPOINT and the Rover will loiter at that waypoint for that
period of time.
Note that as soon as the Rover reaches that waypoint the loiter timer
will start. If you enter a different mode during this time (HOLD for
instance) the timer resets. If you then switch back to AUTO
mode and the Rover returns to that waypoint it will wait for the
loiter time configured in param1.
2015-08-19 20:03:14 +09:00
Andrew Tridgell
81a3d439a3
HAL_Linux: allow startup before network bringup
...
this makes it possible to bootup ardupilot before the desired network
interface is available. This is very useful for when using 3G dongles
in aircraft
2015-08-19 20:03:13 +09:00
Andrew Tridgell
288c20a58e
HAL_Linux: implemented TCP server as a single driver
...
the wait flag just changes startup behaviour. The TCP server should
always be a server with listen and accept. We don't need two drivers
2015-08-19 20:03:11 +09:00
Andrew Tridgell
ef47a27ac8
AP_HAL: added listen and accept APIs to socket API
2015-08-19 20:03:10 +09:00
Andrew Tridgell
fa40e7245e
AP_HAL: added pollin() interface for Socket API
2015-08-19 20:03:09 +09:00
Andrew Tridgell
bd1b35804a
HAL_Linux: replace recvfrom with recv
2015-08-19 20:03:08 +09:00
Andrew Tridgell
a48f0db405
AP_HAL: fixed socket destructor
2015-08-19 20:03:07 +09:00
Andrew Tridgell
bbc8bdcef3
HAL_Linux: removed 0 timeout from sendto call
2015-08-19 20:03:06 +09:00
Staroselskii Georgii
879f4f7555
AP_HAL_Linux: fixed _parseDevicePath() in LinuxUARTDRiver
...
The current implementation doesn't throw an error on a malformed path string.
i.e. udp:192.168.1.1.14550 instead of udp:192.168.1.1:14550 may result in a memory leak or whatsoever.
The commit fixes the issue and outputs a nice error message if anything's wrong.
2015-08-19 20:03:05 +09:00
Staroselskii Georgii
f66f583843
AP_HAL_Linux: renamed TCPClientDevice
2015-08-19 20:03:04 +09:00
Staroselskii Georgii
39048229cd
AP_HAL_Linux: renamed TCPServerDevice
...
A more appropriate name for the class.
2015-08-19 20:03:03 +09:00
Staroselskii Georgii
50765229ca
AP_HAL_Linux: made UARTDriver use TCPServerDevice
2015-08-19 20:03:02 +09:00
Staroselskii Georgii
0ec64a5d13
AP_HAL_Linux: added TCPServerDevice
2015-08-19 20:03:01 +09:00
Staroselskii Georgii
34c1fe6e66
AP_HAL_Linux: made UARTDriver use TCPClientDevice
2015-08-19 20:03:00 +09:00
Staroselskii Georgii
244cdb3507
AP_HAL_Linux: added TCPClientDevice
2015-08-19 20:02:59 +09:00
Staroselskii Georgii
595903f17c
AP_HAL_Linux: got rid of TCP connection
2015-08-19 20:02:58 +09:00
Staroselskii Georgii
179fc4a781
AP_HAL_Linux: made UARTDriver use ConsoleDevice
2015-08-19 20:02:57 +09:00
Staroselskii Georgii
7ba960f265
AP_HAL_Linux: added ConsoleDevice
2015-08-19 20:02:56 +09:00
Staroselskii Georgii
4a79713081
AP_HAL_Linux: made UARTDriver use UDPDevice
2015-08-19 20:02:55 +09:00
Staroselskii Georgii
9e6c4fe176
AP_HAL_Linux: added UDPDevice
2015-08-19 20:02:54 +09:00