1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00
Commit graph

12294 commits

Author SHA1 Message Date
Dominic Clifton
dd54a59991 Fix compilation on EUSTM32F103RC target. 2014-12-17 23:14:56 +00:00
Nicholas Sherlock
ce5d64f653 Firmware version 0.1.4
Add ability to reduce recorded data rate
Update struct names to conform to code style guidelines
2014-12-17 17:16:17 +13:00
Stefan Grufman
67cce3b9a0 Cleanup of code (whitespaces/defines etc). Added initial text for docs about XBus and its configurations. 2014-12-16 18:36:43 +01:00
Dominic Clifton
101f2aa8c2 DISPLAY - Only show GPS page when using GPS passthrough. 2014-12-16 00:17:56 +00:00
Stefan Grufman
509f73853d Added initial version of JRPropo XBUS Mode B support. 2014-12-15 22:15:47 +01:00
Dominic Clifton
19ea3a60fd GPS - cleanup and fix home/hold mode transitioning. 2014-12-15 11:53:59 +00:00
Michael Jakob
64c5cda1f7 Remove include from pwm_mapping.c (not needed) 2014-12-15 11:00:04 +01:00
Michael Jakob
4b0d5e7e15 Use same PWM mapping for PPM and Serial RX
Without this fix an Octocopter with serialh RX will not work. Standard
 receiver mapping with only 6 motors outputs will apply.
2014-12-15 07:46:47 +01:00
Dominic Clifton
c595bf8fd4 GPS - Fix build for non-GPS enabled targets. 2014-12-14 23:55:31 +00:00
Dominic Clifton
00d0e30981 Update GPS PH and Navigation defaults.
These come from the multiwii codebase and were tested by stronnag.

