Martin Budden
cfca75204f
Removed unnecessary acc calculation when no alt hold
2017-11-25 08:37:25 +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
Adrian Miriuta
7146c40ca8
HEADFREE true 3D (second edition)...
...
reduced memory footprint ...
rebased squashed cleanup
2017-09-23 07:35:30 +02:00
Steffen Windoffer
03aa31acdd
remove not needed whitespaces
2017-08-24 11:33:39 +02:00
Martin Budden
a86ac89448
Whitespace tidy
2017-07-05 09:34:44 +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
Dan Nixon
3dae29611e
Refactor IMU unit test
2017-06-11 11:44:52 +01:00
Martin Budden
23f158913e
Moved time functions out of system.h into time.h
2017-05-26 14:03:28 +01:00
Martin Budden
0219d6adc7
Updated accgyro locking. Printf tidy
2017-04-10 14:54:25 +01:00
cs8425
efbb7520a8
some fix & should be usable
...
use quaternion directly & we can fly in 3D mode now
rename uartPort_t to tcpPort_t
fix race on ACC, GYRO, IMU
fix gyro scale & disable SystemLoad calculate
update README.md
remove some unused
fix scale on 3D mode
2017-04-09 10:58:01 +08:00
cs8425
120fa21693
implement SITL in gazebosim with ArduCopterPlugin
...
need implement fake eeprom & fake IO
need implement fake system function
can compile, stuck in isEEPROMContentValid()
EEPROM in memory work
EEPROM as file should work
fix some complie warning
MSP over TCP work (add dyad.c)
a little clean up
fix FLASH_CONFIG_Size in ld script & implement some pwmout
IO to simulator work!! need to check direction & scale!!
can fly but Gyro buggy
move dyad.c
fix busy-loop (limit to max 20kHz)
can simulatie in different speed now! (hard code)
add option for IMU calculation
add README.md
move dyad.c and fix F3 overrun the flash size
explanation SITL in README.md and reuse CFLAGS, ASFLAGS
2017-04-05 18:22:59 +08:00
Martin Budden
18145c9d47
Fixed compiler warnings
2017-03-03 16:36:40 +00:00
Martin Budden
c92679f454
Added PG config definitions 4
2017-02-25 18:19:56 +00:00
Martin Budden
4c435fccae
Preparation for conversion to parameter groups 6
2017-02-15 08:05:37 +00:00
Martin Budden
3d1e42d1aa
Tidy of IMU header
2017-02-06 00:27:08 +00:00
Martin Budden
79d4b2146d
Preparation for conversion to parameter groups
2017-02-01 08:46:19 +00:00
Martin Budden
ee8a1676c4
Moved accelerometerTrims into accelerometerConfig()
2016-12-17 22:30:03 +00:00
Martin Budden
8d3c825646
Converted currentTime to currentTimeUs
2016-12-01 20:00:44 +00:00
Martin Budden
b8b9c95f57
Moved sensor global data into sensor_s structs
2016-12-01 17:47:17 +00:00
Martin Budden
590e569375
Changed gyro init and read functions to take a gyro_t* parameter.
...
Scaled gyro values to degrees per second in gyroUpdate.
2016-11-30 16:59:55 +00:00
Martin Budden
6ff265ec62
Moved masterConfig imu items into a struct
2016-11-29 22:28:11 +00:00
Martin Budden
58c85029d6
Removed unnecessary #includes
2016-10-26 05:15:26 +01:00
Martin Budden
2f9ca4355c
currentTime passed in scheduler task call
2016-09-17 16:01:37 +01:00
Martin Budden
541f4d4018
Directory rearrangement to reflect cleanflight changes
2016-08-07 13:44:00 +01:00
Martin Budden
ea283ab98c
Converted tabs to spaces
2016-07-09 14:39:39 +01:00
Martin Budden
74d20a276f
Made filter naming, parameters and state consistent
2016-07-03 06:45:11 +01:00
Martin Budden
e9a46c6ebb
Cleanup of acc device drivers extern usage CF PR#2117
2016-06-16 18:09:05 +01:00
Martin Budden
8c7c72c5dc
Tidy of main pid loop.
2016-05-04 10:40:56 +01:00
borisbstyle
f5de06c59e
Enable Faster cycletimes (Sample Rates) on all targets // More automatic looptime calculations
...
cleanup
2016-02-24 23:17:21 +01:00
borisbstyle
57a3e59a38
Rework Acc filtering
2016-02-17 17:37:01 +01:00
borisbstyle
a105af1225
Filter Cleanup CF coding style// Remove Old pt1 for acc etc // F1 slower acc update
2016-01-18 00:51:20 +01:00
Konstantin Sharlaimov (DigitalEntity)
fa49931b43
Improved scheduling. Betaflight Port digitalentity/cf-scheduler
...
Disallow arming if system load > 100 (waiting task count > 1)
Dont show inactive tasks in CLI
Realtime priority task and guard interval implementation
Dynamic guard interval. Bugfix for realtime scheduling hickups
Optimisations
Compile out CLI command help and CLI tasks command for CJMCU
Naming fixes // re-Add Gyro Sync // Fix port issues
2015-12-23 00:05:34 +01:00
borisbstyle
b3f0bd1402
Split up imuUpdate for gyro and acc
2015-12-05 12:52:43 +01:00
borisbstyle
e3b77b2ee5
Fix some compile warnings
2015-11-24 15:27:01 +01:00
Konstantin Sharlaimov (DigitalEntity)
621008cffc
Removed IMU kP gain scaling based on spin rate. Works better without it in real life
2015-11-07 21:56:23 +10:00
Konstantin Sharlaimov (DigitalEntity)
831ac83f2b
Dynamic kP gain for IMU calculations
2015-11-06 20:25:17 +10:00
Konstantin Sharlaimov (DigitalEntity)
14b4c4a1e4
A possible fix to IMU level-off issue
2015-11-06 14:06:44 +10:00
borisbstyle
d076a60eb5
Cleanup // Reorganisation
2015-10-22 17:27:26 +02:00
Konstantin Sharlaimov (DigitalEntity)
5df8ca926c
Quaternion-based DCM IMU (original code my S.Madgwick)
...
Restore binaries from merge
2015-10-22 10:45:36 +02:00
borisbstyle
4b3ba927e9
Merge branch 'master' into betaflight
...
Conflicts:
src/main/blackbox/blackbox_io.c
src/main/drivers/serial_usb_vcp.c
src/main/flight/imu.c
src/main/mw.c
src/main/target/CC3D/target.h
2015-10-12 23:53:43 +02:00
Petr Ledvina
1613c2d572
use full declaration for ImuInit
2015-10-12 19:58:12 +01:00
borisbstyle
8d8d57a1f4
Set F1 target i2c to 800khz
...
Still 200us spare time left in luxfloat
2015-10-08 15:38:49 +02:00
borisbstyle
f39ca7add6
Minimize latency in Acro modes with acc enabled
2015-09-25 15:23:04 +02:00
borisbstyle
4a492c611a
More Jitter Enhancements for Naze target
...
remove debug
Anti Jitter Enhancements for Naze target
Jitter Optimalisation without emf avoidance
2015-09-24 00:40:42 +02:00
ProDrone
57fc0f0a57
Added debug IMU speed output
2015-09-22 23:21:27 +02:00
borisbstyle
8be859bb36
Yaw Inversion in quaternion_to_rpy
2015-09-22 11:15:49 +02:00
borisbstyle
0539abc649
Dterm scaling correction // Code cleanup
2015-09-21 00:19:06 +02:00
Konstantin Sharlaimov (DigitalEntity)
45a4f11f92
Added #define for imu debug output (+16 squashed commit)
...
Squashed local commits:
from : e4265d4a13f63f82d5cf55eea2c091622f96660b
up to (inc): 72416dc74745fa8bae1aded79aa4b9ed0e389076
2015-09-19 14:50:53 +02:00
Echelon9
c6a3d3c2f6
imu: Replace MAGIC_NUMBER with proper array size reference. Consistent with GPS_angle[ANGLE_INDEX_COUNT].
2015-08-16 00:21:23 +10:00