1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00
Commit Graph

136 Commits

Author SHA1 Message Date
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
Cliff Geerdes
de521c9004 OP-1464 tested version with debug still in place 2015-05-19 19:33:31 -04:00
Cliff Geerdes
92295559b0 OP-1464 GPS autobaud - stash while debugging newobject issue 2015-05-18 18:37:53 -04:00
abeck70
525aabe54c uncrustify flight gps updates 2015-05-13 17:36:52 +10:00
Cliff Geerdes
193911ba20 OP-1840 another merge conflict 2015-05-05 23:26:08 -04:00
Cliff Geerdes
d9ab9e4f27 Merge branch 'next' into theothercliff/OP-1840_GPS_serial_port_needed_features
Conflicts:
	flight/modules/GPS/GPS.c
2015-05-05 17:05:11 -04:00
Cliff Geerdes
dad8f40c4d OP-1840 Remove reference to unreleased hardware 2015-05-01 02:49:15 -04:00
Cliff Geerdes
c365bd3032 OP-1840 Removed unused debug .h and update comments 2015-05-01 02:46:38 -04:00
Cliff Geerdes
f331ca0daf OP-1840 CC3D wouldn't build and update some comments 2015-04-30 01:27:19 -04:00
Cliff Geerdes
48bea16ab9 OP-1840 GPS serial improvements initial coding 2015-04-29 23:46:47 -04:00
Rich von Lehe
e6de41855b 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
Erik Gustavsson
ae24359fb4 OP-1739 Always clear ubxLastAck & ubxLastNak when sending UBX message 2015-03-04 19:38:40 +01:00
Erik Gustavsson
0610262cc3 OP-1739 Add (untested) BeiDou support to flight side. 2015-03-01 17:28:43 +01:00
Erik Gustavsson
60736ea82d OP-1739 Fill all UAVO slots with SV data 2015-03-01 16:44:30 +01:00
Erik Gustavsson
76ff576b38 uncrustify 2015-02-28 13:18:24 +01:00
Erik Gustavsson
4ada3d90d9 OP-1739 Add "Default" setting to GNSSMode which skips the GNSS selection
during autoconfig, e.g. for use with UBX6
2015-02-28 13:17:22 +01:00
Erik Gustavsson
d6bc3878d3 OP-1739 Check for NAKs in autoconfig 2015-02-28 12:25:24 +01:00
Erik Gustavsson
1024406fd9 OP-1739 Only include SVs with SNR>0 in "GPSSatellites", making better
use of the 16 slots available.
2015-02-28 11:01:08 +01:00
Erik Gustavsson
baddff3639 OP-1739 Extend SVINFO to 32 SVs. Make UBX parser handle > 256 bytes
payload.
2015-02-28 10:48:26 +01:00