Lucas De Marchi
9463dbb408
AP_Notify: add static create method
7 years ago
Lucas De Marchi
de680dac5b
global: use static method to construct AP_Scheduler
7 years ago
Lucas De Marchi
d3e12eb899
AP_Scheduler: add static create method
7 years ago
Lucas De Marchi
8094482f21
global: use static method to construct AP_GPS
7 years ago
Lucas De Marchi
2cb2727a31
AP_GPS: add static create method
7 years ago
Lucas De Marchi
87b30b4552
global: use static method to construct AP_InertialSensor
7 years ago
Lucas De Marchi
d566567d87
AP_InertialSensor: add static create method
7 years ago
Lucas De Marchi
c1a957fbf3
global: use static method to construct Compass
7 years ago
Lucas De Marchi
320260a151
AP_Compass: add static create method
7 years ago
Lucas De Marchi
91feec0e14
global: use static method to construct AP_Baro
7 years ago
Lucas De Marchi
c5c1d5abfe
AP_Baro: add static create method
7 years ago
Michael du Breuil
c34104b369
APM_Control: Simpify yaw controller trig
7 years ago
Michael du Breuil
eb9dd8c5a2
AP_Landing: Fix an error when computing the course offset for deepstall
7 years ago
Lucas De Marchi
54a4a78795
AP_Common: do not include version.h/ap_version.h
...
The interface provided by each vehicle should be used to get the
version.
7 years ago
Lucas De Marchi
9e7bda83bf
DataFlash: add temporary workaround for macro usage
...
Make DataFlash correctly save the git version. We should think about a
better solution, like it was done on GCSMavlink, but this is the minimal
change to make it possible to move includes of version.h to their
respective users.
7 years ago
Lucas De Marchi
ec935cf0fe
GCS_MAVLink: refactor send_banner() to use AP_FWVersion
7 years ago
Lucas De Marchi
ed2b8d3476
GCS_MAVLink: refactor send_autopilot_verison() to use AP_FWVersion
...
Make the method use the getter directly to get a reference of
AP_FWVersion and work out everything that needs to be sent. This allows
us to remove ifdefs and replace with runtime if/else.
Note that there's also a bug fix: we were not setting flight_custom_version
to zero in case GIT_VERSION wasn't defined.
7 years ago
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.
7 years ago
Andrew Tridgell
678bd084b7
AP_Compass: added IST8310 on FMUv3 I2C
7 years ago
davidaroyer
cb270a9acf
AP_RangeFinder: cleanup variable names in uLanding driver
7 years ago
davidaroyer
8284fb1093
AP_RangeFinder: update uLanding driver for new firmware data format
7 years ago
fnoop
149188de12
AP_HAL: Add size() method to RingBuffer ObjectArray
7 years ago
fnoop
3ddd9a6bca
AP_HAL: RingBuffer: Prefix private members with underscore
7 years ago
Andrew Tridgell
2c68b5dac3
AP_Airspeed: fixed airspeed autocal
...
don't use negative pressures
7 years ago
Mark Whitehorn
dedb40ce0b
SITL: add parameter to simulate reversed pitot tube order
7 years ago
Mark Whitehorn
f32f51f843
AP_Airspeed: eliminate airspeed positive bias
7 years ago
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.
8 years ago
Lucas De Marchi
68b3e5ccab
AP_HAL: aero: define uart RCOutput_Tap
8 years ago
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.
8 years ago
Lucas De Marchi
58a76adc13
AP_HAL: RCOutput_Tap: allow different device to be used
8 years ago
Lucas De Marchi
f6b1099896
AP_HAL: move in tap esc implementation
...
This can be shared with Linux.
8 years ago
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
8 years ago
Randy Mackay
953adc506d
GCS_MAVLink: add break in default case
...
non-functional change but removes some warnings in eclipse editors
8 years ago
Peter Barker
d0c2898ebc
GCS_MAVLink: move handling of SET_GPS_GLOBAL_ORIGIN up
8 years ago
Randy Mackay
f029303d96
AP_Arming: check ahrs and gps differ by less than 10m
8 years ago
Randy Mackay
07c195a865
GCS_MAVLink: add send_ekf_origin
8 years ago
Peter Barker
6bd7089718
GCS_MAVLink: implement handling of MAV_CMD_DO_SET_MODE
8 years ago
Peter Barker
8507763a1c
GCS_MAVLink: create _handle_set_mode for common msg and cmd-long code
8 years ago
Peter Barker
d1b47e863d
DataFlash: resolve race conditions with IMU logging thread
8 years ago
Peter Barker
0f54cc9b22
AP_HAL_SITL: implement in_main_thread
8 years ago
Peter Barker
b7bfef3cdf
AP_HAL_QURT: make in_main_thread const and override
8 years ago
Peter Barker
9cb23f6108
AP_HAL_VRBRAIN: make in_main_thread const and override
8 years ago
Peter Barker
8d208ea514
AP_HAL_PX4: make in_main_thread const and override
8 years ago
Peter Barker
044cac42e8
AP_HAL_Linux: make in_main_thread const and override
8 years ago
Peter Barker
68652867e1
AP_HAL: make in_main_thread public, pure and virtual
8 years ago
mirkix
93b3970141
SITL: Add tilthvec frame
8 years ago
Rufus Wong
9491f7da55
AP_Compass: Add break to prevent fallthrough of PIXRACER to PIXHAWK_PRO
8 years ago
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
8 years ago
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
8 years ago
Steven Josefs
6e0ff8b169
AP_Proximity: add support for RP Lidar A2
...
This is a 360degree lidar with up to 16m range
8 years ago