Andrew Tridgell
596ecde70d
AP_HAL: added listen and accept APIs to socket API
10 years ago
Andrew Tridgell
b07f7e873f
AP_HAL: added pollin() interface for Socket API
10 years ago
Andrew Tridgell
f72d9c6393
HAL_Linux: replace recvfrom with recv
10 years ago
Andrew Tridgell
5067359ed7
AP_HAL: fixed socket destructor
10 years ago
Andrew Tridgell
3f3aaa3c50
HAL_Linux: removed 0 timeout from sendto call
10 years ago
Staroselskii Georgii
aa3efecef3
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.
10 years ago
Staroselskii Georgii
0362128265
AP_HAL_Linux: renamed TCPClientDevice
10 years ago
Staroselskii Georgii
211acbec9c
AP_HAL_Linux: renamed TCPServerDevice
...
A more appropriate name for the class.
10 years ago
Staroselskii Georgii
a3f47878a2
AP_HAL_Linux: made UARTDriver use TCPServerDevice
10 years ago
Staroselskii Georgii
56f760f022
AP_HAL_Linux: added TCPServerDevice
10 years ago
Staroselskii Georgii
eacc085289
AP_HAL_Linux: made UARTDriver use TCPClientDevice
10 years ago
Staroselskii Georgii
a5ef931f5c
AP_HAL_Linux: added TCPClientDevice
10 years ago
Staroselskii Georgii
6e34dd9669
AP_HAL_Linux: got rid of TCP connection
10 years ago
Staroselskii Georgii
de6b2b4bce
AP_HAL_Linux: made UARTDriver use ConsoleDevice
10 years ago
Staroselskii Georgii
a9c9d91f09
AP_HAL_Linux: added ConsoleDevice
10 years ago
Staroselskii Georgii
6ec67a9bfd
AP_HAL_Linux: made UARTDriver use UDPDevice
10 years ago
Staroselskii Georgii
1881878c3a
AP_HAL_Linux: added UDPDevice
10 years ago
Staroselskii Georgii
656399541f
AP_HAL_Linux: encapsulated LinuxUARTDriver::_deallocate_buffers
10 years ago
Staroselskii Georgii
f117134443
AP_HAL_Linux: made UARTDriver use UARTDevice
10 years ago
Staroselskii Georgii
acd180ae96
AP_HAL_Linux: added UARTDevice
10 years ago
Staroselskii Georgii
6b94fd7603
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.
10 years ago
Staroselskii Georgii
dacbdb57c4
AP_HAL_Linux: added _serial_start_connection
10 years ago
Staroselskii Georgii
44198bd4eb
AP_HAL_Linux: encapsulated LinuxUARTDriver::allocate_buffers
10 years ago
Staroselskii Georgii
94de9416fe
AP_HAL_Linux: use defines instead of hardcoding fd numbers in UARTDriver
10 years ago
Staroselskii Georgii
1a588263e4
AP_HAL: added destructor for Socket
10 years ago
Staroselskii Georgii
4411c1fed4
AP_HAL: improved constness of Socket API
10 years ago
Michael du Breuil
5c9d248407
AP_GPS: Fix copy/paste error in ublox (uncovered by coverity)
10 years ago
Randy Mackay
0bf1d04172
AC_AttControl: relax earth frame rate targets along with bf
10 years ago
rentt
ad32a98e29
Scheduler: fix compiler warning in example sketch
...
printf except a unsigned long value, but the hal.scheduler->millis() return a uint32_t
10 years ago
Tom Pittenger
0c9cec7958
SITL: param SITL_ARSP_FAIL should be a float instead of byte
...
this param was meant to represent an airspeed which is a float
10 years ago
Andrew Tridgell
c86ff1ac25
RC_Channel: prevent floating exception on bad MIN/MAX/TRIM values
10 years ago
Tom Pittenger
01161135d6
AP_InitialSensor_MPU6000: compiler warning - init order
10 years ago
Tom Pittenger
93c6ed0ea2
AC_WPNav: compiler warnings: float to double
10 years ago
Randy Mackay
5032cf9fbc
Copter: init multicopter flags
...
Resolves coverity warning
Also fixed indentation
10 years ago
Michael du Breuil
9d53aa77eb
AP_GPS: Add reboot required docstring
10 years ago
Randy Mackay
b13921a7aa
Mount_SToRM32: find gimbal channel on startup
10 years ago
Randy Mackay
e7df54ca75
GCS_MAVLink: static find_by_mavtype method
10 years ago
Randy Mackay
e092902613
GCS_MAVLink: add find_by_mavtype
10 years ago
Peter Barker
1ee330ebb2
DataFlash: CLI log dumping - don't truncate lines that contain doubles
...
We currently print doubles out as if they were floats. The ftoa_engine isn't something to replicate for doubles lightly!
10 years ago
Peter Barker
39b2cdcc3c
AP_Menu: avoid segmentation fault
...
Insufficient input would cause a segfault
10 years ago
Randy Mackay
3dfb447fd7
BattMon: has_current true for Bebop
...
The bebop does not actually provide current but it does estimate the
percentage of battery remaining
10 years ago
Randy Mackay
8403b504d1
BattMon: add Bebop to monitor param description
10 years ago
Randy Mackay
9482578c60
BattMon: Bebop always uses bebop batt monitor
10 years ago
Randy Mackay
84b6ab0707
BattMon_Bebop: use ARRAY_SIZE
...
Also remove printf of failure message, instead we should add the battery
monitor health to the SYS_STATUS message sent to the ground station
10 years ago
Randy Mackay
3b36178a0b
BattMon_Bebop: init members in constructor
10 years ago
Jean-Baptiste Dubois
f6aba6c952
HAL_Linux: add read_obs_data to RCOutput_Bebop
10 years ago
Jean-Baptiste Dubois
35ae562dbe
AP_BattMonitor: Add battery support for Bebop Hardware
10 years ago
Andrew Tridgell
54254c89d7
AP_Arming: control rudder arming with ARMING_RUDDER parameter
...
allow for 3 states:
0: no rudder arming
1: arm only
2: arm and disarm
10 years ago
Lucas De Marchi
8240e5ae65
AP_Compass: AK8963: reduce bytes read
...
We are not using INFO and ST1 registers, so there's no need to read
extra 2 bytes for each transaction.
10 years ago
Lucas De Marchi
2b9c46e1ff
AP_Compass: AK8963: don't oversample AK8963
...
Reduce the frequency with which MPU9250 reads AK8963 to reduce the
chance of errors.
10 years ago