Commit Graph

1096 Commits

Author SHA1 Message Date
Dado Mista cd1e37dfe8 ZESC Warrior6 Support
Signed-off-by: Dado Mista <dadomista@gmail.com>
2021-08-19 15:57:15 -07:00
Mitch Lustig 80de95c372 Update confgenerator 2021-08-19 13:39:54 -07:00
Mitch Lustig f91872bf40 Merge branch 'dev_fw_5_03' into tiltback_config 2021-08-19 13:27:31 -07:00
Benjamin Vedder c34856b4a2 DRV8323S oc latch shutdown by default 2021-08-19 18:57:04 +02:00
Benjamin Vedder 7c6f1dd612 Added fusion IMU filter 2021-08-19 18:48:23 +02:00
Mitch Lustig bec22c9f0f Merge remote-tracking branch 'surfdado/tiltback_config' into tiltback_config 2021-08-18 00:49:39 -07:00
Mitch Lustig fafe047730 Tiltback updates 2021-08-18 00:45:51 -07:00
Benjamin Vedder 4603ff5d4e Change filtered duty cycle to absolute value 2021-08-16 20:33:26 +02:00
Benjamin Vedder fc6825a1ae Added safe start modes 2021-08-16 17:48:06 +02:00
Benjamin Vedder debd1ed4aa Configuration updates 2021-08-16 15:02:20 +02:00
Benjamin Vedder df56397473
Merge pull request #327 from surfdado/tiltback_config
Balance: configurable speed/angle for each tiltback type
2021-08-16 14:32:32 +02:00
Benjamin Vedder 733c551865
Merge pull request #332 from Jfriesen222/dev_fw_5_03
Patched some small bugs in SC/unity
2021-08-16 14:30:10 +02:00
Dado Mista 3f1c7872f4 confgenerator for Balance: configurable speed/angle for each tiltback type
Signed-off-by: Dado Mista <dadomista@gmail.com>
2021-08-15 16:30:11 -07:00
Dado Mista 848cb3165d Balance: configurable speed/angle for each tiltback type
Signed-off-by: Dado Mista <dadomista@gmail.com>
2021-08-15 16:30:11 -07:00
Jeffrey M. Friesen 49c94ef90a Fixed bug where unity/stormcore could be powered off too soon and freeze 2021-08-12 19:21:23 -07:00
Jeffrey M. Friesen 817936f5c9 Updates to stormcore configs 2021-08-11 10:58:48 -07:00
Mitch Lustig cd0d31fa03 Merge branch 'dev_fw_5_03' into tiltback_config 2021-08-08 20:06:51 -07:00
Benjamin Vedder d02d74ceee Corrent interrupt flag in encoder fault generation 2021-07-31 11:18:35 +02:00
Benjamin Vedder 99058d6fb1 Added AS504x faults 2021-07-31 11:01:57 +02:00
Benjamin Vedder 7418102412 Renamed encoder functions, moved fault generation 2021-07-31 10:53:15 +02:00
Benjamin Vedder a00d1beb8d Simplified pr 2021-07-31 10:07:10 +02:00
Benjamin Vedder 11e2062312 Pull request cleanup 2021-07-30 20:53:22 +02:00
Benjamin Vedder db906c4957
Merge pull request #326 from Jaycobe96/AS50x_Diagnostics
Added AS504x Diagnostics
2021-07-30 18:40:01 +02:00
Jakub Tomczak 5f7b49c01b reduction of characters in terminal.c methods 2021-07-30 15:55:55 +02:00
Jakub Tomczak 4709798826 brackets style changed 2021-07-30 15:44:32 +02:00
Jakub Tomczak 3ed1a8f632 new faults 2021-07-30 15:36:21 +02:00
Dado Mista f46880d037 Balance: configurable speed/angle for each tiltback type
Signed-off-by: Dado Mista <dadomista@gmail.com>
2021-07-29 17:16:32 -07:00
Jakub Tomczak 2511458ab3 USE_HW_PINS added in appropriate places 2021-07-29 14:57:33 +02:00
Jakub Tomczak c44b252105 Move Dummy transaction into MOSI only 2021-07-28 17:25:12 +02:00
Jakub Tomczak e951e3a374 Added AS504x Diagnostics 2021-07-28 17:14:10 +02:00
Benjamin Vedder 5ad0c88944
Merge pull request #317 from seems-reasonable/mt6816-init
Fix switching to the MT6816 encoder before reboot
2021-07-18 12:11:07 +02:00
Benjamin Vedder f8b89acab1
Merge pull request #320 from Teslafly/dev_fw_5_03-use_absolute_current_unbalance
Handle negative values in current unbalance detection.
2021-07-18 12:06:52 +02:00
teslafly 334be27e12 use absolute magnitudes of current unbalance 2021-07-18 01:28:18 -05:00
Benjamin Vedder 741dd2b38a Speed PID fixes 2021-07-14 19:59:34 +02:00
Benjamin Vedder 3c88ecb7aa Added configurable PID loop rate and more AUX port modes 2021-07-12 14:31:01 +02:00
Benjamin Vedder 804f49b2a8 Moved position control loop to 1 khz timer 2021-07-11 21:10:14 +02:00
Benjamin Vedder 1ab25a47db Added position PID offset support and KD_PROC term 2021-07-11 20:19:26 +02:00
Brian Silverman daa51c63e1 Fix switching to the MT6816 encoder before reboot
encoder_init_mt6816_spi only made it into the switch statement at
startup, so after changing the mc_conf it required a reboot of the VESC
before it worked.
2021-07-09 23:49:11 -07:00
Benjamin Vedder fec05f7115
Merge pull request #315 from surfdado/bqfix
Balance App - biquad filters: add config/reset functions
2021-07-07 21:52:54 +02:00
Dado Mista 02caad398a Biquad filters: add config/reset functions
Also, swap bq_process arguments mimicking C++

Signed-off-by: Dado Mista <dadomista@gmail.com>
2021-07-06 11:25:23 -07:00
Benjamin Vedder b3c069a378
Merge pull request #313 from surfdado/variable_tiltback
Balance App: introduce new speed based variable tiltback
2021-07-02 09:29:40 +02:00
Davorin Mista ec4eb577be fixup! Balance App: introduce new speed based variable tiltback 2021-06-30 16:17:57 -07:00
Davorin Mista 9f086cfe6f fixup! Balance App: introduce new speed based variable tiltback 2021-06-30 12:50:43 -07:00
Benjamin Vedder b7a5ff5a1b Check external NRF crc 2021-06-27 13:02:24 +02:00
Benjamin Vedder ff94d2481a BMI160 SPI fixes 2021-06-26 15:12:30 +02:00
Dado Mista 813d5b15fa Balance App: introduce new speed based variable tiltback
Nose angle adjustment, similar in purpose as constant tiltback
but it is proportional to erpm aka speed.

Signed-off-by: Dado Mista <dadomista@gmail.com>
2021-06-25 21:42:37 -07:00
Benjamin Vedder 0a5fe738cd Ignore commands when kill switch is active 2021-06-20 16:46:56 +02:00
Benjamin Vedder 029bd88981 Make CAN-enum 32 bits 2021-06-19 19:40:07 +02:00
Benjamin Vedder 32af87b08a Added aux out modes 2021-06-19 17:50:44 +02:00
Benjamin Vedder bfbf26bd90 Ignore can messages with commands larger than CAN_PACKET_ID 2021-06-19 17:00:28 +02:00