See
https://code.google.com/p/multiwii/source/browse/trunk/MultiWii_shared/MultiWii.h#187
2014-12-14 23:52:23 +00:00
Michael Jakob
2499e39e5a Add custom mixer configuration for AllienWii32
The preconfigured custom mixer allows clean cabling for Octocopter
builds with the AlienWii32 board
2014-12-14 22:11:12 +01:00
Dominic Clifton
d8b5f6c60c GPS - Add satellite strength bargraphs to OLED display. 2014-12-13 21:58:54 +00:00
Dominic Clifton
e8dbb77db5 UART1 - Fix interrupt race condition which resulted in UART randomly
stopping transmission of data.
2014-12-13 19:45:02 +00:00
Dominic Clifton
9cc7a5aab1 DISPLAY - Skip GPS page if GPS is not enabled. 2014-12-13 19:40:19 +00:00
Dominic Clifton
9bcc0acd18 DISPLAY - Only compile in GPS page if GPS is enabled. 2014-12-13 19:37:27 +00:00
Dominic Clifton
f78b80fe01 GPS - Update UBOX auto-configure to use Pedestrian navigation mode.
"Applications with low acceleration and speed, e.g. how a pedestrian
would move. Low acceleration assumed. MAX Altitude [m]: 9000, MAX
Velocity [m/s]: 30, MAX Vertical Velocity [m/s]: 20, Sanity check type:
Altitude and Velocity, Max Position Deviation: Small"
2014-12-13 18:16:03 +00:00
Dominic Clifton
ea9633f2b1 Minor usart code readability improvement. 2014-12-13 18:05:22 +00:00
Dominic Clifton
119542a218 Avoid use of calls to the display when display not supported by the
target.
2014-12-13 12:08:13 +00:00
Dominic Clifton
6d1b0cec40 USART fixes based on feedback from @ledvinap. 2014-12-13 11:38:01 +00:00
Dominic Clifton
ce6582b88a GPS - remove temporary hack for fixing the OLED page to the GPS page.
Fix incorrect flag usage.
2014-12-13 03:45:39 +00:00
Dominic Clifton
9b81dea320 Fix USART total bytes waiting when tx/rx buffer sizes are not equal.
Avoid using % operator.  Allow buffer sizes that are not powers of two.
2014-12-13 03:29:24 +00:00
Dominic Clifton
27ae6fdb72 GPS - move debug code for gps OLED page around. 2014-12-13 02:19:49 +00:00
Dominic Clifton
ff9806e7a8 GPS - send UBlox SVINFO only once every 5 cycles (1hz) to reduce load on
the FC.
2014-12-13 02:15:53 +00:00
Dominic Clifton
62134057f0 GPS - handling incoming data as soon as possible to avoid observed GPS
packet loss.
2014-12-13 01:45:48 +00:00
Dominic Clifton
31ba3b7c94 SPARKY - Support GPS.
GPS tested on USART1 concurrently with SUMD on USART2, MSP on USART2 and
MSP on USB.  All working as expected.
2014-12-13 01:44:47 +00:00
Dominic Clifton
1c8416db2c GPS - handle data loss occurs in the start of a UBLOX frame 2014-12-13 01:42:35 +00:00
Dominic Clifton
20f32d632c GPS - differenciate between timeouts and crc errors. Improve packet
logging.  Cleanup UBLOX packet parsing.
2014-12-12 18:26:38 +00:00
Dominic Clifton
6610a91ce0 Optimize uart buffer counter incrementing. 2014-12-12 18:23:40 +00:00
Dominic Clifton
39f9b799d3 GPS - quick hack to parse the received GPS data and update the OLED
display in GPS passthough mode.
2014-12-12 17:04:33 +00:00
Dominic Clifton
1d5c2fb13e GPS - fix ubox maximum packet size comparisons. Increase UBlox buffer
size to work with Glonass MSG-SVINFO packets.  Skip data from packets
that are too large to process without attempting to process a large
payout as packet data.  Ignore GPS presence check when enabling
passthrough mode so that it is possible to configure a GPS unit via the
FC without the GPS unit actually having communicated to the FC first.
2014-12-12 16:32:26 +00:00
Dominic Clifton
ad9a2d2833 Update serial port irq handlers so they avoid the % operator. 2014-12-12 16:23:44 +00:00
Dominic Clifton
6ce288063e GPS - Add packet logging to the OLED display. Allow autobauding to be
enabled/disabled via cli (disabled by default now).  Fix missing rate
configuration for UBLOX SVINFO which would have resulted in missing
satallite counts.
2014-12-12 14:43:59 +00:00
Dominic Clifton
8345401ff2 GPS - Demystify some magic numbers. 2014-12-12 14:41:49 +00:00
Dominic Clifton
be1367059d GPS - cleanup nagivation reset flag usage. 2014-12-11 18:02:12 +00:00
Dominic Clifton
0b23afec8e GPS - adding a fixme regarding 'ap_mode' variable. 2014-12-11 17:47:55 +00:00
Dominic Clifton
78f7a35f4f GPS - minor code readability improvements. 2014-12-11 17:20:29 +00:00
Dominic Clifton
2778ad0c5d Fix gps error counter so that it is meaningful, it was being reset each
time the gps unit was reinitialised leading users to think there were no
GPS errors.
2014-12-11 16:31:14 +00:00
Dominic Clifton
80acc39a46 GPS page on the display to aid GPS outdoor testing. 2014-12-11 15:41:18 +00:00
Dominic Clifton
237ce4ba5b Reset navigation if sat count is too low. 2014-12-11 15:40:14 +00:00
Dominic Clifton
a7e128e684 SPARKY - PWM output on PWM1-10. 2014-12-10 16:26:00 +00:00
Dominic Clifton
b3f74fb1a3 SPARKY - Use RX_PPM by default. 2014-12-10 15:01:54 +00:00
Dominic Clifton
6a5ed737f7 STM32F30x - Fix GPIO initialisation.
Closes #154
2014-12-10 12:48:20 +00:00
Nicholas Sherlock
5cc3ad3da7 New encoding for PID I terms which saves 2 bytes per frame 2014-12-10 15:35:36 +13:00
Dominic Clifton
334ff322f6 SPARKY - Update UART2 configuration.
UART2 RX working using SumD.
2014-12-09 16:29:59 +00:00
Dominic Clifton
d34d5ceef2 STM32F30x - Allow overriding of USARTx GPIO pins from target.h.
USART1 RX/TX now working on Sparky.
2014-12-09 14:58:56 +00:00
Dominic Clifton
b2529620f7 STM32F30x - Fix uart3 pinsource definitions
UART3 RX/TX working on sparky.
2014-12-09 14:39:48 +00:00
Nicholas Sherlock
e492aa6a39 Add (untested) support for recording Tricopter tail servo position 2014-12-09 17:27:56 +13:00
Dominic Clifton
27b7df2996 Fix comments in system startup files. 2014-12-09 03:18:11 +00:00
Dominic Clifton
6c96b8dd86 Support the Sparky board by peabody124 - work in progress, not flight
ready.

https://github.com/TauLabs/TauLabs/wiki/Sparky

http://buildandcrash.blogspot.co.uk/2013/05/sparky-testing-and-building-no-crashing.html
2014-12-09 03:12:38 +00:00
Dominic Clifton
fed6df275f Add MPU9150 driver.
This is a almost a complete clone of the 6050 - needs cleanup and
de-duplication.
2014-12-09 03:12:37 +00:00