Commit Graph

931 Commits

Author SHA1 Message Date
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
Frank Severinsen 5ad4378567 WIP, Current status DAC output 2020-08-18 19:16:13 +02:00
Benjamin Vedder 7f4c6f41f0 Rebuilt stormcore and unity FWs with the hwconf fixes 2020-08-18 12:20:09 +02:00
Benjamin Vedder 91bde64e71
Merge pull request #202 from Mitchlol/LSM6DS3_Fix
LSM6DS3 Fix
2020-08-15 09:45:01 +02: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 f560f27871 Merge branch 'master' into dev_fw_5_02 2020-08-13 13:54:16 +02:00
Benjamin Vedder 2078dc1c43 added 140/300 hw and comm_can fix 2020-08-13 13:53:29 +02:00
Benjamin Vedder 4320e4744b
Merge pull request #200 from Jfriesen222/master
Patch some bugs with stormcore stuff
2020-08-13 13:00:22 +02:00
Jeffrey M. Friesen 27ec82d785 set default build back to vesc 6 2020-08-10 09:29:32 -07:00
Jeffrey M. Friesen 74bd23dedc Prevent power switch from working when stormcore gets too hot. Fix bug in median filter. 2020-08-10 09:28:07 -07:00
Benjamin Vedder 83501fc8dc
Merge pull request #196 from Jfriesen222/dev_fw_5_02
Dev fw 5 02
2020-07-29 14:14:09 +02:00
Jeffrey M. Friesen 216a009d10 remove comment on motor temp 2020-07-28 13:04:39 -07:00
Jeffrey M. Friesen 75f9b1cdd0 removed motor temp offset and fixed bug in 60D header 2020-07-27 10:56:01 -07:00
Benjamin Vedder ecb9b28e27
Merge pull request #197 from powerdesigns/MTPA_hall_detection
MTPA hall detection
2020-07-24 23:18:12 +02:00
Benjamin Vedder a003415c83
Merge pull request #198 from powerdesigns/BBSHD_update
bbshd: update hw config
2020-07-24 23:17:32 +02:00
Marcos Chaparro 53fb189366 bbshd: configure built-in BLE
Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2020-07-24 13:14:27 -03:00
Marcos Chaparro ad2819fdf6 bbshd: update hw config
Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2020-07-21 15:32:30 -03:00
Marcos Chaparro 0f337df9c2 MTPA: reduce variables scope
Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2020-07-21 15:08:31 -03:00
Marcos Chaparro 75a70ccb36 MTPA: disable id override during hall detection
Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2020-07-21 15:07:46 -03:00
Jeffrey M. Friesen 7e212b58d4 Modified some pins config stuff for stormcore hardware 2020-07-21 09:42:31 -07:00
Jeffrey M. Friesen f41a54c23d Merge branch 'dev_fw_5_02' of https://github.com/vedderb/bldc into dev_fw_5_02 2020-07-21 08:27:33 -07:00
Benjamin Vedder 821174141d
Merge pull request #195 from Shackmeister/UXV_SR
added custom HW file, support for ID pins, and fixed circular include
2020-07-21 11:10:31 +02:00
Frank Severinsen 5a52405a78 include default HW 2020-07-21 10:55:31 +02:00
Frank Severinsen 3acbfffa26 added custom HW file, support for ID pins, and fixed circular include 2020-07-21 10:54:04 +02:00
Benjamin Vedder 80b5e7071f Fixed bug introduced in PR and calculate motor current from magnitude of both axes 2020-07-21 09:23:48 +02:00
Benjamin Vedder 0b6ccb17f9 some cleanup 2020-07-21 08:50:09 +02:00
Benjamin Vedder 3b129910fa
Merge pull request #193 from Mitchlol/balance_3
Balance 3 (Code cleanup and usability focus)
2020-07-21 08:23:48 +02:00
Mitch Lustig 52f8f2cf35 Merge remote-tracking branch 'vedderb/dev_fw_5_02' into balance_3 2020-07-09 01:06:02 -07:00
Benjamin Vedder fcb7aaa93f
Merge pull request #190 from EsbenFR/BMI160_SPI
Bmi160 spi support
2020-07-06 18:22:56 +02:00
Benjamin Vedder 22b7eb8ce5 More blackmagic support and rebuilt firmwares 2020-07-06 17:20:45 +02:00
Benjamin Vedder d742835889
Merge pull request #192 from Peemouse/dev_fw_5_x
App PPM rework
2020-07-06 16:31:21 +02:00
Mitch Lustig 27e1d11f4a Lil fixes 2020-07-04 03:35:19 -07:00
Mitch Lustig 0f5c6f5379 Add confgen and running states 2020-07-04 00:11:20 -07:00
Mitch Lustig 7db04df582 Add all the variables 2020-07-03 20:33:15 -07:00
Mitch Lustig 10f4febf5b Merge remote-tracking branch 'vedderb/dev_fw_5_02' into balance_3 2020-07-03 16:09:49 -07:00
Peemouse ca05c36c7f App PPM rework - fix previous commit
CHANGED : Master keeps the slave(s) running even if a local fault occurs
CHANGED : Master now sends relative value instead (%) instead of absolute value (A) (great for multiple VESC with different currents settings)
FIXED : Timeout current brake feature not working
FIXED : brake command sent over CANbus even if Multiple VESC over CAN disabled
FIXED : delay before switching slave off in case of RX timeout
ADDED : Traction control auto-disabling in case of fault on master, re-enable only if no effect on motors will happen (avoid weird behaviour exiting fault state on master).
2020-07-03 15:16:46 +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
Benjamin Vedder 561e29cd36 fixed conf_general again 2020-07-02 12:42:49 +02:00
Esben Rasmussen 6114f87996 more autoformat stuff 2020-07-02 12:40:56 +02:00
Benjamin Vedder 4037107aa8 Added HD75 build 2020-07-02 12:40:39 +02:00
Benjamin Vedder 4adc989da7 Fixed blackmagic UICR bug, updated changelog and rebuild script 2020-07-02 12:39:54 +02:00
Benjamin Vedder 3a77060c49 Added HD75 support 2020-07-02 12:37:46 +02:00
Maximiliano Cordoba 9bc9239ec4 Revert "Add ramp input to the speed PID loop."
This reverts commit 55dc8fd548.
2020-07-02 12:32:14 +02:00
Benjamin Vedder 69781fc0d5 Revert "Revert "Add ramp input to the speed PID loop.""
This reverts commit d014abbf29.
2020-07-02 12:31:01 +02:00
Esben Rasmussen 8ca85d26d5 fixing autoformat issues
Kept a few corrections
2020-07-02 12:26:28 +02:00
Esben Rasmussen 992641275d Merge remote-tracking branch 'refs/remotes/origin/BMI160_SPI'
Conflicts:
	imu/imu.c
	imu/imu.h
2020-07-02 12:05:28 +02:00
Esben Rasmussen 66d9bcac7f Added BMI160 SPI support 2020-07-02 12:00:12 +02:00
Benjamin Vedder d014abbf29 Revert "Add ramp input to the speed PID loop." 2020-07-02 11:55:16 +02:00
Maximiliano Cordoba 55dc8fd548 Add ramp input to the speed PID loop.
This works together with a new config file of Vesc Tool, that adds 2 variables to the Speed Pid page.

Signed-off-by: Maximiliano Cordoba <mcordoba@powerdesigns.ca>
2020-07-02 11:54:27 +02:00