Lucas De Marchi
91dabbe418
AP_HAL_PX4: implement method to ajust periodic callback
...
Just setting up the periodic callback sampling time on initialization
may not work well for sensors that need to request for a sample with a
bus transaction, sleep and then read the new data. That's because the
function will be kept calling at a periodic rate, while the time in
which we can read the value is not really that sampling time, but rather
the time in which sensor was last read + the time spent in the function
before sending a new sample request.
Instead of creating a new type of thread to handle this case, just
implement the minimal and easy case of updating the period for this
callback, that can only be called from inside the callback function.
8 years ago
Tom Pittenger
8415fde697
AP_Compass: IST8310 chip does not follow right-hand rule format, flip z
8 years ago
Lucas De Marchi
b339050e45
AP_Compass: IST8310: account for errors in measurment requests
...
If we don't recover for errors in the request for new sample, we may get
stuck with no sample anymore. Recover from bad transfers.
8 years ago
Lucas De Marchi
2349909033
AP_BoardConfig: start mtd driver
8 years ago
Lucas De Marchi
da68612f4b
AP_BoardConfig: make error function public and static
...
So it can be used by other parts of the code calling px4_start_driver().
8 years ago
Tom Pittenger
fb24a03faf
AP_Baro: don't compile drivers for devices that don't use them
8 years ago
Lucas De Marchi
156efd6fec
AP_Compass: use IST8310 for aerofc
8 years ago
Lucas De Marchi
fad583b259
AP_HAL_PX4: RCOoutput_Tap: map to [ RPMSTOPPED, RPMMAX ] range
...
When it's not armed we get _esc_pwm_min from the AP_Motors library,
which would cause motors to start spinning. Map it to start from
RPMSTOPPED so it doesn't spin when it's not armed.
8 years ago
Lucas De Marchi
5e26940070
AP_HAL_PX4: disable safety switch for aerofc
8 years ago
Lucas De Marchi
a682bb837a
AP_SerialManager: uartA with 460800 baud for aerofc
8 years ago
Lucas De Marchi
20c5e9ec08
Add support for external mag on aerofc
8 years ago
Lucas De Marchi
327de91b5c
AP_HAL_Px4: use RCOutput_Tap for aerofc
8 years ago
Lucas De Marchi
75977cd890
AP_HAL_PX4: implement motor output for aerofc
...
This uses tap ESCs, as found on the PX4 project, translated to our
internal APIs. It doesn't have the feedback from ESCs yet.
8 years ago
Lucas De Marchi
ce9013b8ee
AP_HAL_PX4: add RCOutput skeleton for aerofc
8 years ago
Lucas De Marchi
87846fe049
AP_InertialSensor: use MPU6500 on aerofc
8 years ago
Lucas De Marchi
b4d0569339
AP_HAL_PX4: Use empty RCOutput driver for aerofc
8 years ago
Lucas De Marchi
00c2949dfb
Add support for baro on aerofc
8 years ago
Lucas De Marchi
b17acfee12
Add aerofc support
...
Flight Controller board that comes on Intel Aero RTF Drone.
8 years ago
Andrew Tridgell
2d603c1cba
SRV_Channel: fixed reversing on servo gimbals
8 years ago
Jacob Walser
1b00dfb642
AP_GPS: Fix parameter metadata
8 years ago
Jacob Walser
a9a8521383
AP_OpticalFlow: Fix parameter metadata
8 years ago
Jacob Walser
646d68c76d
AP_NavEKF2: Fix parameter metadata
8 years ago
Jacob Walser
84e5e088de
AP_BoardConfig: Fix parameter metadata
8 years ago
murata
1a781f44cc
AP_Notify: Correct the display area clear of the text message.
8 years ago
Francisco Ferreira
c0238be345
AP_FrSky_Telem: fix sending messages 3 times
...
Initialize variable
Also some small style changes
8 years ago
Florent Martel
02c0885cfd
AP_Frsky_Telem: fixes #5862
...
MAVLink strings of exactly 50 characters are not NULL terminated, so
instead we must check that the 50th character has been reached.
8 years ago
Siddharth Bharat Purohit
5029dd1bab
AP_HAL_PX4: GPIO: return correct FMU pin read even if IO not connected/detected
8 years ago
Michael du Breuil
2aec41e0ef
AP_HAL_SITL: Fix SIM_GPS_DISABLE not disabling the ublox GPS with PVT support
8 years ago
Eugene Shamaev
41fe4d0515
AP_Landing: fix to remove reorder warning
8 years ago
Pierre Kancir
1a374aa9f6
SIM_Gazebo: add a timeout to reset timestamp check
8 years ago
Pierre Kancir
d4a0a92b8b
SITL: cmdline reorder help and param for better readability and futher extension
...
add missing options
8 years ago
Pierre Kancir
29d35699f2
SITL: Gazebo, throw old paquet based on timestamp as we are using UDP
...
Add some comments
8 years ago
Pierre Kancir
d612209c19
SITL: Gazebo fix implicit cast
8 years ago
Pierre Kancir
ee7355a301
SITL: Reduce some variables scope and include
8 years ago
Pierre Kancir
8054405521
SITL: Change interface port to a generic solution for external simulator
8 years ago
Pierre Kancir
6e0319d513
SITL: Add RCout port option to cmdline
8 years ago
Pierre Kancir
a8d5079a38
SITL: Ensure that Instance parameter don't override manualy setted port
8 years ago
Tully Foote
25fad0a8c2
SITL: Add more command line arguments for port selection.
8 years ago
Pierre Kancir
5b8c89225a
SITL: Make socket more verbose
8 years ago
Pierre Kancir
567a8d68e5
SITL: Make socket error more verbose
8 years ago
Pierre Kancir
8f2bdf51ea
SITL: gazebo add socket drain
8 years ago
Pierre Kancir
1bb4e3c9b7
AP_IRLock_SITL: make port variable
8 years ago
Pierre Kancir
63ea8c6f21
SITL: enable multi sitl for gazebo
8 years ago
Andrew Tridgell
fc4caf51e9
HAL_PX4: fixed RC failsafe for SBUS on FMUv4
...
the FMUv4 SBUS parser sets timestamp_last_signal even if we are in
failsafe
thanks to Mark Whitehorn for finding this
8 years ago
Pierre Kancir
afb488c627
AP_GPS: fix implicit conversion warning from float to double
8 years ago
murata
33f91b5af5
AP_Notify: whitespace changes
8 years ago
murata
3a6f8d2136
AP_Notify: Preprocessor out EMOJI code group with character bitmap.
8 years ago
CSe
491b545fab
SITL: fix gimbal connection on Windows
8 years ago
Peter Barker
bcb0ead71a
AP_Notify: improve display detection
...
Create probe function for displays
Use a mask to determine I2C buses to probe
8 years ago
Pierre Kancir
bd4880b231
SRV_Channel: correct typo
8 years ago