Commit Graph

993 Commits

Author SHA1 Message Date
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
Benjamin Vedder 6dd35cbbc3 Updated er-app 2021-05-26 22:09:50 +02:00
Benjamin Vedder 93b405add9 Merge branch 'master' into dev_fw_5_03 2021-05-24 08:49:05 +02:00
Benjamin Vedder 951b07a1ff
Merge pull request #301 from Mitchlol/balance_app_cleanup
Balance app cleanup
2021-05-24 08:46:08 +02:00
Benjamin Vedder 812f5302ca
Merge pull request #298 from cleichner/doc-fixes
Correct spelling, broken links, and missing parameters in documentation
2021-05-24 08:37:04 +02:00
Mitch Lustig 1711ff953a Balance app cleanup
Increase motor timeout to account for sleep inaccuracy and whatever else.

Set motor timeout to a variable, to reduce calculation repetition.

Only calculate motor timeout after config is set, so we never divide by 0.

Reorder functions so exposed functions are at the start.

Make app's internal functions static.
2021-05-23 14:58:47 -07:00
Benjamin Vedder e74eb17429 Simplified QML 2021-05-23 20:19:08 +02:00
Benjamin Vedder 3e7bd17d7d er updates 2021-05-23 15:42:30 +02:00
Benjamin Vedder eca6a233d5 er updates 2021-05-23 14:46:49 +02:00
Benjamin Vedder 19d2a4078c Added qmlui to conf 2021-05-22 21:40:19 +02:00
Benjamin Vedder 6d945cb4ab Added er qml config 2021-05-22 21:01:33 +02:00
Benjamin Vedder 759ae52058 Increased FW version number 2021-05-21 00:01:06 +02:00
Benjamin Vedder 1c83713540 Updated er app 2021-05-21 00:00:28 +02:00
Benjamin Vedder 7bdb0a36c0 Increased default phase filter erpm 2021-05-20 23:59:42 +02:00
Benjamin Vedder 3d2aad0977 Take current limit into account when going to full brake 2021-05-20 18:13:40 +02:00
Benjamin Vedder 6dd4758a35 Disable current controller decoupling by default 2021-05-20 00:58:02 +02:00
Benjamin Vedder fdad367c8d limit mc_interface_set_current_off_delay time to 5s 2021-05-20 00:57:26 +02:00
Benjamin Vedder bfe1fa0a12
Merge pull request #299 from Mitchlol/balance_4.3
Balance 4.3
2021-05-18 23:40:19 +02:00
Mitch Lustig b237cf4b9f Add High Pass FIlter, implement current off delay, refactor constanttilt 2021-05-16 14:53:03 -07:00
Mitch Lustig caa24ab097 Merge remote-tracking branch 'vedderb/dev_fw_5_03' into balance_4.3 2021-05-16 14:43:24 -07:00
Benjamin Vedder ad06b4cf5d Added CAN current commands with off delay 2021-05-16 21:03:46 +02:00
Benjamin Vedder 934d7b9751 Locking around stop code, added mc_interface_set_current_off_delay 2021-05-15 15:24:39 +02:00
Benjamin Vedder b3ed7a67d7 Fixed DRV fault reset 2021-05-14 13:52:41 +02:00
Benjamin Vedder 2c2238f76a Unified DRV fault reset interface, reset DRV faults after fault stop time ends 2021-05-14 11:24:01 +02:00
Benjamin Vedder c30a93119a Wait for input voltage to rise and settle before attempting offset calibration at boot 2021-05-13 11:45:30 +02:00
Benjamin Vedder 509713e21a Fixed timeout values 2021-05-13 10:59:33 +02:00
Benjamin Vedder 9e9e13ae14 Wait for motor release where needed 2021-05-13 10:42:40 +02:00
Benjamin Vedder be5ce41c17 Disable motor for 5 seconds after flash operations 2021-05-11 19:25:03 +02:00
Benjamin Vedder e66552c83f Added io-board commands 2021-05-11 14:03:22 +02:00
Benjamin Vedder 77af43935a Removed outdated LED-support 2021-05-11 09:57:27 +02:00
Chas Leichner 3aaaeaf3a3 Correct spelling, broken links, and missing parameters in documentation 2021-05-07 15:27:50 -07:00
Benjamin Vedder 67650d0dac Updated changelog 2021-05-07 10:11:38 +02:00
Benjamin Vedder 24b8a6f100 Change default DRV OC mode for HD60 and HD75 2021-05-07 09:49:01 +02:00
Benjamin Vedder 0d6a9824e4 Use fast speed tracker for BEMF decoupling 2021-05-07 09:47:45 +02:00
Benjamin Vedder e9516b2fac Update pointer while waiting in case it changes 2021-05-03 21:19:43 +02:00
Benjamin Vedder 519f68a22f Disable CAN status messages when rate is set to 0 2021-05-03 19:37:49 +02:00