Tom Pittenger
278fb2e60d
AP_Math: add location sanity checker/fixer util
9 years ago
Tom Pittenger
1c513a99a0
AP_Mission: removed LOITER_TO_ALT heading requirement param field
...
- and increased loiter radius max size (8bit to 16bit), it will soon always have heading requirement along with all loiter cmds
9 years ago
Alexey Bulatov
3933ac2a63
AP_GPS: Added ERB to AP_GPS
9 years ago
Alexey Bulatov
7e2c822499
AP_GPS: Structure for detect ERB
9 years ago
Alexey Bulatov
97190c89d1
AP_GPS: ERB GPS driver
...
ERB - Emlid Reach Binary protocol.
That driver designed for communication between Reach
and ArduPilot.
Provided opportunities:
- Detection of the driver
- Parsing of input messages: status of transmitter
and navigation information.
- Inject GPS messages from base
9 years ago
Jonathan Challinger
e946e047e6
AC_AttitudeControl: add attitude_controller_run functions, call from input functions
9 years ago
Tom Pittenger
c0a6a94936
AP_IntertialNav: ensure we work on valid updated data
9 years ago
Paul Riseborough
38b3625ed8
AP_NavEKF2: Fix bug in initial alignment calculation
...
The bug caused the initial roll angle to be incorrect if the vehicle was powered up when inverted, causing long alignment times.
9 years ago
Paul Riseborough
2888bdd6d5
AP_NavEKF: Protect against possible div by 0
9 years ago
Paul Riseborough
7d6b926749
AP_NavEKF2: Improved magnetic heading fusion
...
Use an Euler yaw heading that switches between a 321 and 312 rotation
sequence to avoid areas of singularity. Using Euler yaw decouples the
observation from the roll and pitch states and prevents magnetic
disturbances from affecting roll and pitch via the magnetometer fusion
process.
9 years ago
Randy Mackay
e502e0fc2e
SoloGimbal: resolve compiler warning re float comparison
9 years ago
Randy Mackay
438769c8ae
SoloGimbal: resolve compiler warning re initialisation order
9 years ago
Paul Riseborough
bb74371c58
AP_NavEKF2: Do not use GPS height if GPS accuracy is poor
...
If we are using GPS height, revert back to using Baro height if the GPS accuracy is poor.
9 years ago
Tom Pittenger
b1ea82079e
AP_Rangefinder: compiler warning float to double on atof()
...
- this is horribly inefficient so better to change the parsing
9 years ago
Tom Pittenger
068374658c
AP_Mission: utilize radius for loiter commands
9 years ago
Will Sackfield
8b5fa9d23d
SITL: Initialise yaw_rate and pitch_rate
...
* Clang requires these variables to be initialized
9 years ago
Will Sackfield
6f43b7121c
DataFlash: Cast msg to uint8
...
* Clang requires this explicit cast
9 years ago
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