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
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
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
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
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
Chris Penny
0da650b5bd
changed rc mode to BOXLEDLOW
2015-01-20 10:45:10 +00:00
chris-penny
48bd7c1e19
I hope this is along the right lines... I have it running on NAZE32 ACRO
...
it is using the BOXLLIGHTS at the moment but I'll update it to use
BOXLEDLOW asap
2015-01-19 22:53:02 +00:00
Ben Hitchcock
82161882bb
Bugfix for situations where Rx mapping is being used, and failsafe is kicking in unecessarily. An example is when a GPS is being used on UART2 (Rx pin 4), with the mapping of AET4R123. This code prevents failsafe being triggered by GPS data on Rx pin 4.
2015-01-17 22:29:06 +08:00
Dominic Clifton
d72983e150
Bump version numbers for release.
2015-01-16 12:38:44 +00:00
tracernz
a81fad9cc2
Add virtual current sensor documentation
...
..and remove a couple of defines I didn't use.
2015-01-16 23:07:06 +13:00
tracernz
a37c6ee9ee
Merge https://github.com/cleanflight/cleanflight into virtualcurrent
2015-01-16 22:03:53 +13:00
tracernz
999f0ce002
Add virtual current sensor support
...
Virtual current sensor calculates an estimate of current based on
throttle position, current_meter_scale, and current_meter_offset.
Documentation to follow later.
2015-01-16 22:00:45 +13:00
Dominic Clifton
b64c71264c
Renaming getRcStickPosition to getRcStickDeflection and moving to
...
rc_controls.c.
2015-01-16 01:00:40 +00:00
Dominic Clifton
b7462c0b3d
Merge pull request #351 from nebbian/baseflight-pid-horizon-mode-tuneup_a
...
Baseflight pid (pid_controller=2) horizon mode tuneup
2015-01-16 00:50:12 +00:00
Dominic Clifton
eceace7f08
Merge pull request #354 from sherlockflight/master
...
Add blackbox logging for AutoTune events
2015-01-16 00:47:43 +00:00
Dominic Clifton
d8fa662446
Shorten SBus frame timeout. Fixes #361 .
...
See 5401092afa
.
2015-01-16 00:42:15 +00:00
Dominic Clifton
8caff86006
Update MSP_SET_LED_STRIP_CONFIG. Each LED must be sent one at a time
...
since sending 32 leds needs a packet larger than the MSP receiver buffer
allows.
2015-01-16 00:09:02 +00:00
Dominic Clifton
5de6fee787
Minor const correctness.
2015-01-15 23:48:27 +00:00
Nicholas Sherlock
a61f7eeddf
Clean shutdown of blackbox (allows us to write "log completed" event)
2015-01-16 10:52:35 +13:00
Nicholas Sherlock
0b424b00c4
Merge remote-tracking branch 'upstream/master'
2015-01-16 10:50:10 +13:00
Stefan Grufman
0a3a8667d1
Merge branch 'master' into xbus_jr01
2015-01-15 20:15:36 +01:00
Dominic Clifton
ad65722f0e
Code size reduction when led animation is disabled.
2015-01-15 16:53:14 +00:00
Dominic Clifton
947bb0d918
Minor code size reduction. Adding some const correctness.
2015-01-15 10:48:54 +00:00
Dominic Clifton
30b928c0bc
Cleanup unit test compiler flags. Fix compiler warnings in unit test
...
and related code.
2015-01-14 15:09:29 +00:00
Dominic Clifton
bf88696847
Update unit tests to correctly use C/C++ where appropriate. Cleanup
...
makefile by using additional whitespace.
2015-01-14 14:24:34 +00:00
Nicholas Sherlock
cf37c5247f
Merge remote-tracking branch 'upstream/master'
2015-01-14 15:44:35 +13:00
Nicholas Sherlock
b893e457f1
Don't break the blackbox stream when PIDs change in-flight
2015-01-14 15:42:38 +13:00
Nicholas Sherlock
2b1e8c12fc
Add Blackbox logging for autotune events
2015-01-14 15:14:25 +13:00
Nicholas Sherlock
f7a9a628b6
Add logging for GPS ground course (heading)
2015-01-14 11:46:53 +13:00
Dominic Clifton
b6ac9204d3
STM32F3 - Fix LED Strip hardware initialisation.
2015-01-12 22:02:10 +00:00