Commit Graph

46 Commits

Author SHA1 Message Date
Kenn Sebesta bec06ac85a [Utils] Change convenience multiplication factors into convenience MACROs 2021-10-13 14:18:05 -04:00
Kenn Sebesta aeb5d74488 [Utils] Use convenience macros for deg/rad conversions 2021-10-13 11:52:04 -04:00
Benjamin Vedder 583f712424
Merge pull request #350 from dimpolo/mpu_status_fix
Fix wrong status in mpu_status terminal command
2021-10-10 18:04:37 +02:00
dimpolo 27782f23c3
Fix wrong status in mpu_status terminal command 2021-10-07 22:55:00 +02:00
Benjamin Vedder 31d524f7fa Made local functions static 2021-08-22 12:05:08 +02:00
Benjamin Vedder 91a19fa8b3 IMU improvements 2021-08-22 11:51:03 +02:00
Benjamin Vedder 7c6f1dd612 Added fusion IMU filter 2021-08-19 18:48:23 +02:00
Benjamin Vedder ff94d2481a BMI160 SPI fixes 2021-06-26 15:12:30 +02:00
Mitch Lustig 1edad098a3 Match ODR to imu hz 2020-08-25 18:02:19 -07:00
Mitch Lustig 0073c57d59 Increase BMI160 output data rate
VESC tool allows users to set IMU update frequency up to 1khz, but if the BMI160 output data rate is only 200hz, then this option is useless (and performance at 1khz is much better than 200hz).
2020-08-23 21:34:20 -07:00
Mitch Lustig 349361ba36 Fix noisy IMU signal
LSM6DS3 was writing to the output registers at the same time as reads were happening, causing scrambled data.
2020-08-14 20:13:32 -07:00
Benjamin Vedder 0b6ccb17f9 some cleanup 2020-07-21 08:50:09 +02:00
Esben Rasmussen 5ebaf3d853 fixed mu_init_bmi160 to imu_init_bmi160_i2c 2020-07-03 11:43:09 +02:00
Esben Rasmussen f91bd849e4 even more autoformat stuff 2020-07-02 12:44:52 +02:00
Esben Rasmussen 6114f87996 more autoformat stuff 2020-07-02 12:40:56 +02:00
Esben Rasmussen 8ca85d26d5 fixing autoformat issues
Kept a few corrections
2020-07-02 12:26:28 +02:00
Esben Rasmussen 66d9bcac7f Added BMI160 SPI support 2020-07-02 12:00:12 +02:00
Mitch Lustig 2a1c8ddc67 LSM6DS3 Cleanup 2020-05-29 16:49:33 -07:00
Mitch Lustig b827ad855b Finish up lsm6ds3 2020-05-29 16:39:03 -07:00
Mitch Lustig 976413887b Working LSM6DS3 needs lil work but its 3 am and i need to save progress 2020-05-29 03:10:43 -07:00
Benjamin Vedder 939634b9a2
Merge pull request #165 from jxltom/feature/fix-warnings
Fix warnings in Travis tests
2020-05-11 20:39:46 +02:00
jxltom b39e56586e Fix warning: "BIG_ENDIAN" is not defined 2020-05-09 11:56:07 +08:00
Mitch Lustig d24822c5c4 IMU Calibration Improvement
Increase settle time, and clear out AHRS values, to get a proper settle on at even the most extreme angles on units with poorly calibrated accelerometers.
2020-04-28 22:43:44 -07:00
Benjamin Vedder 8b6f0680e4 Added HW60_MK4 support and added 60_MK4 and 75_300_R3 to build script 2020-04-24 20:48:21 +02:00
Mitch Lustig c234627756 Cleanup print statement 2020-04-18 17:24:25 -07:00
Mitch Lustig 2c151e9e1a Initial stab complete! 2020-04-18 17:20:31 -07:00
Mitch Lustig 7869b34cf1 Good start on IMU Wizard 2020-04-18 11:51:50 -07:00
Mitch Lustig b295b67d8b Enable Mahony IMU filter 2020-01-31 19:36:00 -08:00
Mitch Lustig 95483cff41 Centralise IMU startup sequence 2019-09-11 23:08:28 -07:00
Mitch Lustig 72e9c24bd7 Make axes configurable, remove offset management 2019-09-08 18:32:53 -07:00
Mitch Lustig 011d3055f6 Merge branch 'master' into merge_new_master 2019-09-08 15:05:54 -07:00
Mitch Lustig 474d8c1691 Little more cleanup 2019-09-08 12:14:59 -07:00
Mitch Lustig 98652977a2 Merge master 2019-09-08 11:42:28 -07:00
Benjamin Vedder a233367be8 MPU9x50 fix, experiment plots, DQ voltage RT data, smart reverse for nunchuk app 2019-09-08 18:25:38 +02:00
Benjamin Vedder 602db7435b FW3.59. Many updates, see changelog for details 2019-09-03 20:39:05 +02:00
Mitch Lustig 7a47053ca6 Add startup calibration sequence 2019-08-27 19:57:35 -07:00
Mitch Lustig f257f77584 Implement calibration 2019-08-27 09:10:44 -07:00
Mitch Lustig a2231593b2 Start on better gyro config 2019-08-25 23:49:33 -07:00
Mitch Lustig 971957a0d1 Fix all compiler warnings 2019-08-10 00:16:48 -07:00
Mitch Lustig 62da9e5b83 Better peripheral gyro management 2019-08-09 23:16:20 -07:00
Mitch Lustig 15703429f5 Add gyro tuning functionality & state machine logic 2019-08-04 11:47:23 -07:00
Benjamin Vedder e29c97f8fc Added ICM-20948 callback to state struct 2019-05-06 22:40:05 +02:00
Benjamin Vedder 404bbcf64b Fixed current offset fault bug, added support for multiple IMUs and ICM-20948 2019-05-03 19:55:36 +02:00
Benjamin Vedder 0551117351 Some HW cleanup and documentation, fixed DRV8301 fault readout bug, added mpu_read_reg terminal command 2019-04-26 11:07:31 +02:00
Benjamin Vedder 0bf3cc65ed Fixed codacy warnings 2019-03-10 15:19:05 +01:00
Benjamin Vedder 65298263b6 75/300 R2 support, terminal sync cmd, IMU support, option to disable permanent UART, collected timer functions in one place 2019-03-10 14:57:42 +01:00