Commit Graph

265 Commits

Author SHA1 Message Date
Benjamin Vedder 8a7f5c7b50 Rearranged encoder settings, added custom encoder support 2022-11-19 16:23:07 +01:00
Benjamin Vedder b8e8952e32 Moved ahrs-parameters into attitude info, added ahrs-functions and imu callback to vesc_if 2022-11-19 00:09:54 +01:00
Benjamin Vedder eee535960b Use amplitude instead of gain setting for sin/cos encoder 2022-11-18 09:55:40 +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
Teslafly c234b5c94b fix tle5012 typo 2022-11-17 01:43:33 -06:00
Teslafly 28260c6cfc Add tle5012 encoder using software ssc interface 2022-11-15 13:34:30 -06:00
Mitch Lustig 00c03fa5bb Add Gyro filter 2022-11-15 01:47:52 -08:00
Benjamin Vedder 696acb581a 64-bit logging support 2022-11-10 21:56:29 +01:00
Euan d4ffa77413 Update to support TeamTriforceUK hardware
Add 25MHz external clock option
Add Low voltage output fault handling
Add support for A50S High gain (HG) versions
Add support for A200S V3 and V4.
Move A200S V2 to its own folder.
2022-11-08 23:43:05 +00:00
Benjamin Vedder ed4c54059f Start of GNSS-support 2022-11-08 17:47:53 +01:00
Benjamin Vedder ff427594e9 Added COMM_SET_APPCONF_NO_STORE and only restart app and IMU when needed 2022-10-30 14:48:22 +01: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
Mitch Lustig dd7e5f70b5 Split accel filter by axis 2022-10-09 10:27:04 -07:00
Benjamin Vedder a219498055 Added CAN_MODE_UNUSED, added more settings to native lib 2022-10-07 17:02:02 +02:00
Vincent Manoukian 413ccdbff1 First impl of bissc.
Update the motor signature for VescTools.
2022-10-02 16:33:17 +02:00
Mitch Lustig 1c4d4a88c1 Add accel filter 2022-09-27 21:30:15 -07:00
Benjamin Vedder 35d2dfcff2 App adc button bitfield and cc disable support 2022-09-27 22:33:40 +02:00
Benjamin Vedder 114fc7aa53 Added PT1000 temperature sensor support 2022-09-23 11:26:31 +02:00
Benjamin Vedder 765ed4d3d4 Added BMS limit mode 2022-09-19 23:47:20 +02:00
Benjamin Vedder e9386cb339
Merge pull request #526 from Mitchlol/balance_iterm_limit
Balance App: Add I-Term Limiter, Remove D-Term Biquad Filters
2022-09-18 22:57:15 +02:00
Benjamin Vedder ff9679d336 Lisp code streaming, more native functions and checks, custom config support, moved global send buffer to mempools 2022-09-18 22:47:50 +02:00
Mitch Lustig 2127da0c0f Balance App: Add I-Term Limiter, Remove D-Term Biquad Filters 2022-09-05 18:44:14 -07:00
Benjamin Vedder 324b3a90ba Added uavcan status current mode 2022-09-03 13:38:12 +02:00
Benjamin Vedder 352c6eb86f BMS support for more temp sensors 2022-09-03 09:30:28 +02:00
Zach O'Brien 9c7b0dae2c Adding support for the AS5x47U encoder. 2022-07-18 14:25:03 -06:00
Dado Mista 20796a66c1 Balance app: dual adc switch (single combined switch) support
Support for combining both adc switches into a single one.

Signed-off-by: Dado Mista <dadomista@gmail.com>
2022-07-16 13:54:47 -07:00
Benjamin Vedder e2b2f91f25 Added saturation compensation modes 2022-05-23 14:42:42 +02:00
Benjamin Vedder 09266def29 Added start_curr_dec parameter and decreased mcconf serialization size 2022-05-22 10:33:33 +02:00
Benjamin Vedder e025e177e0 Observers, observers, observers 2022-05-21 22:54:12 +02:00
Benjamin Vedder 4a8bb6a399 Added option to disable phase filter fault code 2022-05-19 03:12:07 +02:00
Mitch Lustig cd1e021c4d Merge branch 'master' into balanceapp_cascading_pid 2022-05-07 12:14:59 -07:00
Benjamin Vedder d5619f98f1 Added optional fault info string and implemented it for the phase filter fault 2022-05-06 00:49:35 +02:00
Marcos Chaparro 46d132a2d7 Add hw specific backups
Data stored in this memory will be persistent across firmware updates.

This uses the same method used in the VESC BMS firmware.

Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2022-05-05 16:28:58 -03:00
Mitch Lustig af4bcf68b6 Add cascading PID to the balance app 2022-04-21 00:35:15 -07:00
Benjamin Vedder a8d1a5b1bd
Merge branch 'master' into add_basic_ppm_position_mode 2022-04-19 17:14:01 +02:00
Benjamin Vedder 615dc52007
Merge branch 'master' into configurable_gyro_and_accel_filters 2022-04-19 16:05:27 +02:00
Mitch Lustig 430ec56965 Make magnetometer user configurable 2022-04-17 13:19:35 -07:00
Mitch Lustig a041a3b952 Add support for configuring IMU onboard filters 2022-04-15 21:31:03 -07:00
Teslafly fa3eb7a084 have 180 and 360 degree based control mode for center or bottom safestart. 2022-04-11 00:12:00 -05:00
Teslafly cf928c28cb revert datatype reordering 2022-04-09 14:16:36 -05:00
Teslafly 690e7fd37a first try with simplified position setter. 2022-04-07 00:54:45 -05:00
Benjamin Vedder 756ccbc5ba Added fault code for invalid phase filter readings 2022-04-06 21:08:48 +02:00
Benjamin Vedder 60bd5aa1dc Added openloop max current parameter 2022-04-06 12:14:19 +02:00
Benjamin Vedder e5ed5ee914 Added openloop current boost parameter 2022-04-06 11:30:02 +02:00
Benjamin Vedder 1eb0c1e5ae Added HFI-method based on coupling between the axes 2022-04-06 00:35:11 +02:00
Benjamin Vedder 3a530ac3f7 App ADC abs min and max voltage limits 2022-04-01 18:43:03 +02:00
Benjamin Vedder d8e8be51de Fixed silent hfi current offset, added high performance hfi mode, changed vesc6 current sampling, only use HT interrupt if the currents are first in the ADC vector 2022-03-23 22:26:05 +01:00
Benjamin Vedder c348120325 High-performance and silent HFI 2022-03-23 15:04:30 +01:00
Benjamin Vedder 6ace516b3f Added CAN status message 6 with ADC and PPM values 2022-03-13 20:56:26 +01:00