Will Sackfield
723e166c13
AP RPM: Initialise backend with _instance
...
* Unsure how this worked in the past
9 years ago
Will Sackfield
0a60d713af
AP HAL SITL: Use fully qualified SITL namespace
...
* using namespace SITL caused ambiguities due to
both SITL and HAL SITL using the same namespace
9 years ago
Will Sackfield
8c98eb2b84
APMControl: Cast type to uint8
...
* Clang requires that the type be explicitly cast
to uint8
9 years ago
Staroselskii Georgii
5b3627f83e
AP_Notify: made DiscreteRGBLed more generic
...
- made pins and polarity configurable
- got rid of all Navio specific code
9 years ago
Staroselskii Georgii
ef4e3aa333
AP_Notify: renamed Navio2Led to DiscreteRGBLed
9 years ago
Staroselskii Georgii
0bd7839b9f
AP_Notify: made Navio2LED a little easier to configure
...
- got rid of a lot of not needed defines
- allocated channels on init instead of accessing them every time
through the HAL reference
- simpliefied hw_set_rgb()
9 years ago
Staroselskii Georgii
da550e5e98
AP_Inertial_Sensor: do not rotate MPU9250 on Navio2
9 years ago
Staroselskii Georgii
f93e790717
AP_HAL_Linux: make Ublox work on the higher frequency
...
The lower speed was only valid for very old Navio's. All new boards ship
with the GPSs that support higher frequencies.
9 years ago
Staroselskii Georgii
a327a8779e
AP_HAL_Linux: added Navio2 support
9 years ago
Staroselskii Georgii
7187f26220
AP_HAL_Linux: use Raspberry Pi GPIO for Navio2
9 years ago
Staroselskii Georgii
6680baf777
AP_HAL_Linux: use MPU9250 for Navio2
9 years ago
Staroselskii Georgii
c9869e768a
AP_HAL_Linux: use Util_RPI for Navio2
9 years ago
Staroselskii Georgii
23a2cf45aa
AP_HAL_Linux: added RCInput for Navio2
9 years ago
Staroselskii Georgii
2ea69571ef
AP_Notify: disabled boardled for Navio
9 years ago
Staroselskii Georgii
3223802431
AP_Notify: enabled leds for Navio2
9 years ago
Alexey Bulatov
fc6351b929
AP_Notify: added Navio2LED driver
9 years ago
Staroselskii Georgii
a24e9df765
AP_HAL_Linux: added AnalogIn_Navio2
...
This is a shim driver around the temporarily interface that is exported via
sysfs entries.
9 years ago
Staroselskii Georgii
392165c6a2
AP_HAL: added Navio2 board definitions
9 years ago
Staroselskii Georgii
6172ed078e
GCS_Mavlink: send power status from all boards
9 years ago
dgrat
672acdc8ef
AP_Math: Created location.h header for location functions
...
Helps to order AP_Math functions by purpose.
9 years ago
Lucas De Marchi
7f685a12bd
AP_Math: remove trailing whitespaces and tabs
9 years ago
dgrat
5148e41c1a
AP_Math: Cleaned macro definitions
...
Moved Definitions into a separate header. Replaced PI with M_PI and
removed the M_PI_*_F macros.
9 years ago
dgrat
7c4c8ea579
AP_Math: Remove ROTATION_COMBINATION_SUPPORT
...
This function is not used.
9 years ago
Gustavo Jose de Sousa
6144226c51
AP_HAL: always define HAL_OS_SOCKETS
...
And avoid warnings.
9 years ago
AndersonRayner
c9d5c548a6
Corrects a bracket error for the LSM9DS0 IMU
...
Switches the probe of the accel and gyro so they boot correctly (was
failing the WHOAMI with a switched result)
9 years ago
Michael du Breuil
287a3367ad
AP_HAL_SITL: Force the simulated gps time to be on valid intervals for u-blox hardware
9 years ago
Daniel Frenzel
ead51a9d19
AP_Math: Removed useless "undef INLINE"
9 years ago
Daniel Frenzel
ef7cf7c4aa
AP_Math: Removed useless header
...
"float.h" does not exist. It is useless and wrong to include it.
9 years ago
Andrew Tridgell
04bac8a446
AP_GPS: removed duplicate dataflash write of ublox version
9 years ago
Andrew Tridgell
14bd4ba2c7
AP_GPS: removed console print for GPS type
...
it is now sent as a STATUSTEXT
9 years ago
Michael du Breuil
1426ff2732
AP_GPS: Broadcast what type of GPS is found and at what baud rate
9 years ago
Andrew Tridgell
fe3812c51b
GCS_MAVLink: re-worked text send in terms of ObjectArray
9 years ago
Andrew Tridgell
2120913ac2
AP_HAL: added ObjectArray template
...
this is a ring buffer that supports indexing for efficient handling of
queue peeking and manipulation
9 years ago
Tom Pittenger
9718ee23d1
AP_HAL: fix peekbytes casting
9 years ago
Tom Pittenger
54d2a263fe
GCS_MAVLink: create queue scheme for static statustext msgs
9 years ago
Tom Pittenger
faa4238370
SITL: fixed warning comparing signed vs unsigned
9 years ago
Andrew Tridgell
7fede90df3
HAL_PX4: work around a bus locking issue on Pixracer
...
Pixracer has FRAM on the same bus as the ms5611 and the FRAM ramtron
driver does not use the same locking mechanism as other px4 SPI
drivers. We need to disable interrupts during FRAM transfers to ensure
we don't get FRAM corruption
9 years ago
Andrew Tridgell
0a72c2bbd5
AP_Baro: prevent bad ground pressure from making a board unbootable
9 years ago
Andrew Tridgell
1df2512935
AP_HAL: added update() method for object ringbuffer
...
to support updating objects for GCS work Tom is doing
9 years ago
Tom Pittenger
1d528d552f
AP_HAL: rename RingBuffer.force() to RingBuffer.push_force()
9 years ago
Paul Riseborough
7459bfb96b
AP_NavEKF2: Eliminate simple compass fusion singularities near +-90 deg pitch
...
The use of yaw angle fusion during startup and ground operation causes problems with tail-sitter vehicle types.
Instead of observing an Euler yaw angle, we now observe the yaw angle obtained by projecting the measured magnetic field onto the the horizontal plain.
This avoids the singularities associated with the observation of Euler yaw angle.
9 years ago
Andrew Tridgell
4ff396dfa8
AP_HAL: added force() and peek() method for object ringbuffers
9 years ago
Andrew Tridgell
5080201be6
GCS_MAVLINK: added set_dataflash() method
9 years ago
Paul Riseborough
4aefe1caee
AP_NavEKF2: Fix sign error in magnetic heading innovation calculation
9 years ago
Tom Pittenger
7e4ae39b8e
AP_Arming: fixed GPS_CFG mask bug
9 years ago
Víctor Mayoral Vilches
9bb039accd
AP_HAL: PXFmini add HAL_BARO_MS5611_NAME
...
Peer coded with @LanderU .
9 years ago
Lucas De Marchi
0ccd2de12b
AP_AHRS: fix use of undefined macro
...
../../libraries/AP_AHRS/examples/AHRS_Test/AHRS_Test.cpp:63:5: warning: "WITH_GPS" is not defined [-Wundef]
#if WITH_GPS
^
g_gps was not even declared so remove it.
9 years ago
Lucas De Marchi
7d24b4d1ca
AP_Notify: add missing include to use board config
...
<command-line>:0:18: warning: "HAL_BOARD_LINUX" is not defined [-Wundef]
../../libraries/AP_Notify/Buzzer.h:20:5: note: in expansion of macro ‘CONFIG_HAL_BOARD’
#if CONFIG_HAL_BOARD == HAL_BOARD_VRBRAIN
^
In file included from ../../libraries/AP_Notify/Buzzer.cpp:18:0:
../../libraries/AP_Notify/Buzzer.h:20:25: warning: "HAL_BOARD_VRBRAIN" is not defined [-Wundef]
#if CONFIG_HAL_BOARD == HAL_BOARD_VRBRAIN
^
9 years ago
Lucas De Marchi
69f6a73c19
Global: fix missing renames for HAL_BOARD_SUBTYPE_LINUX_ERLEBOARD
...
Commit b87fd58
(AP_HAL: ERLEBOARD legacy support) renamed the define but
forgot some around.
9 years ago
Peter Barker
475a2040a1
AP_NavEKF2: avoid use of undefined #defines
...
Ensure EKF_DISABLE_INTERRUPTS is defined
Do not define MATH_CHECK_INDEXES, assume it is defined
9 years ago