1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-26 15:54:15 +01:00

154 Commits

Author SHA1 Message Date
Vladimir Zidar
a564a45cb6 LP-457 Add // fall through comments 2022-06-15 00:29:17 +02:00
Lalanne Laurent
dcecae99c8 Merged in LP-457_autoconfig_low_baud (pull request #535)
LP-457 autoconfig low baud

Approved-by: Eric Price
2022-06-14 20:45:12 +00:00
Eric Price
4558a32978 LP626 fix for new toolchain 2022-02-17 15:41:37 +01:00
Vladimir Zidar
f60b6bb630 Merged librepilot/librepilot:next into mindnever/librepilot:LP-580_Add_QMC5883L_driver 2022-02-15 22:14:54 +00:00
Laurent Lalanne
82ca8fa643 LP-457 High baudrate fix like 230400bds where packets are dropped 2019-05-27 12:05:49 +02:00
Laurent Lalanne
05a358e505 LP-457 Remove Debug 2019-05-27 12:05:49 +02:00
Laurent Lalanne
c39e242c61 LP-457 Update comments 2019-05-27 12:05:49 +02:00
Laurent Lalanne
9211aa5aec LP-457 Clear Rx buffer after baudrate change 2019-05-27 12:05:49 +02:00
Laurent Lalanne
a67a374eaf LP-457 Apply minimal rate before gps baud change - Add extra wait_time for mon_ver parsing 2019-05-27 12:05:49 +02:00
Laurent Lalanne
1aced28613 LP-457 Disable svinfo with low baudrates, reset GPSSat uavo 2019-05-27 12:05:49 +02:00
Laurent Lalanne
9f723dd2ba LP-457 Increase timeout so GPS at 2400bds can be "used" 2019-05-27 12:05:49 +02:00
Laurent Lalanne
748dacf32b LP-457 No need to enable ubx_nav_status since it is not parsed 2019-05-27 12:05:49 +02:00
Laurent Lalanne
e4f8352cee LP-457 Enable sentences, even for low baudrates where rate is forced to 1Hz. Increase retries for 2400bds 2019-05-27 12:05:49 +02:00
Laurent Lalanne
7268af2d8c LP-457 Debug mode 2019-05-27 12:05:48 +02:00
Laurent Lalanne
d2ecda6f9b LP-457 Remove array, jumps directly to the expected gps speed after change 2019-05-27 12:05:48 +02:00
Laurent Lalanne
1279352a95 LP-457 Call set_fc_baud_from_settings only from/to DJI == avoid trouble for Ubxautoconfig. 2019-05-27 12:05:03 +02:00
Vladimir Zidar
3ba6fea710 LP-545 ubx null ptr dereference fix 2018-05-06 19:37:29 +02:00
Vladimir Zidar
f64a1ba822 LP-580 Change PIOS_INCLUDE_HMC5X83 to PIOS_INCLUDE_SENSORS_AUXMAG where it applies to general auxmag support. 2018-02-23 13:19:41 +01:00
Laurent Lalanne
8da65e8068 LP-550 Set OptionalModules>ModuleName to Enabled if module is builtin. 2017-10-29 15:48:22 +01:00
Vladimir Zidar
0b317f8208 LP-173 Remove explicit calls to remaining settings objects: EKFConfiguration, HomeLocation, RevoCalibration and TakeOffLocation 2017-10-17 13:39:22 +02:00
Vladimir Zidar
b2f548b2ed LP-173 Add settings initcall type. Add SETTINGS_INITIALISE_ALL to board files. Remove all manual settings objects initializations. 2017-10-17 13:25:25 +02:00
Jan NIJS
12062a5c7d LP-536 make pretty 2017-06-28 03:06:32 +02:00
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
Jan NIJS
a6aeb11a56 LP-536 Timeout parameter for PIOS_COM_ReceiveBuffer() should be in milliseconds. No need to convert to ticks.
Changed the int xDelay to a define and put the define next to the other major delay in the GPS task.
Increased the time we wait for PIOS_COM_ReceiveBuffer from 5 to 20 ms.
2017-06-28 03:06:30 +02:00
Jan NIJS
6f3fefd650 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
Vladimir Zidar
ddc4f3d855 LP-480 coptercontrol build ok 2017-04-24 12:55:10 +02:00
Philippe Renon
1c222bdf09 LP-402 remove unused taskinfo and callbackinfo includes 2017-01-16 09:04:37 +01:00
Jan NIJS
e5ca71052a LP-452 Added Galileo as a GNSS configuration option to the GCS.
System -> Settings -> GPSSettings -> UbxGNSSMode

The options GPS+Galileo and GPS+GLONASS+Galileo have been added.

Also corrected PRN mask for EGNOS SBAS information. Active PRN: 120 & 136 , 123
Ref: https://egnos-user-support.essp-sas.eu/new_egnos_ops/index.php
2016-12-17 00:04:44 +01:00
Alessio Morale
493a48ba2b LP-385 - fixes from review 2016-09-03 21:44:41 +02:00
Alessio Morale
8f5ec2679c LP-385 - add supports for fractional part of second in gps time 2016-08-18 19:27:06 +02:00
Laurent Lalanne
9dd894f4a9 LP-354 Add comments and use byte shift. 2016-07-03 20:02:03 +02:00
Laurent Lalanne
1a6b0a4d70 LP-354 Define Nav5 and Navx5 constants in UBX.h 2016-07-03 18:44:45 +02:00
Laurent Lalanne
831f8265e7 LP-354 Add Ublox AssistNowAutonomous setting, file heading typos 2016-07-03 04:01:31 +02:00
Cliff Geerdes
ed0e879b7c LP-212 extra parenthesis, throw compile error if local defines are already defined 2016-02-16 16:14:39 -05:00
Cliff Geerdes
a73b7720c5 LP-212 save time and space if PIOS_GPS_MINIMAL 2016-02-16 15:36:08 -05:00
Cliff Geerdes
fac0213987 LP-212 readable #ifs and dji compile for cc3d 2016-02-16 15:36:08 -05:00
Cliff Geerdes
2826cb5cd7 LP-212 forgot to lower camel case GpsTime 2016-02-16 15:36:08 -05:00
Cliff Geerdes
baeb379a82 LP-212 changes from code review 2016-02-16 15:34:59 -05:00
Cliff Geerdes
fad0e9f24c LP-212 uncrustify and remove junk comments 2016-02-16 15:32:56 -05:00
Cliff Geerdes
2ae1f9c63d LP-212 DJI GPSMag support 2016-02-16 15:23:36 -05:00
Cliff Geerdes
dae9052686 finish renaming load_mag_settings to include hardware type 2016-02-02 09:39:53 -05:00
Cliff Geerdes
f4a088bcfa change forward error gotos into breaks 2016-02-02 09:17:56 -05:00
Cliff Geerdes
bb04d62756 LP-145 uncrustify and comments 2015-11-15 18:42:47 -05:00
Cliff Geerdes
44a57cb308 LP-145 reduce UBX false positive red X from 1 in 256 NMEA packets to 1 in 64k 2015-11-15 18:13:51 -05:00
Cliff Geerdes
f0ef594cdb LP-145 CC3D GPS reparse and general GPS system health 2015-11-15 03:44:28 -05:00
abeck70
c0c5cd3d16 OP-1464 uncrustify 2015-05-22 18:36:38 +10:00
Cliff Geerdes
ced0d4725b OP-1464 Rename things as requested Implement autodisable as advised by Alessio 2015-05-21 04:37:44 -04:00
Cliff Geerdes
55a43d1815 OP-1464 Compile warning discovery Remove AbConfStoreDisable 2015-05-20 01:04:06 -04:00
Cliff Geerdes
3bbe7274ca OP-1464 remove commented out or unused code and pretty it up 2015-05-19 21:34:47 -04:00
Cliff Geerdes
1ade8b7f59 OP-1464 remove debug 2015-05-19 20:45:57 -04:00