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

2328 commits

Author SHA1 Message Date
Dominic Clifton
9fb1863d74 Update LED ring code to have the documented behavior.
The logic is greatly simplified compared to the code in the original
pull request.
2015-01-23 00:06:20 +01:00
Dominic Clifton
b50c5d9724 Simplify and cleanup led ring code.
This changes the behaviour, but since the effect is nice we'll mark it
with a commit.
2015-01-22 23:46:23 +01:00
Dominic Clifton
5a025b7164 Bump config version for LED color storage. 2015-01-22 22:58:08 +01:00
Dominic Clifton
8bdca1b38e Improve magic number use. 2015-01-22 22:57:34 +01:00
Dominic Clifton
ae752217c6 Avoid static use. Causes problems when the amount of LEDs in the ring
is odd.
2015-01-22 22:56:38 +01:00
Dominic Clifton
e7302a9e10 Update MSP to allow setting of LED colors. 2015-01-22 22:24:58 +01:00
St7ven
ddc7a39fa2 Add support for LED thrust ring. (St7ven)
This commit includes various fixed not included in the original pull request.
2015-01-22 22:20:00 +01:00
Dominic Clifton
d2536e3792 Ensure LED configuration is re-evaluated after changes to led
configuration are made via MSP.
2015-01-22 21:38:09 +01:00
Dominic Clifton
a2628c59d5 Cleanup whitespace. 2015-01-22 21:36:05 +01:00
Dominic Clifton
aadf6de5ae Merge branch 'ledOnOff' of https://github.com/chris-penny/cleanflight into chris-penny-ledOnOff 2015-01-22 20:10:21 +01:00
Dominic Clifton
e58f2948f3 STM32F3DISCOVERY - Updating L3GD20 alignment defaults. (MJ666) 2015-01-22 19:39:36 +01:00
Dominic Clifton
9eff8f1932 Adding CC3D OpenPilot bootloader build to travis. 2015-01-22 19:26:36 +01:00
Dominic Clifton
9e73dca591 CC3D - Use Flex port in I2C mode unless USART3 is used. Add I2C drivers
for compass, baro and display.
2015-01-22 19:19:43 +01:00
Dominic Clifton
ce0a93a5d8 Updating the git workflow notes (stronnag) 2015-01-22 18:06:09 +01:00
Dominic Clifton
71a61d2432 SPRACINGF3 - Use 128k flash. 2015-01-22 18:00:11 +01:00
Dominic Clifton
0a8d5c9390 Update CONTRIBUTING.md 2015-01-22 17:43:13 +01:00
Dominic Clifton
94fef71037 Merge pull request #396 from sherlockflight/master
Add PID and PID controller documentation
2015-01-22 09:45:19 +01:00
Dominic Clifton
2c6b55bf69 Merge pull request #406 from avoid3d/throttle-correction-comment
Throttle correction comment
2015-01-22 09:44:36 +01:00
Dominic Clifton
12a1cc5ffe Merge pull request #394 from ledvinap/feature-blackbox-amperage
blackbox - add amperageLatest logging
2015-01-22 09:44:12 +01:00
Pierre Hugo
616c40a827 Added clarifying comment and todo. 2015-01-21 19:44:01 -08:00
Pierre Hugo
29c5630957 Moved vectors, euler angles, rotation and normalization from imu to maths. 2015-01-21 19:42:06 -08:00
Pierre Hugo
919a8796e7 Switched configureIMU to consistant name. 2015-01-21 19:37:56 -08:00
Pierre Hugo
ab8b5efe2c Switched initIMU to consistant name. 2015-01-21 19:36:41 -08:00
Pierre Hugo
80b78fd808 Fixed flight_imu_test after including maths. 2015-01-21 19:29:45 -08:00
Pierre Hugo
d6b08f22c1 Added clarifying comments to calculateHeading body. 2015-01-21 19:28:05 -08:00
Pierre Hugo
d1a1cc3f13 Added clarifying comment to calculateHeading method. 2015-01-21 19:27:46 -08:00
Pierre Hugo
fcdc0af218 Clarified comments around vector rotate method. 2015-01-21 19:26:28 -08:00
Pierre Hugo
6711c56dc5 Switched to explicitly using M_PI. 2015-01-21 19:20:19 -08:00
Pierre Hugo
3e6e8f44c2 Switched to using degreesToRadians from DEG2RAD macro. 2015-01-21 19:14:31 -08:00
Pierre Hugo
add0b517ed Removed unused macro RADX10. 2015-01-21 19:13:15 -08:00
Pierre Hugo
c4dbe66249 Removed unused DEG2RAD macro. 2015-01-21 19:04:32 -08:00
Nicholas Sherlock
83acbda759 PID and tuning documentation 2015-01-22 12:16:58 +13:00
Petr Ledvina
0fb598d9b0 blackbox - add amperageLatest logging
Raw ADC value is logged, currentMeter configuration is stored in header(as H currentMeter:<offset>,<scale>)

