Commit Graph

1228 Commits

Author SHA1 Message Date
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
Benjamin Vedder 186e1ce40a Disable vesc remote control by default and enable it after pairing 2021-06-15 12:58:10 +02:00
Benjamin Vedder f81093922a Added event logging 2021-06-15 12:56:38 +02:00
Benjamin Vedder 75b84f1f2d Added kill switch support 2021-06-13 13:46:27 +02:00
Benjamin Vedder 5742d1baf1 Handle subnormal numbers in float serialization 2021-06-09 19:20:48 +02:00
Benjamin Vedder 93fa35953c Added mkdir command to all firmwares in rebuild_all 2021-06-07 20:56:19 +02:00
Benjamin Vedder 6e0601f8fa
Merge pull request #306 from Mitchlol/balance_4.4
Balance 4.4
2021-06-07 19:47:36 +02:00
Mitch Lustig d561c2669b Add balance loop time correction 2021-06-06 14:01:42 -07:00
Benjamin Vedder 7c143225d5 Added mc_interface_dccal_done to mc_interface.h 2021-06-06 14:13:09 +02:00
Benjamin Vedder 5cdebf6358 Added app_custom_mkfile to makefile, removed outdated hardware 2021-06-06 14:00:51 +02:00
Mitch Lustig e2fd6f4b67 Simplify balance app startup sleeps 2021-06-05 17:50:50 -07:00
Mitch Lustig 3e08ca00f2 Add support for debugging to the experiments tab 2021-06-05 17:14:23 -07:00
Mitch Lustig de9400e461 Add brake timeout 2021-06-05 16:05:19 -07:00
Mitch Lustig d68fc0ff4f Balance: Updates
-Fix D term to use angle rather than error (which includes tilt steps)
-Switch TT to Biquad (Clear z1 z2)
-Split TT Relax speed
-Add Biquad to D term
-Add console command to graph specific variables
-Add console command to dump realtime data from specific variables
2021-06-01 03:20:00 -07:00
Benjamin Vedder 007eb9bb92 Updated er qml 2021-05-29 14:35:54 +02:00
Benjamin Vedder 1f935c6ca7 Merge branch 'master' into dev_fw_5_03 2021-05-29 14:24:15 +02:00
Benjamin Vedder be439a2a55
Merge pull request #303 from Jfriesen222/master
Added things for 100D_V2 hardware variant
2021-05-29 14:21:55 +02:00
Benjamin Vedder 25be00df54 Updated er and finn apps 2021-05-29 14:09:26 +02:00
Jeffrey M. Friesen 422e348c1a Added things for 100D_V2 hardware variant 2021-05-29 12:41:59 +02:00