Peemouse
f6d7ed1fd2
Add COMM_GET_MCCONF_TEMP command
2020-05-01 15:22:09 +02:00
Peemouse
4be557c72b
Sync upstream dev branch
2020-05-01 12:19:19 +02:00
Benjamin Vedder
36c56b38fc
Updated changelog and version + test version numbers
2020-05-01 09:45:32 +02:00
Benjamin Vedder
b6c87bcda5
Merge pull request #161 from Mitchlol/imu_init_once
...
Only init IMU once so an external unit doesn't override UART on reboot
2020-05-01 09:43:26 +02:00
Benjamin Vedder
95504a553a
Merge pull request #162 from Mitchlol/fix_imu_calibration
...
IMU Calibration Improvement
2020-05-01 09:38:19 +02: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
Mitch Lustig
e08d0e8b8c
Only init IMU once so it doesn't override UART on reboot
2020-04-28 20:49:09 -07:00
Benjamin Vedder
80fffdea73
Fixed PPM bug in previous release
2020-04-27 14:23:49 +02:00
Benjamin Vedder
634b82b482
Rebuild FWs without test flag
2020-04-27 10:15:03 +02:00
Benjamin Vedder
b2bab06172
Turned off test build flag
2020-04-27 10:04:44 +02:00
Benjamin Vedder
e896ae84f7
Updated FW builds
2020-04-27 09:58:30 +02:00
Benjamin Vedder
ef4ebfde93
Allow throttle in opposite direction even after passing speed limit for PPM and VESC Remote apps
2020-04-26 11:48:55 +02:00
Benjamin Vedder
ee76eb4f09
Ignore FW update commands forwarded to the second motor on dual hardware
2020-04-25 17:54:12 +02:00
Benjamin Vedder
7765780824
Added 60_MK4 and 75_300_R3 directories
2020-04-25 01:09:36 +02: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
Benjamin Vedder
a8ccdbae54
Fixed merge conflict
2020-04-23 19:34:31 +02:00
Benjamin Vedder
42092c64b1
Backported COMM_SET_BATTERY_CUT
2020-04-23 19:21:34 +02:00
Benjamin Vedder
538043285a
Updated changelog
2020-04-21 20:01:33 +02:00
Benjamin Vedder
57c5d04214
Added l_duty_start and set correct motor in mcinterface_timer
2020-04-21 19:58:12 +02:00
Benjamin Vedder
d9fc2fc34c
Moved IMU calibration to blocking thread
2020-04-19 10:20:48 +02:00
Benjamin Vedder
fe7ff8b94c
Merge pull request #158 from Mitchlol/imu_wizard
...
IMU Calibration Thingy
2020-04-19 09:48:58 +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
Benjamin Vedder
9924f333af
Made motor temperature lpf slower, and added median motor temperature lpf to HWs with adc mux
2020-04-18 09:48:25 +02:00
Benjamin Vedder
d305e37c61
Fixed mistake in previous commit
2020-04-17 22:10:28 +02:00
Benjamin Vedder
93c8c80ca8
Added median filter to stormcore motor temperature samples
2020-04-17 22:07:55 +02:00
Benjamin Vedder
d3c8d0a533
Add 1 to UUID for motor2 on dual motor HWs.
2020-04-17 20:07:03 +02:00
Benjamin Vedder
ee8f946aa8
Hall sensor transition and interpolation improvements
2020-04-17 00:38:36 +02:00
Benjamin Vedder
c64e7987bc
Use fast speed estimator for hall sensors and encoder
2020-04-16 12:16:02 +02:00
Benjamin Vedder
dd48276163
Disable hight current sampling during inductance measurement
2020-04-16 11:40:56 +02:00
Benjamin Vedder
4dab6ed9e7
Fixed merge, renamed utils_batt_norm_v_to_capacity, scale battery ah with 0.85 since the battery is not fully depleted at 3.2V per cell
2020-04-16 09:39:47 +02:00
Benjamin Vedder
393363169a
Merge branch 'dev_fw_5_00' of https://github.com/vedderb/bldc into dev_fw_5_00
2020-04-16 09:13:39 +02:00
Benjamin Vedder
2cf3142414
Merge pull request #155 from Jfriesen222/dev_fw_5_00
...
Dev fw 5 00
2020-04-16 09:13:32 +02:00
Benjamin Vedder
6f7c40b4e1
Improved flux linkage measurement
2020-04-16 09:12:08 +02:00
Jeffrey M. Friesen
acfc93e693
Patched some weird behavior with motor temp on stormcore and added #define for filter constant
...
Was seeing a lot of coupled noise on stormcore with phase currents so I turned up the LPF on the motor temp sensor. I think it might be a good idea to turn up that LPF generally since motor temp is generally slow to change anyways.
Also found a problem in the #define for motor temp 2 in my header file. Fixed it.
2020-04-14 14:05:47 -07:00
Jeffrey M. Friesen
6e83fd3408
Added gentle li-ion curve mapping
...
Should provide a slightly more accurate estimate of the remaining battery, I fit a fifth order polynomial to a discharge graph of a samsung 30q cell.
Technically the watt hours left should be integrated across this curve instead of using the average remaining voltage but maybe the combination of both provides a good midway estimate between the actual curve and a line since all cells are slightly different.
2020-04-14 09:12:57 -07:00
Benjamin Vedder
ccb2fd3f7f
Merge branch 'master' into dev_fw_5_00
2020-04-10 12:34:22 +02:00
Benjamin Vedder
e2d7efeb17
Fixed COMM_SET_CAN_MODE command
2020-04-10 12:33:46 +02:00
Jeffrey M. Friesen
b02a62acde
Merge remote-tracking branch 'upstream/dev_fw_5_00' into dev_fw_5_00
2020-04-09 14:20:23 -07:00
Jeffrey M. Friesen
f9accd76e9
change HW limits
2020-04-09 14:20:12 -07:00
Benjamin Vedder
df0b6dce31
Disable abs max overcurrent fault on unity
2020-04-09 23:16:26 +02:00
Benjamin Vedder
8a83cfc48c
Updated changelog
2020-04-09 22:50:37 +02:00
Benjamin Vedder
3ab8002fa4
Motor temperature filtering bug fix
2020-04-09 22:33:20 +02:00
Benjamin Vedder
0e6f8dd567
Change back motor thread after foc_sensors_detect_apply terminal command
2020-04-09 09:27:43 +02:00
Benjamin Vedder
72d0ae2e69
Merge pull request #152 from Jfriesen222/dev_fw_5_00
...
Dev fw 5 00
2020-04-09 09:21:17 +02:00
Jeffrey M. Friesen
58f07b4e87
removed redundant thread switch
2020-04-08 11:08:26 -07:00
Jeffrey M. Friesen
d6cb5be5b9
Merge remote-tracking branch 'upstream/dev_fw_5_00' into dev_fw_5_00
2020-04-08 10:45:04 -07:00
Benjamin Vedder
ca05b60802
Fixed inductance measurement scaling, decreased observer gain scaling
2020-04-08 11:05:58 +02:00
Benjamin Vedder
282b40cbd5
Select motor in fault thread
2020-04-08 09:16:31 +02:00