vbatLatest refactored to vbatLatestADC
2015-01-21 20:35:58 +01:00
Chris Penny
69014e68b6 minor documentation update 2015-01-21 10:22:54 +00:00
Chris Penny
a6409a030b LED on/off changes to ledStripEnabled flag 2015-01-21 09:54:27 +00:00
Nicholas Sherlock
6f7256242d Blackbox: Fix GPS timestamp jitter on low logging rates 2015-01-21 18:42:42 +13:00
Dominic Clifton
5be2b9229d Updating travis build configuration. 2015-01-21 02:03:26 +01:00
Dominic Clifton
e69718b49a Added missing Makefile change from
1a2ee0e5b9
2015-01-21 01:11:55 +01:00
Dominic Clifton
b7850270c4 Cleanup CC3D/NAZE/OLIMEXINO ADC initialisation and PWM mapping. Fixes
#297.
2015-01-21 01:06:16 +01:00
Dominic Clifton
e31b6e3e75 Merge pull request #261 from ledvinap/fix-adc
Fix ADC clock speed to be within specification
2015-01-21 00:00:46 +01:00
Dominic Clifton
fefef19288 Merge branch 'MJ666-LSM303DLHC_compass_new' 2015-01-20 23:55:27 +01:00
Dominic Clifton
1a2ee0e5b9 Merge branch 'LSM303DLHC_compass_new' of https://github.com/MJ666/cleanflight into MJ666-LSM303DLHC_compass_new
Conflicts:
	src/main/target/STM32F3DISCOVERY/target.h
2015-01-20 23:54:35 +01:00
Chris Penny
bfa79ab010 changed ledStripIsOnFlag to ledStripEnabled and ledStripEnabled fail check 2015-01-20 22:43:32 +00:00
Dominic Clifton
650389afb6 Disable ADC initialisation on CJMCU. Replace MASSIVEF3 with SPRACINGF3.
Conditional VCP code inclusion.  Other minor F1/F3 cleanups.
2015-01-20 23:33:03 +01:00
Michael Jakob
24b1e9f49e Add LSM303DLHC compass support using HMC5883L driver 2015-01-20 23:28:42 +01:00
Dominic Clifton
f825f15a9f Cleanup warnings in accgyro_l3gd20.
This file needs some cleanup since it also does SPI initialisation and
that should be moved out.
2015-01-20 22:02:12 +01:00
Dominic Clifton
42aac00b87 Cleanup warnings in sound_beeper_stm32f30x.c when no beeper is
available.
2015-01-20 21:58:37 +01:00
Dominic Clifton
4bf1d9cf51 Cleanup warnings in serial_usb_vcp.c 2015-01-20 21:53:18 +01:00
Chris Penny
bfdb4d7564 removed commented out code 2015-01-20 20:27:37 +00:00
Chris Penny
aede4037cf LED on/off add via LEDLOW mode 2015-01-20 19:51:07 +00:00