1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 00:05:33 +03:00
Commit graph

88 commits

Author SHA1 Message Date
Diego Basch
c3412225f5 Fix GPS Rescue (needs yaw smoothing but works). 2018-05-22 15:42:14 -07:00
s0up
ac6b8088c9 add gps rescue mode 2018-05-20 16:28:17 -07:00
mikeller
6a605be73b Enabled bidirectional communication with NMEA GPS for all targets. 2018-05-13 01:56:36 +12:00
s0up
de5fa47c4c navigation feature / reference removal 2018-05-09 10:28:36 -07:00
Diego Basch
c46be03047 added gps for altitude estimation, remove most unused code, rename altitude.c to position.c, add hdop to nmea 2018-05-04 08:45:26 -07:00
blckmn
a9f74cd6df Removed excess trailing spaces before new lines on licenses. 2018-04-25 20:58:00 +10:00
blckmn
46fe22b4bd Direct license replacement 2018-04-22 09:22:46 +10:00
zuim
605962d9a5 Get current time using gps (#5520)
* Get time using gps with nmea and ublox protocol. The rtctime is set once gps time is available.

* Fix issues with Gps time

* Fix problems with gpstime
2018-03-27 01:04:41 +13:00
mikeller
b489d0ba9d Renamed 'parameter_group' to 'pg'. 2017-12-19 23:36:31 +13:00
mikeller
4d30971e2d Fixed permissions on files. 2017-11-28 23:31:55 +13:00
jflyper
04f00ea513 Convert baudrate index into value when calling openSerialPort 2017-11-27 00:42:20 +09:00
Martin Budden
8cb7abd15f Added data parameter to UART RX callback 2017-11-25 10:11:37 +00:00
Martin Budden
cfc87d1891 Better separation between GPS and NAV 2017-11-18 08:00:31 +00:00
mikeller
a8d34dabb0 Changed defines for GYRO/ACC/MAG/BARO/GPS/SONAR/OSD/BLACKBOX/CMS to conform to the USE_ convention. 2017-11-05 10:15:24 +13:00
Martin Budden
944fe0761c Tidied UART enum definitions 2017-07-29 13:30:37 +01:00
Martin Budden
3d4f0bb137 Whitespace tidy 2017-07-05 06:36:22 +01:00
Martin Budden
564e0c94b8 Move some GPS variables into struct. Some alignment with iNav 2017-06-25 14:44:04 +01:00
Michael Keller
d84aeea538 Merge pull request #3110 from Phanny-P/Phanny-P-patch-1
Changed gps_auto_config to set mode to "airborne <2g"
2017-06-14 15:50:43 +12:00
Phanny-P
7ff4605c36 Create gps.c 2017-06-13 22:07:40 -04:00
Phanny-P
c53d2d08bb Create gps.c 2017-06-13 22:06:49 -04:00
Martin Budden
23f158913e Moved time functions out of system.h into time.h 2017-05-26 14:03:28 +01:00
Phanny-P
83a54d3df5 Update gps.c
Updated default gps_auto_config dynamic model to airborn4g. ALSO Added airborne1g (which is commented out) so testing can be carried out on both modes.
2017-05-22 07:06:04 -04:00
Michael Keller
a3a65e1c67 Reduce firmware footprint of uBlox code. 2017-05-19 20:03:57 +12:00
Phanny-P
0cf8901e0e Changed gps.c to have gps_auto_config set mode to "airborne <2g" instead of "pedestrian"
I am new to this... terminology is foreign, please bear with me :/
Using a ublox M8N gps receiver on my BFF3, velocity readings were very laggy and inaccurate; readings were unusable. After researching, I compiled a hex where the gps_auto_config sets the "dynamic platform model" to the airborne <2g mode. Once done, I compared osd velocity readings to my car with excellent results and response time. I have flown about a dozen times since and the difference is astounding (sample video: https://youtu.be/CLArfxTj15M).
From the ublox documentation:
"7.1 Platform settings
u-blox receivers support different dynamic platform models (see table below) to adjust the navigation engine to
the expected application environment. These platform settings can be changed dynamically without performing
a power cycle or reset. The settings improve the receiver's interpretation of the measurements and thus provide
a more accurate position output. Setting the receiver to an unsuitable platform model for the given application
environment is likely to result in a loss of receiver performance and position accuracy."
link: https://www.u-blox.com/sites/default/files/products/documents/u-blox8-M8_ReceiverDescrProtSpec_%28UBX-13003221%29_Public.pdf
2017-05-17 23:36:15 -04:00
Dominic Clifton
181b0eb078 Merge pull request #2699 from McGiverGim/make-gps-stable-again
Make the GPS stable again
2017-04-07 11:50:19 +12:00
Martin Budden
5e5fc09b1d Added PG config definitions 9 2017-02-27 08:43:17 +00:00
Martin Budden
3275105127 Preparation for conversion to parameter groups 13 2017-02-19 17:46:46 +00:00
Martin Budden
79d4b2146d Preparation for conversion to parameter groups 2017-02-01 08:46:19 +00:00
Martin Budden
ca11e3de8e Moved gps_conversion to common/ directory 2017-01-31 14:20:33 +01:00
Michael Jakob
46387c9dbe Cleanup ENUM usage 2016-12-04 16:09:21 +01:00
Martin Budden
8d3c825646 Converted currentTime to currentTimeUs 2016-12-01 20:00:44 +00:00
Martin Budden
5bc1105871 Renamed display to dashboard 2016-11-02 05:00:09 +00:00
Martin Budden
58c85029d6 Removed unnecessary #includes 2016-10-26 05:15:26 +01:00
Martin Budden
a771280b50 Moved config.c from config directory to fc directory 2016-10-18 08:57:39 +01:00
Martin Budden
c0d87ca657 Improved consistency of update fn naming. GPS update tidy. 2016-10-16 08:18:03 +01:00
Martin Budden
2f9ca4355c currentTime passed in scheduler task call 2016-09-17 16:01:37 +01:00
Martin Budden
a257210b56 Split features into a separate module 2016-09-04 18:48:58 +01:00
Martin Budden
541f4d4018 Directory rearrangement to reflect cleanflight changes 2016-08-07 13:44:00 +01:00
Martin Budden
141b369667 Removed trailing whitespace 2016-07-16 07:54:58 +01:00
Martin Budden
c076bc3e2d Minor build optimisations 2016-07-11 20:11:09 +01:00
Martin Budden
3a0f8388ee Changed tabs to spaces in io/ 2016-07-09 13:29:01 +01:00
Ferdia McKeogh
df2ba31c1d Update gps.c 2016-02-16 17:28:13 +00:00
cmenard
d174314692 Add Lux target 2016-02-02 23:03:08 +01:00
Larry (TBS)
ab6f1af171 - add GPS auto change buadrate 4800 to 115200 support 2015-12-23 00:05:32 +01:00
Dominic Clifton
a319394f6b Merge branch 'blackbox-serial-budget' of https://github.com/sherlockflight/cleanflight-dev into sherlockflight-blackbox-serial-budget
Conflicts:
	src/main/blackbox/blackbox.c
2015-10-12 20:14:20 +01:00
Petr Ledvina
8f3d9fae9a unify typedef struct name_s {} name_t; naming convention 2015-10-12 19:58:12 +01:00
Nicholas Sherlock
6e504ca52a Ability to see how many Tx bytes are free in serial port buffer 2015-10-01 16:48:56 +13:00
Larry (TBS)
3b1f423c49 COLIBRI RACE support 2015-08-20 19:18:10 +01:00
Michael Hope
14869d0a99 various: use enums to make the code easier to read.
Signed-off-by: Michael Hope <mlhx@google.com>
2015-05-23 05:21:48 +02:00
Michael Hope
b90ccf4c1a various: use ARRAYLEN() in more places.
Signed-off-by: Michael Hope <mlhx@google.com>
2015-05-23 05:21:39 +02:00