Benjamin Vedder
bc6e937e22
Merge pull request #171 from powerdesigns/axiom_input_current_sensor
...
Axiom: adds input current sensor capability.
2020-06-03 10:23:31 +02:00
Mitch Lustig
3fef0d6454
Add Unity and 60D LSM6DS3 pin config
2020-06-01 20:17:48 -07: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
Maximiliano Cordoba
390f1019ef
Axiom: adds input current sensor capability.
...
use HW_HAS_INPUT_CURRENT_SENSOR in hw_axiom.h to enable it, it is commented by default
Signed-off-by: Maximiliano Cordoba <mcordoba@powerdesigns.ca>
2020-05-16 17:56:08 -03:00
Benjamin Vedder
9781fb9563
Manually merged #166
2020-05-12 15:53:32 +02:00
Benjamin Vedder
b460fa0fa3
Merge pull request #168 from vedderb/revert-166-speed_command_ramp
...
Revert "Add ramp input to the speed PID loop."
2020-05-12 15:32:40 +02:00
Benjamin Vedder
e58c87103c
Revert "Add ramp input to the speed PID loop."
2020-05-12 15:30:34 +02:00
Benjamin Vedder
c9a89fb0df
Merge pull request #166 from powerdesigns/speed_command_ramp
...
Add ramp input to the speed PID loop.
2020-05-12 15:27:32 +02:00
Maximiliano Cordoba
0264242af2
Only use ERPM per Second varialble to control the input ramp to the speed PID loop.
...
A negative value will disable the ramp, and fed the speed command directly to the PID as it used to do.
Signed-off-by: Maximiliano Cordoba <mcordoba@powerdesigns.ca>
2020-05-11 17:00:27 -03: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
Maximiliano Cordoba
d89f652f7d
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-05-10 20:00:49 -03:00
jxltom
52a1e1d446
Fix warning: missing initializer for field 'ah_charge_tot' of 'setup_values'
2020-05-09 12:00:02 +08:00
jxltom
7ab9a6e431
Fix warning: missing braces around initializer
2020-05-09 11:56:52 +08:00
jxltom
b39e56586e
Fix warning: "BIG_ENDIAN" is not defined
2020-05-09 11:56:07 +08:00
Benjamin Vedder
6196805d8c
Added CHUK_CTRL_TYPE_CURRENT_BIDIRECTIONAL, some fixes on last PR
2020-05-03 22:35:37 +02:00
Benjamin Vedder
4d83998d9d
Merge pull request #163 from Peemouse/dev_fw_5_x
...
Add COMM_GET_MCCONF_TEMP command
2020-05-02 07:17:47 +02:00
Benjamin Vedder
9255b8fa73
Fixed median filter bug
2020-05-01 22:20:44 +02:00
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