Lucas De Marchi
370e10281b
AP_Common: AP_FWVersion: add pointers to git hash strings
...
Keeping the hash strings on this struct allow to handle them
the same way on common code and remove ifdefs.
2017-09-23 21:37:45 -07:00
Andrew Tridgell
678bd084b7
AP_Compass: added IST8310 on FMUv3 I2C
2017-09-23 08:07:18 +10:00
davidaroyer
cb270a9acf
AP_RangeFinder: cleanup variable names in uLanding driver
2017-09-22 18:08:27 +01:00
davidaroyer
8284fb1093
AP_RangeFinder: update uLanding driver for new firmware data format
2017-09-22 18:08:27 +01:00
fnoop
149188de12
AP_HAL: Add size() method to RingBuffer ObjectArray
2017-09-22 09:56:00 -07:00
fnoop
3ddd9a6bca
AP_HAL: RingBuffer: Prefix private members with underscore
2017-09-22 09:55:49 -07:00
Andrew Tridgell
2c68b5dac3
AP_Airspeed: fixed airspeed autocal
...
don't use negative pressures
2017-09-22 18:24:29 +10:00
Mark Whitehorn
dedb40ce0b
SITL: add parameter to simulate reversed pitot tube order
2017-09-22 18:21:09 +10:00
Mark Whitehorn
f32f51f843
AP_Airspeed: eliminate airspeed positive bias
2017-09-22 18:21:09 +10:00
Lucas De Marchi
3847825fba
AP_HAL_Linux: make Aero use Tap ESC
...
This allows controlling the motors from Linux on Intel Aero RTF given
the right FPGA firmware is in place.
2017-09-21 07:59:20 -07:00
Lucas De Marchi
68b3e5ccab
AP_HAL: aero: define uart RCOutput_Tap
2017-09-21 07:59:20 -07:00
Lucas De Marchi
51665a2ea9
AP_HAL: RCOutput_Tap: split baudrate set for Linux and Nuttx
...
On Linux (and in most of posix-like systems) the baudrate set in struct
termios via cfset[io]speed is actually the index of the standard
baudrates, it's not the baudrate per se (hence the use of B* macros).
On Linux it's possible to set the baudrate by passing the baudrate
itself to TCSETS2 ioctl. Unfortunately it's not possible to include
asm/termbits.h and termios.h in the same compilation unit, so we need to
split it. Here we split into a Linux and a NuttX implementation.
2017-09-21 07:59:20 -07:00
Lucas De Marchi
58a76adc13
AP_HAL: RCOutput_Tap: allow different device to be used
2017-09-21 07:59:20 -07:00
Lucas De Marchi
f6b1099896
AP_HAL: move in tap esc implementation
...
This can be shared with Linux.
2017-09-21 07:59:20 -07:00
Peter Barker
3af5be76aa
DataFlash: protect write fd with semaphore
...
If the sensor threads are using WriteBlock they may pass the _write_fd
== -1 check but then have that set to -1 by the main thread
2017-09-20 11:33:07 +01:00
Randy Mackay
953adc506d
GCS_MAVLink: add break in default case
...
non-functional change but removes some warnings in eclipse editors
2017-09-20 12:14:38 +09:00
Peter Barker
d0c2898ebc
GCS_MAVLink: move handling of SET_GPS_GLOBAL_ORIGIN up
2017-09-19 15:44:23 +09:00
Randy Mackay
f029303d96
AP_Arming: check ahrs and gps differ by less than 10m
2017-09-19 10:30:15 +09:00
Randy Mackay
07c195a865
GCS_MAVLink: add send_ekf_origin
2017-09-19 10:30:15 +09:00
Peter Barker
6bd7089718
GCS_MAVLink: implement handling of MAV_CMD_DO_SET_MODE
2017-09-19 01:24:11 +01:00
Peter Barker
8507763a1c
GCS_MAVLink: create _handle_set_mode for common msg and cmd-long code
2017-09-19 01:24:11 +01:00
Peter Barker
d1b47e863d
DataFlash: resolve race conditions with IMU logging thread
2017-09-19 09:40:11 +10:00
Peter Barker
0f54cc9b22
AP_HAL_SITL: implement in_main_thread
2017-09-19 09:40:11 +10:00
Peter Barker
b7bfef3cdf
AP_HAL_QURT: make in_main_thread const and override
2017-09-19 09:40:11 +10:00
Peter Barker
9cb23f6108
AP_HAL_VRBRAIN: make in_main_thread const and override
2017-09-19 09:40:11 +10:00
Peter Barker
8d208ea514
AP_HAL_PX4: make in_main_thread const and override
2017-09-19 09:40:11 +10:00
Peter Barker
044cac42e8
AP_HAL_Linux: make in_main_thread const and override
2017-09-19 09:40:11 +10:00
Peter Barker
68652867e1
AP_HAL: make in_main_thread public, pure and virtual
2017-09-19 09:40:11 +10:00
mirkix
93b3970141
SITL: Add tilthvec frame
2017-09-18 21:20:39 +10:00
Rufus Wong
9491f7da55
AP_Compass: Add break to prevent fallthrough of PIXRACER to PIXHAWK_PRO
2017-09-18 19:57:22 +10:00
Andrew Tridgell
7ade37bd4e
SITL: added SIM_GPS_ALT_OFS
...
this is used to give a bad GPS height in SITL, which is very useful for
testing origin vs home issues
2017-09-18 10:24:45 +10:00
Andrew Tridgell
25c7ee4d42
AP_HAL_SITL: added SIM_GPS_ALT_OFS
...
this is used to give a bad GPS height in SITL, which is very useful for
testing origin vs home issues
2017-09-18 10:24:45 +10:00
Steven Josefs
6e0ff8b169
AP_Proximity: add support for RP Lidar A2
...
This is a 360degree lidar with up to 16m range
2017-09-18 08:28:11 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
882c4f4052
AP_SerialMananger: add RP-Lidar A2
2017-09-18 08:28:09 +09:00
liorosh
f2b7dc74d7
AP_Baro: Adding a new LPS25H Barometer driver
...
The following is a Barometer sensor driver for the LPS25H Barometer that
is integrated in the 96Boards STM32 Sensor mezzanine board.
the update includes the .cpp and .h files of the driver as well as the
updates required in AP_Baro.cpp.
2017-09-16 21:08:06 +10:00
chobitsfan
02cfe9128d
AP_GPS: parse RTK status in NMEA GGA message
2017-09-15 22:33:47 +01:00
Michael du Breuil
2f8f2ffd2d
AP_GPS: Remove NMEA init blobs for binary drivers
...
All of the init strings that were sent in the NMEA driver are for GPS protocols
which have binary drivers, which provide far more features and are more robust.
It also appears that due to driver changes the config strings for SIRF/UBLOX
were no longer correct anyways).
2017-09-15 14:30:48 -07:00
Randy Mackay
6d15a72f3a
AP_SmartRTL: complete rename to SmartRTL
2017-09-15 08:58:14 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
d3a18e803e
AP_GPS: Fix MAVLink message field SYSTEM_TIME.time_unix_usec when GPS_AUTO_SWITCH = blend
...
The mavlink message field SYSTEM_TIME.time_unix_usec works fine with GPS_AUTO_SWITCH == 0 (no switch) or ==1 (usebest)
But when GPS_AUTO_SWITCH == 2 (blend) then state[GPS_BLENDED_INSTANCE].last_gps_time_ms gets initialized with 0 and never rewritten.
The consequence: SYSTEM_TIME.time_unix_usec gets stuck at zero.
The solution: Do not reset state[GPS_BLENDED_INSTANCE].last_gps_time_ms because it would overwrite the correct value already set on line 1149
2017-09-14 12:38:30 +01:00
Dr.-Ing. Amilcar Do Carmo Lucas
e03826890a
AP_GPS: Fix typo in comment
2017-09-13 14:22:57 -07:00
Tom Pittenger
1c223b520c
AP_ADSB - update description of ADSB_RF_SELECT to say Rx-only devices are always in Rx mode
2017-09-13 13:46:21 -07:00
Michael du Breuil
0bbbb3d08d
AP_AdvancedFailsafe: Allow landing to be a termination action
2017-09-13 13:15:08 -07:00
Michael du Breuil
40f49733ea
AP_Landing: Support usage for termination
2017-09-13 13:15:08 -07:00
Michael du Breuil
bde1b6e886
AP_Arming: Collapse GPS checks into the same branch
2017-09-13 13:36:40 +01:00
Michael du Breuil
3ab9b75df0
AP_Arming: Check GPS update rate as part of the GPS checks
2017-09-13 13:36:40 +01:00
Michael du Breuil
cf02204e6c
Dataflash: Log GPS delta times
...
This is particularly useful for assessing if a GPS actually is dropping out in a users log, or if the log is just dropping messages
2017-09-13 13:36:40 +01:00
Michael du Breuil
04eb7f411e
AP_GPS: Track the delta time between the last GPS positions
2017-09-13 13:36:40 +01:00
Lucas De Marchi
58dec08b29
GCS_MAVLink: fix non static perf counter
...
Commit b9877e0d38
(GCS_MAVLink: make per channel perf counter non-static) made the
perf counters to be available per instance but missed the fact that
the perf infra doesn't copy the string.
Fix this by maintaining a the string inside the object.
2017-09-12 17:24:31 -07:00
Lucas De Marchi
13f4ba7392
AP_HAL: remove raspilot
2017-09-12 15:06:19 -07:00
Lucas De Marchi
15bfa940a7
AP_Notify: remove raspilot
2017-09-12 15:06:19 -07:00