1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-08 19:46:06 +01:00
LibrePilot/flight/modules
Jan NIJS 5e53fb283c LP-536 skip informational UBX packets that are too large to fit buffers
UBX-NAV-SVINFO (id 30) and UBX-NAV-SAT (id 35) packets are NOT critical to the navigation.
Their only use is to update the nice GPS constellation widget in the GCS.
These packets become very large when a lot of SV (Space Vehicles) are tracked. (8 + 12 * <number of SV>) bytes

In the case of 3 simultaneously enabled GNSS, it is easy to reach the currently defined tracking limit of 32 SV.
The memory taken up by this is 8 + 12 * 32 = 392 bytes

The NEO-M8N has been seen to send out information for more than 32 SV. This causes overflow errors.
We will ignore these informational packets if they become too large.
The downside of this is no more constellation updates in the GCS when we reach the limit.

An alternative fix could be to increment the maximum number of satellites: MAX_SVS and UBX_CFG_GNSS_NUMCH_VER8 in UBX.h
This would use extra memory for little gain. Both fixes can be combined.

Tests indicate that, once we reach this amount of tracked SV, the NEO-M8N module positioning output
becomes jittery (in time) and therefore less accurate.

The recommendation is to limit the maximum number of simultaneously used GNSS to a value of 2.
This will help keep the number of tracked satellites in line.
2017-06-28 03:06:32 +02:00
..
Actuator LP-479 Addressed PR comments 2017-04-25 14:10:08 +02:00
Airspeed LP-402 remove unused taskinfo and callbackinfo includes 2017-01-16 09:04:37 +01:00
Altitude OP-1658 - Fix some headers, remove unused files 2015-02-03 00:33:15 +01:00
Attitude LP-327 - fixes from review 2016-07-03 16:51:36 +02:00
AutoTune LP-488 Change ThrustControl name 2017-03-03 01:46:10 +01:00
Battery LP-512 HwTinyFISHSettings cleanup. First attempt at shared SBus/SensorHub port. 2017-05-30 15:08:21 +02:00
CallbackTest OP-942 refactored callback scheduler to fit into PiOS naming scheme 2014-02-02 22:08:16 +01:00
CameraControl uncrustify 2016-12-15 22:44:43 +01:00
CameraStab OP-1456 get rid of cast_struct_to_array because it is error prone! 2014-08-24 00:16:34 +02:00
ComUsbBridge LP-480 coptercontrol build ok 2017-04-24 12:55:10 +02:00
Example OP-942 refactored callback scheduler to fit into PiOS naming scheme 2014-02-02 22:08:16 +01:00
Extensions/MagBaro OP-1403 - Update targets 2014-08-02 20:48:48 +02:00
Fault OP-943 uses pios_mem API for heap allocation 2014-06-11 22:15:40 +02:00
FirmwareIAP OP-1275 add an APP_MINIMAL flag that optionally omits most of the stuffs (flight related stuffs and sensors for example) 2014-09-16 00:42:49 +02:00
FlightPlan LP-483 Fixed typo in header comments 2017-02-21 01:45:39 +02:00
GPS LP-536 skip informational UBX packets that are too large to fit buffers 2017-06-28 03:06:32 +02:00
gpsp Uncrustify all 2016-03-12 17:30:24 +01:00
Logging OP-1740: GetSet use enums: Getting more files to conform to using enums instead of uint8_t... 2015-04-11 15:43:04 -05:00
ManualControl LP-446 - Configurable debounce timer 2017-02-20 21:28:03 +01:00
MK/MKSerial Reformat source code with 'make uncrustify_all' run twice. NO CODE CHANGES 2013-05-19 17:37:30 +03:00
Notify LP-512 ws2811 led support for F3. 2017-05-25 22:08:34 +02:00
OPLink Merge remote-tracking branch 'webbbn/LP-499-enhanced-oplink-bridging' into next 2017-04-22 22:25:49 +02:00
Osd LP-536 add extra DGNSS state to indicate when SBAS information (any differential information in fact) is used for higher accuracy. 2017-06-28 03:06:30 +02:00
OveroSync OP-943 uses pios_mem API for heap allocation 2014-06-11 22:15:40 +02:00
PathFollower LP-289 Updated copyright notices 2017-03-09 19:43:24 +01:00
PathPlanner LP-349 - Remove warning if pathplanner has no defined plan 2016-06-28 23:20:39 +02:00
RadioComBridge LP-480 Removed RadioAuxStream function from PIOS_BOARD_IO_Configure_RFM22B(), added another function to configure radioaux from hwsettings (revo & sparky2 only). 2017-04-24 16:10:18 +02:00
Receiver LP-440 Remove - Add Comments 2017-01-22 15:05:19 +01:00
Sensors LP-512 Initial F3 support 2017-05-25 22:08:16 +02:00
Stabilization LP-488 Add AltitudeVario to Autotune 2017-03-01 12:50:56 +01:00
StateEstimation LP-536 add extra DGNSS state to indicate when SBAS information (any differential information in fact) is used for higher accuracy. 2017-06-28 03:06:30 +02:00
System LP-512 Initial F3 support 2017-05-25 22:08:16 +02:00
Telemetry LP-480 coptercontrol build ok 2017-04-24 12:55:10 +02:00
TxPID LP-124 - Rename Pitch/RollRatePid to EasyTuneRatePitch/Roll, UAVO and firmware fixes 2015-09-19 15:03:17 +02:00
UAVOFrSKYSensorHubBridge LP-536 add extra DGNSS state to indicate when SBAS information (any differential information in fact) is used for higher accuracy. 2017-06-28 03:06:30 +02:00
UAVOHottBridge LP-536 add extra DGNSS state to indicate when SBAS information (any differential information in fact) is used for higher accuracy. 2017-06-28 03:06:30 +02:00
UAVOMavlinkBridge LP-536 add extra DGNSS state to indicate when SBAS information (any differential information in fact) is used for higher accuracy. 2017-06-28 03:06:30 +02:00
UAVOMSPBridge LP-526 Adds support for the MSP_SERVO command to the MSP module. 2017-06-06 19:17:25 -07:00