Peter Barker
a10cde35f5
DataFlash: stop logging before filling SD card on PX4
...
Filling the SD card causes NuttX to have conniptions, including
data loss and failure to boot
9 years ago
Jonathan Challinger
25bee93fcc
DataFlash: fix EKF5 message
9 years ago
Tom Pittenger
99d48d8bbd
AP_FrSky_Telem: cleanup, non-functional change
9 years ago
floaledm
fcfaa98bb6
AP_Frsky_Telem: reworked _statustext_queue.empty() check
9 years ago
Tom Pittenger
8001cc403b
AP_Frsky_Telem: fix is_flying assignment
9 years ago
floaledm
5e022bf631
AP_Frsky_Telem: fix *_ap.value issue for Plane
...
set_is_flying does operations on a nullptr, plus we loose the ability to
update ap_status accordingly for Plane
9 years ago
Francisco Ferreira
42cd8e9721
AP_NavEKF2: Handle yaw jumps due to core switches
...
Based on work from Paul Riseborough (priseborough)
9 years ago
Francisco Ferreira
8da22e441b
Revert 3 commits about yaw reset core switch
...
Revert "AP_NavEKF2: Fix bug in published yaw reset value found during code review"
commit 175faf1e41
.
Revert "AP_NavEKF2: use a struct for all yaw step class variables"
commit 77fad065d1
.
Partially revert "AP_NavEKF2: Handle yaw jumps due to core switches"
commit 885bfd1b4e
.
9 years ago
floaledm
ff0d0b1aa5
AP_Frsky_Telem: use ringbuffer for Frsky message queueing
9 years ago
murata
d58c193c90
AP_RangeFinder: To define the OK status to LEDDARONE status.
9 years ago
Tom Pittenger
b3d5375aa0
AP_Frsky_Telem: simplify init by assuming everything is nullptr
...
- also always queue the firmware message regardless of protocol type
9 years ago
Tom Pittenger
6991ca53b3
AP_Frsky_Telem: allow default arguments in init() to set things to nullptr
9 years ago
floaledm
94aa6c4cfb
AP_Frsky_Telem: consolidate into a single frsky.init()
9 years ago
Michael du Breuil
9c4b3ec1e1
AP_GPS: Fix incorrect incrementing of last_baud rate
...
This is a revert of 7c3b8dceb
which tried to start at index 0 of the
array of baudrates, however because of the way last_baud is used
this lead to a GPS always being reported as being 1 index off which
lead to users getting reports of baud rates that their GPS wasn't
configured for
Also renames last_baud to be current_baud as that is how it's
actuallly used and should reduce future confusion
And fixed some tabs/vs space issues around where the last_baud rate
was incremented.
9 years ago
Andrew Tridgell
36ea946cf5
AP_Compass: use board defined compass ofs max in calibrator
9 years ago
Andrew Tridgell
e7656fb7ac
AP_HAL: raise compass offset max again for Disco
...
values of 1600 happen on Z axis
9 years ago
Jonathan Challinger
17fb7dc88f
AP_Compass: initialize offset before beginning sphere fit
9 years ago
Jonathan Challinger
419f1bc00e
AP_Compass: change fixed point format for more range
9 years ago
Jonathan Challinger
0652d71a72
AP_Compass: correct wrapping behavior in conversion to fixed point
9 years ago
murata
3a1cd20f11
AP_RangeFinder: To move to the place that use the variable definition for the first time.
9 years ago
Tom Pittenger
8eb7a062c7
AP_Frsky_Telem: tiny text change in statusText
9 years ago
floaledm
9e0cfc81ea
AP_Frsky_Telem: updated sensor_status messages according to what is found in Mission Planner
...
added "NO RC Receiver" and "Bad Logging"
9 years ago
floaledm
5125846ac0
AP_Frsky_Telem: Plane support
9 years ago
floaledm
b2b6c88edf
AP_Frsky_Telem: renamed vars and funcs for consistency/clarity
9 years ago
Andrew Tridgell
3eb8b5e99f
HAL_Linux: added RCInput_Multi
...
this allows for multiple RCInput methods on one board. On Disco it
combines RCInput_115200 with RCInput_SBUS
9 years ago
Andrew Tridgell
5909552f67
HAL_Linux: added RCInput_115200
...
this is a RCInput module for multiple R/C uart protocols running at
115200 baud 8-bit. We can decode multiple protocols in parallel with
this module, relying on frame timing and CRCs to get the right
protocol
9 years ago
Andrew Tridgell
2edd914634
AP_HAL: added st24 R/C protocol decoder
...
with thanks to the PX4 project
9 years ago
Andrew Tridgell
9a7af89b30
AP_HAL: added sumd decoder
...
with thanks to the PX4 project
9 years ago
Andrew Tridgell
e913b9a8f7
HAL_Linux: fixed incorrect include
9 years ago
Randy Mackay
2ebb81b02f
AP_NavEKF2: switching compass message to GCS downgraded to INFO
9 years ago
Andrew Tridgell
79ed5c7091
AP_BattMonitor: fixed typo
9 years ago
Andrew Tridgell
06cccd6d3b
AP_BattMonitor: update disco battery lookup table
9 years ago
Tom Pittenger
5512b6de02
AP_RangeFinder: Cleanup and added comments
...
- uart->available(); returns uint32 but was stored locally as int32 and treated as uint32. Now stored correctly as uint32
- some variables were set to zero at start of function, then reset to zero before being used. wasted work
9 years ago
Tom Pittenger
e928e20b11
AP_RangeFinder: Ensure no divide by zeros in LeddarOne
...
Having a critical divide by value as a class member that could change external to the function using it is fragile. It was not very obvious that a divide by zero was not possible in the current design, now it's very obvious and safer in case the code changes later.
9 years ago
priseborough
b6867e085d
AP_NavEKF2: Don't report range finder variance on mavlink if not required
9 years ago
Andrew Tridgell
95db9f61cc
AP_Module: added velocity_ned to AHRS state
9 years ago
Michael Oborne
11c376588d
AP_GPS_NOVA: support tersus/novatel/comnav gps
9 years ago
Peter Barker
8f376944aa
DataFlash: immediately restart logging after erasing logs
9 years ago
Randy Mackay
f94f7e2aa0
AP_RangeFinder: add leddarone to TYPE parameter description
...
No functional change
9 years ago
ShingoMatsuura
3123bd6d7d
AP_RangeFinder: add LeddarOne support
9 years ago
Andrew Tridgell
c275e7c61d
SITL: added SIM_SPEEDUP parameter
...
allows changing speed of simulation while running
9 years ago
murata
13fe8cb4d0
AP_OpticalFlow: Changed short boundary the i2c_integral_frame.
9 years ago
Matthew Brener
06388b0417
Global: Fix typos
9 years ago
Andrew Tridgell
a4c1bc3fd3
HAL_Linux: avoiding setting the SPI mode on every transfer
...
This was causing the Disco kernel to print a debug message on every
SPI transfer, which makes for a very noisy kernel and large kernel logs
9 years ago
Andrew Tridgell
52caf8419e
SITL: fixed sense of wind direction
...
wind direction is where wind is coming from, not going to
9 years ago
Andrew Tridgell
66073413a8
GCS_MAVLink: announce MAVLink2 capability
9 years ago
Andrew Tridgell
8f35305496
SITL: added a simpler compass cal simulation
...
just output 1250 to servo5 and it will go through lots of rotations
9 years ago
Andrew Tridgell
f82827ce79
AP_Compass: removed disco special compass offsets
...
not needed any more with newer hardware
9 years ago
Andrew Tridgell
bb65f4df76
AP_Arming: use HAL defined compass offset max if available
9 years ago
Andrew Tridgell
bf67d4277d
AP_HAL: define a larger compass offset max for Disco
9 years ago