Jakub Tomczak
e4e16cad88
+spi_bb_nss_init(), MT6816 uses spi_bb
...
quick spi_bb integration in MT6816.c
2021-12-26 18:44:33 +01:00
Jakub Tomczak
6edba4fbce
spi_bb update TODO: hook MT6816 with spi_bb
2021-12-20 16:52:59 +01:00
Jakub Tomczak
4743194894
old encoder files deleted
2021-12-20 14:18:51 +01:00
Jakub Tomczak
806e7d12be
Update encoder_hwconf.c
2021-12-19 15:08:44 +01:00
Jakub Tomczak
f636338b79
TS5700N8501 implemented
...
TODO: check files and compile with different precompiler defines
2021-12-17 16:34:22 +01:00
Jakub Tomczak
16dd3a3c7f
restructuring
2021-12-17 16:18:07 +01:00
Jakub Tomczak
f72c5e2cb4
refactor rename ENC_SINCOS
2021-12-17 14:05:39 +01:00
Jakub Tomczak
cc769c858b
TS5700N8501 added
2021-12-17 13:13:11 +01:00
Jakub Tomczak
b09d86295b
SINCOS integrated
2021-12-16 11:49:34 +01:00
Jakub Tomczak
6507a47bf1
SINCOS added
2021-12-15 16:48:23 +01:00
Jakub Tomczak
d0acc03f86
code formatting fixed
2021-12-15 14:21:37 +01:00
Jakub Tomczak
612f7a5090
ABI integrated
2021-12-15 13:44:23 +01:00
Jakub Tomczak
ce7b3f7805
makefile sources
2021-12-15 13:41:33 +01:00
Jakub Tomczak
a202c1e92c
ABI added
2021-12-15 13:41:03 +01:00
Jakub Tomczak
3891eb886d
Update encoders.h
2021-12-14 17:58:56 +01:00
Jakub Tomczak
7da5a08e39
Update conf_general.h
2021-12-14 17:44:48 +01:00
Jakub Tomczak
f26f3beb2d
WIP: 3 encoders partially implemented, AS504x tested
...
compiled on gcc-arm-none-eabi-7-2018-q2
2021-12-14 16:40:40 +01:00
Benjamin Vedder
a8f989eb64
er updates
2021-12-08 12:04:19 +01:00
Benjamin Vedder
b302c1a614
er update
2021-12-08 10:12:23 +01:00
Benjamin Vedder
4da6b603d4
er updates
2021-12-06 16:55:58 +01:00
Benjamin Vedder
4fa7a922fe
Fixed dual motor detect offset problem
2021-12-01 13:46:49 +01:00
Benjamin Vedder
d30fb57a90
Fixed stat reset, removed stat terminal command
2021-12-01 13:45:48 +01:00
Benjamin Vedder
6b076f07f1
updated signature
2021-11-28 10:48:04 +01:00
Benjamin Vedder
2a281e36ae
Initialize integrator in dutycycle downramp controller
2021-11-27 23:32:08 +01:00
Benjamin Vedder
40c2842aa8
Sign macro fix
2021-11-27 23:30:10 +01:00
Benjamin Vedder
c5c309e227
More braking improvements
2021-11-27 18:51:02 +01:00
Benjamin Vedder
e6c44bb133
build using 12 cores
2021-11-27 18:50:34 +01:00
Benjamin Vedder
afe85a2937
Handle different max and min currents in braking mode
2021-11-27 16:38:32 +01:00
Benjamin Vedder
b524773c0d
Another attempt at braking
2021-11-27 10:58:52 +01:00
Benjamin Vedder
a4201139f2
Minor cleanup
2021-11-26 18:06:07 +01:00
Benjamin Vedder
76b4f58e4e
Another attempt at braking smoothly to 0
2021-11-26 00:43:41 +01:00
Benjamin Vedder
824e74b3c9
Merge pull request #382 from avlasic/temp_comp_fix_5_03
...
Use the same minimal temp value for Temperature compensation
2021-11-25 09:50:52 +01:00
Benjamin Vedder
61356d6ae9
Added APPCONF_UAVCAN_RAW_RPM_MAX default value
2021-11-24 14:15:30 +01:00
Andrej Vlašić
132c603699
Use the same minimal temp value for Temperature compensation
2021-11-24 12:18:29 +01:00
Benjamin Vedder
e1b150b6d1
Merge pull request #381 from Jfriesen222/dev_fw_5_03
...
fixed GPIO mapping for phase filters on SC
2021-11-24 10:58:34 +01:00
Benjamin Vedder
5d385c046b
Added UAVCAN raw RPM command
2021-11-24 10:56:45 +01:00
Jeffrey M. Friesen
78b3cd00c3
fixed GPIO mapping for phase filters on SC
2021-11-23 09:37:53 -08:00
Benjamin Vedder
36c333cc03
Apply ld_lq_diff in detection
2021-11-21 19:23:19 +01:00
Benjamin Vedder
f6e78a09b6
Fixed measured MTPA mode, send ld_lq_diff detection result
2021-11-21 18:17:40 +01:00
Benjamin Vedder
fd48dc2644
Make PID position control direction consistent with other control modes when encoder is inverted
2021-11-15 21:30:24 +01:00
Benjamin Vedder
fff18eb76b
Reset PID controller filters when not running to avoid start glitch
2021-11-15 21:29:05 +01:00
Benjamin Vedder
76adfc1601
Merge pull request #377 from RadinnAB/hw_rd2_adj
...
Minor adjustments for HW_RD2 & the build tool-chain
2021-11-13 23:10:53 +01:00
Benjamin Vedder
19dc884ed6
Merge pull request #378 from ElwinBoots/svm_correct
...
SVM sign fix
2021-11-13 23:10:08 +01:00
ElwinBoots
78065cf74d
SVM sign fix
...
The original SVM code output was 1-dutycycle instead of dutycycle.
To make the math correct this was "corrected" by having the mod_alpha and mod_beta inputs negative.
This code now instead really fixes the output to dutycycle. Now the input should not be taken negative anymore.
2021-11-13 21:51:20 +01:00
Benjamin Vedder
8457331640
Fix vesc remote cruise control under erpm limit
2021-11-13 00:56:01 +01:00
rodale75
80d504edaf
hw_rd2: Adjustments of guard- & get-temperature function-naming.
...
And also, some minor adjustments of the configuration parameters.
Change-Id: Ic56430dcf13cc47e6d6df1fcc19e09941b2e6d91
2021-11-12 11:16:00 +01:00
Björn Mellström
18398553d6
make: Added size-rule.
...
Change-Id: I78fe451e994832850c138b757bc5911c9f53b7ee
2021-11-12 11:10:15 +01:00
Björn Mellström
5b73873b74
make: Default to non-verbose compilation output.
...
Change-Id: Ic08eef4ba9771789e31cb24f87c6143ea6d1cf05
2021-11-12 11:10:06 +01:00
Benjamin Vedder
3778dbe2e2
Added support for statistics
2021-11-11 01:08:21 +01:00
Benjamin Vedder
f9170e93d0
Added uptime to setupvalues
2021-11-10 15:45:28 +01:00