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
Mitch Lustig
8299445c66
Basic feature set complte
...
Fix some bugs
Add D-Term PT1 Filter
Add all the fault delays
Setpoint clamp no longer breaks tiltback
Add configurable constant tiltback erpm
2020-07-02 01:07:54 -07:00
Mitch Lustig
0b375e76a2
Merge remote-tracking branch 'vedderb/dev_fw_5_02' into balance_3
2020-07-02 00:06:40 -07:00
Peemouse
37e9c2143b
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-01 14:39:31 +02:00
Benjamin Vedder
46e76ec975
Merge pull request #186 from powerdesigns/virtual-motor-update
...
Update virtual motor code to work with latest Vesc v5.
2020-06-30 20:18:51 +02:00
Benjamin Vedder
9fc17a01b5
Merge pull request #187 from powerdesigns/speed-ramp-bug-fix
...
solved bug in speed command ramp.
2020-06-30 20:09:10 +02:00
Esben Rasmussen
f6621e810d
Added BMI160 SPI support
2020-06-29 16:26:39 +02:00
Peemouse
c37419a2e4
Sync with upstream
2020-06-25 15:42:21 +02:00
Maximiliano Cordoba
3a08b1e947
solved bug in speed_ramp.
...
it was being overwritten by the rpm command.
Signed-off-by: Maximiliano Cordoba <mcordoba@powerdesigns.ca>
2020-06-20 14:43:00 -03:00
Maximiliano Cordoba
4a9bf528a9
Fix virtual motor to work with latest Vesc v5.
...
connect_virtual_motor_command only requires 3 arguments, load torque, load inertia and battery voltage.
The rest of the motor characteristics, are taken from already existant variables in VESC motor configuration.
Solved issue with encoder sensor configuration.
Solved fault gate driver undervoltage
Improved hardware dependency defines in virtual motor.c
Signed-off-by: Maximiliano Cordoba <mcordoba@powerdesigns.ca>
2020-06-20 13:36:56 -03:00
Mitch Lustig
b61a0ea7be
Add additional timer for switch half state
2020-06-19 01:28:52 -07:00
Mitch Lustig
cf4187e4e6
Merge remote-tracking branch 'vedderb/dev_fw_5_02' into balance_3
2020-06-19 01:01:00 -07:00
Mitch Lustig
da7b3a0ffb
Mix of stuff (Not a working state)
...
Organize vars
Hack in dterm PT1
Improve faults
Remove dead state
2020-06-19 01:00:37 -07:00
Benjamin Vedder
960cd3b992
Some updates to MTPA PR
2020-06-17 13:55:35 +02:00
Benjamin Vedder
dea04a5e22
Merge pull request #179 from powerdesigns/MTPA
...
MTPA support
2020-06-17 12:27:20 +02:00
Marcos Chaparro
1876c52b02
Disable MTPA during encoder detection
...
Avoids id current set by encoder detection to be overwritten by the
MTPA algorithm.
Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2020-06-06 22:14:06 -03:00
Maximiliano Cordoba
2c7ad3f797
add Id into the calculation of motor current
...
Signed-off-by: Maximiliano Cordoba <mcordoba@powerdesigns.ca>
2020-06-06 22:14:06 -03:00
Marcos Chaparro
2a3110cc53
Fix id and vd sign during inverted direction
...
Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2020-06-06 22:14:06 -03:00
Marcos Chaparro
42926d530e
Add MTPA support
...
Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2020-06-06 22:14:06 -03:00
Benjamin Vedder
b1915b06a7
Some updates for PRs
2020-06-03 10:52:55 +02:00
Benjamin Vedder
1857600961
Merge pull request #175 from Mitchlol/LSM6DS3
...
Add support for IMU LSM6DS3
2020-06-03 10:24:09 +02:00
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