Commit Graph

200 Commits

Author SHA1 Message Date
Benjamin Vedder 5eaea72df0 Lisp ICU support 2023-01-09 19:31:31 +01:00
Benjamin Vedder c01de39288 Added res, ind and lambda estimation lbm commands 2022-12-19 00:14:57 +01:00
Benjamin Vedder 1db33a6bc6 Added floor, ceil and round 2022-12-16 16:04:37 +01:00
Benjamin Vedder 38e071dfd2 Added adc_ctrl_type to lisp config parameters that can be changed 2022-12-14 22:20:50 +01:00
Benjamin Vedder 874d8cec07 Lbm can send bug fix 2022-12-14 14:51:19 +01:00
Benjamin Vedder a618de63d2 Added app-is-output-disabled to lbm and C lib 2022-12-07 18:10:33 +01:00
Benjamin Vedder 7d805e2d40 Share ppm-code between c_lib and extension 2022-12-07 11:56:43 +01:00
Benjamin Vedder 32b82495b5 Always configure pulse options 2022-12-06 14:38:04 +01:00
Benjamin Vedder f97ff0502f Configure servodec with app ppm options when started from lib or lbm 2022-12-06 14:30:38 +01:00
Benjamin Vedder 6482fcda39 Added ppm and remote functions to C lib, added utils to C lib 2022-12-06 14:12:38 +01:00
Benjamin Vedder 0794e750ff Pause after measuring resistance 2022-12-04 13:28:16 +01:00
Thomas Solatges a4d7c98c30 adding get-pos LispBM feature 2022-12-03 10:24:47 +01:00
Benjamin Vedder a0b04bfad5 Check max array size 2022-12-02 19:13:58 +01:00
Benjamin Vedder ae79d3a4c2 Added can-cmd 2022-12-02 18:50:00 +01:00
Benjamin Vedder 7de3b9ee2d Added motor pole lbm setting 2022-11-25 17:24:12 +01:00
Benjamin Vedder 1e7da25160 Send foc can detect result back to sender even if some other interface communicates in-between 2022-11-22 18:18:38 +01:00
Benjamin Vedder 858bdb9913 Added encoder error rate command 2022-11-19 18:46:01 +01:00
Benjamin Vedder 7d90136465 Start ppm-decoder on get-ppm if it is not already running 2022-11-19 11:46:59 +01:00
Benjamin Vedder ad3f7e6806 Adapted to lbm-changes 2022-11-18 13:03:07 +01:00
Benjamin Vedder e084b93bb0 Added option to override motor temperature from lisp 2022-11-17 21:46:17 +01:00
Benjamin Vedder 7ea099732c Added option to disable motor temp sensor and made it possible to read the temperature adc input from lisp 2022-11-17 21:17:40 +01:00
Benjamin Vedder cc41064271 Added setting l-erpm-start 2022-11-17 17:43:52 +01:00
Benjamin Vedder 50ec161b0a Added stat-extensions 2022-11-17 13:41:22 +01:00
Benjamin Vedder a0cc636704 Fixed plot bug 2022-11-16 18:44:49 +01:00
Benjamin Vedder 2430568107 Changed systime type to u32 2022-11-15 14:58:35 +01:00
Benjamin Vedder 54a1e887a9 Changed return type 2022-11-15 14:44:12 +01:00
Benjamin Vedder 9035dc78a2 Added setup value extensions 2022-11-15 14:42:22 +01:00
Benjamin Vedder 4e239f838f Added support for reading all fet temp sensors 2022-11-15 14:24:10 +01:00
Benjamin Vedder 0c8e917492 Fixed memory leak in to-str 2022-11-14 18:37:43 +01:00
Benjamin Vedder 8daab1e120 Added ah and wh counters to lbm 2022-11-14 12:47:00 +01:00
Benjamin Vedder c2b87d301b Made it possible to compare n characters between two strings 2022-11-11 21:15:26 +01:00
Benjamin Vedder 696acb581a 64-bit logging support 2022-11-10 21:56:29 +01:00
Benjamin Vedder 3fa2a1632e Added more native library functions 2022-11-10 20:36:46 +01:00
Benjamin Vedder ba756e316e Made str-len into extension that also looks for null-char 2022-11-10 15:40:15 +01:00
Benjamin Vedder 6faef7c348 Added send-bms-can 2022-11-10 15:24:34 +01:00
Benjamin Vedder 7ea006882b Added to-str-delim 2022-11-10 13:01:13 +01:00
Benjamin Vedder efb6d734e3 Check set-bms-val last argument 2022-11-09 22:16:12 +01:00
Benjamin Vedder 9c6b3c8dc1 Added set-bms-val to lbm 2022-11-09 21:53:17 +01:00
Benjamin Vedder f9b5985f5f LBM gnss-support 2022-11-09 17:10:07 +01:00
Benjamin Vedder 4c9ab1f4cc Added to-str 2022-11-09 16:00:43 +01:00
Benjamin Vedder 68f79ae7ae Incremented version number 2022-11-09 11:57:55 +01:00
Benjamin Vedder a8c0968888 Added lbm-extension app-pas-get-rpm 2022-11-09 11:56:59 +01:00
Benjamin Vedder 7cacf99e09 Some cleanup 2022-11-08 18:21:06 +01:00
Benjamin Vedder 226c40cdb0
Merge branch 'master' into Improvements 2022-11-08 17:37:21 +01:00
Euan Mutch d06fce3ee4 Interface commands for openloop 2022-11-08 11:46:08 +00:00
Benjamin Vedder 4f363b1296 Fixed loop macro expander keyword collision 2022-11-07 13:50:34 +01:00
Benjamin Vedder d1267e855f Assign array length 2022-11-07 10:51:24 +01:00
Benjamin Vedder 23c10f3e4b Simplified locking slightly 2022-11-05 16:04:32 +01:00
Benjamin Vedder 9bd74b07ac Fixed some warnings 2022-11-04 20:04:17 +01:00
Benjamin Vedder 9215827d76 Much more robust lbm event handling 2022-11-04 19:46:36 +01:00
Benjamin Vedder 0e984823f2 Use true and false instead of 0 and 1 where it makes sense 2022-10-25 11:48:29 +02:00
Benjamin Vedder a1c026499a Updated doc, updated hw, removed dynamic functions that now are fundamentals 2022-10-24 15:56:27 +02:00
Benjamin Vedder 70c58f2b7c First CAN log support, added foc voltage and current extensions 2022-10-23 18:35:26 +02:00
Benjamin Vedder da3e8cc33a Added app-disable-output, updated documentation 2022-10-17 13:59:40 +02:00
Benjamin Vedder dd297db4b1 Added lbm ioboard support 2022-10-14 13:48:17 +02:00
Benjamin Vedder 76bea9b312 Added set-remote-state 2022-10-07 19:36:52 +02:00
Benjamin Vedder 7d0a378245 Added ppm detach 2022-10-07 16:07:32 +02:00
Benjamin Vedder 357da05629 Large native library refactoring that breaks compatibility with old native libraries 2022-10-03 12:40:02 +02:00
Benjamin Vedder f2527aea90 Added compiler and git info to sysinfo lbm extension 2022-10-02 14:28:02 +02:00
Benjamin Vedder cec05e8322 Added pid offset and resistance measurement extensions, made resistance measurement ramp faster 2022-10-02 09:45:56 +02:00
Benjamin Vedder 06d86d8cc9 Added ppm-pin to lisp, doc update 2022-09-27 23:07:42 +02:00
Benjamin Vedder 1e718839b4 Use pre-encoded symbols, added error messages 2022-09-27 12:06:19 +02:00
Benjamin Vedder 68e83394e3 Added plot commands 2022-09-26 13:32:41 +02:00
Benjamin Vedder d67d786e56 lispBM/README.md 2022-09-24 15:29:31 +02:00
Benjamin Vedder ed60bf7306 Fixed some threading-related issues 2022-09-23 13:51:21 +02:00
Benjamin Vedder c26ffa114d Added lbm-set-quota 2022-09-04 22:18:15 +02:00
Benjamin Vedder 3f02141ab5 Added lbm-commands to get PPM and UAVCAN update age 2022-09-03 13:20:41 +02:00
Benjamin Vedder b334247fde Added lbm motor type config option 2022-07-31 13:30:10 +02:00
1zuna 0a7d7d53df fixed lisp set_current and set_current_rel not resetting timeout
causing stuttering
2022-07-30 08:15:43 +02:00
Benjamin Vedder 805006f03e LispBM file import support 2022-07-25 14:26:21 +02:00
Benjamin Vedder 647d75138c Added get-dist-abs to lbm extensions 2022-07-20 11:04:57 +02:00
Benjamin Vedder d458b0f10e Added app-to-use to lispbm configuration parameters 2022-07-13 13:06:52 +02:00
Benjamin Vedder 360f0ef9a9 Lispbm offDelay current argument 2022-07-05 13:41:24 +02:00
Benjamin Vedder 7982a32916 Added foc_beep command to lisp 2022-06-17 10:43:19 +02:00
Netzpfuscher 8268197813 Added commands to detach peripherial from ADC-App and set values from LISP 2022-06-05 07:42:16 +02:00
Benjamin Vedder 9ff5775fca Added more pin modes 2022-05-13 10:14:37 +02:00
Benjamin Vedder 64db50a1f1 Yet another attempt at running lisp i2c together with uart when there is no pin conflict 2022-05-12 20:52:41 +02:00
Benjamin Vedder 4b7827ba4d Another attempt at running lisp i2c together with uart when there is no pin conflict 2022-05-12 20:48:23 +02:00
Benjamin Vedder 008cddc61d Only disable UART app on pin conflict 2022-05-12 16:14:16 +02:00
Benjamin Vedder bbbb93073a C library thread support, more functions and examples 2022-05-11 22:10:42 +02:00
Benjamin Vedder 35aebba3db Added very first attempt at dynamic C library loading support 2022-05-10 20:42:00 +02:00
Benjamin Vedder 0d2b0baac9 Added printf 2022-05-10 19:31:58 +02:00
Benjamin Vedder e6f31eb5f6 Added stop function 2022-05-10 19:05:43 +02:00
Benjamin Vedder 1af7e84402 Added library loader and reserved 1k ram for libraries 2022-05-10 16:19:01 +02:00
Benjamin Vedder d87ada9b1a Added FOC detection command 2022-05-06 19:49:58 +02:00
Benjamin Vedder 452254d73c Add argument to get setting limits 2022-05-06 18:41:50 +02:00
Benjamin Vedder cf63e3c77b Added many more settings to lispbm 2022-05-06 14:37:08 +02:00
Benjamin Vedder 8553e6deec Macro symbol name changes 2022-05-05 20:02:20 +02:00
Benjamin Vedder ac1ef5fbb0 Major loop performance and memory optimization, gave lbm more memory 2022-05-05 19:50:22 +02:00
Benjamin Vedder 9ec5fec4cf Added lispbm gpio-support for adc1 and adc2 2022-05-03 22:53:10 +02:00
Benjamin Vedder 503a55005e Do not block on tx with half duplex uart 2022-05-01 20:55:05 +02:00
Benjamin Vedder 673e682e5a Added LBM input voltage and duty cycle settings 2022-05-01 13:59:44 +02:00
Benjamin Vedder c1bffc44c8 Small fix 2022-04-30 16:15:49 +02:00
Benjamin Vedder 45992edcfd Change str-from-n format, allow using hall sensor pins as gpio 2022-04-29 15:50:56 +02:00
Netzpfuscher 2e28683119 Disable UART receiver during half-duplex transmit and make the call blocking until transmit queue is empty 2022-04-28 20:06:29 +02:00
Benjamin Vedder ec0deedb06 UART bug fix 2022-04-28 18:18:48 +02:00
Benjamin Vedder e1446e9fab Fixed bug in sysinfo-command 2022-04-28 18:00:07 +02:00
Benjamin Vedder cca42b47ff Added half duplex uart mode 2022-04-28 13:42:14 +02:00
Benjamin Vedder 8cb88245bb Added lisp extension load support for custom apps and quite test of it 2022-04-20 17:16:52 +02:00
Benjamin Vedder a26c9ac97b Configurable i2c-pins 2022-04-19 23:44:43 +02:00