Commit Graph

17607 Commits

Author SHA1 Message Date
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
Staroselskii Georgii b59264007c AP_HAL_Linux: encapsulated LinuxUARTDriver::_deallocate_buffers 2015-08-19 20:02:53 +09:00
Staroselskii Georgii 26382e63df AP_HAL_Linux: made UARTDriver use UARTDevice 2015-08-19 20:02:52 +09:00
Staroselskii Georgii 0c582eeae6 AP_HAL_Linux: added UARTDevice 2015-08-19 20:02:51 +09:00
Staroselskii Georgii 7160c88d39 AP_HAL_Linux: added SerialDevice interface
Adds the interface that will be used for encapsulating various mediums
that can be used in the Linux port.
2015-08-19 20:02:50 +09:00
Staroselskii Georgii 9b25217757 AP_HAL_Linux: added _serial_start_connection 2015-08-19 20:02:49 +09:00
Staroselskii Georgii ed431e9857 AP_HAL_Linux: encapsulated LinuxUARTDriver::allocate_buffers 2015-08-19 20:02:48 +09:00
Staroselskii Georgii 4d28b4a962 AP_HAL_Linux: use defines instead of hardcoding fd numbers in UARTDriver 2015-08-19 20:02:47 +09:00
Staroselskii Georgii 6d1133378b AP_HAL: added destructor for Socket 2015-08-19 20:02:46 +09:00
Staroselskii Georgii 3134634af6 AP_HAL: improved constness of Socket API 2015-08-19 20:02:45 +09:00
Andrew Tridgell 8a975015b5 Plane: fixed above_location_current() for non-terrain alt
thanks to Lekston for finding the bug (PR#2610)
2015-08-19 20:02:44 +09:00
Michael du Breuil 3a7cc03f67 AP_GPS: Fix copy/paste error in ublox (uncovered by coverity) 2015-08-19 20:02:44 +09:00
Kevin Hester 7e231b5d37 Eclipse: template project files
users should rename these files to .cproject and .project (i.e. remove
the leading eclipse portion)

Original work done by Kevin, heavily modified by Randy
2015-08-19 20:02:43 +09:00
Randy Mackay ef6b173326 Copter: slow start motors after landing in Stabilize, Acro 2015-08-19 20:02:42 +09:00
Randy Mackay 77b97f8643 AC_AttControl: relax earth frame rate targets along with bf 2015-08-19 20:02:41 +09:00
Randy Mackay f46e2c2c36 Tracker: update readme 2015-08-19 20:02:40 +09:00
Спивак Константин 5d2440883e Tracker: create readme.txt 2015-08-19 20:02:39 +09:00
rentt 1c8180a41f Scheduler: fix compiler warning in example sketch
printf except a unsigned long value, but the hal.scheduler->millis() return a uint32_t
2015-08-19 20:02:38 +09:00
Tom Pittenger bced0a3734 SITL: param SITL_ARSP_FAIL should be a float instead of byte
this param was meant to represent an airspeed which is a float
2015-08-19 20:02:37 +09:00
Andrew Tridgell 3e04976ce8 Maintainers: added Michael as uBlox maintainer 2015-08-19 20:02:36 +09:00
Andrew Tridgell 954cfde741 Copter: fixed comment on get_pilot_desired_yaw_rate 2015-08-19 20:02:35 +09:00
Andrew Tridgell 1b1bc9f3b1 RC_Channel: prevent floating exception on bad MIN/MAX/TRIM values 2015-08-19 20:02:34 +09:00
Tom Pittenger ffe1561f31 AP_InitialSensor_MPU6000: compiler warning - init order 2015-08-19 20:02:33 +09:00