Commit Graph

48 Commits

Author SHA1 Message Date
Mitch Lustig 273f067db3 Code Cleanup 2021-04-07 22:42:21 -07:00
Mitch Lustig 08f27f433c Add turn tilt 2021-04-06 02:18:32 -07:00
Benjamin Vedder fcb7e12158 Made servo output a config option 2021-03-31 16:28:46 +02:00
Mitch Lustig decdc7e7d6 Add torquetilt 2021-03-27 20:13:22 -07:00
Mitch Lustig 3b9fe6ec67 Add Booster 2021-03-27 14:00:55 -07:00
Mitch Lustig 49e624ba3b Remove boring features 2021-03-27 12:17:10 -07:00
Marcos Chaparro 33b5d5c1ba Pedal assist support (PAS)
This commit enables cadence-based pedal assist for ebikes using
quadrature-style pedal speed sensors.

There are 2 operation modes:
* PAS only: Motor current is based only on pedal feedback
* ADC + PAS: The code will use both ADC and pedal feedback and use
the strongest command to provide seamless overlap when the user is
pedalling and requests extra torque with the throttle.

Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2020-12-07 17:06:36 -03:00
Benjamin Vedder 55096f93cc Added UAVCAN raw throttle modes 2020-12-04 17:54:22 +01:00
Mitch Lustig 7db04df582 Add all the variables 2020-07-03 20:33:15 -07:00
Mitch Lustig 24afd4e6f3 Balance sprint 3
-Can steering based on speed
-Can steering current clamp
-Min rpm for half switch state fault
-Soft mode tuning (pitch angle affinity, setpoint affinity, setpoint limit)
-Reset I value on faults issue #117
-fix startup tiltback
2020-03-15 23:18:34 -07:00
Mitch Lustig 6d29b6741f Use ADC for switches 2020-02-23 13:34:51 -08:00
Mitch Lustig d4f6036de7 Implement nose angle adjustment 2020-02-23 10:23:19 -08:00
Mitch Lustig 2c07512091 Add can bus, 2 wheel steering & stabilization, brake, dead & fault dealy 2020-02-23 00:22:21 -08:00
Benjamin Vedder b6949d60dc FW4.00: HFI and many updates, see changelog 2020-01-28 19:46:19 +01:00
Mitch Lustig 343dba369a Remove axis config 2019-09-21 01:07:31 -07:00
Mitch Lustig d160f74651 Merge branch 'master' into balance 2019-09-12 22:50:12 -07:00
Mitch Lustig 3c31d264fd Add high voltage tiltback 2019-09-12 00:07:26 -07:00
Mitch Lustig 518776d04e Add basic low voltage tiltback 2019-09-10 19:29:44 -07:00
Mitch Lustig 67a4653bd8 Add support for dual fault switches 2019-09-10 01:07:05 -07:00
Benjamin Vedder eb6f5945ce FW 3.61: Added smart reverse mode to PPM app, and some fixes 2019-09-09 19:34:26 +02:00
Mitch Lustig 72e9c24bd7 Make axes configurable, remove offset management 2019-09-08 18:32:53 -07:00
Mitch Lustig 011d3055f6 Merge branch 'master' into merge_new_master 2019-09-08 15:05:54 -07:00
Mitch Lustig 98652977a2 Merge master 2019-09-08 11:42:28 -07:00
Benjamin Vedder a233367be8 MPU9x50 fix, experiment plots, DQ voltage RT data, smart reverse for nunchuk app 2019-09-08 18:25:38 +02:00
Benjamin Vedder 602db7435b FW3.59. Many updates, see changelog for details 2019-09-03 20:39:05 +02:00
Mitch Lustig 7a47053ca6 Add startup calibration sequence 2019-08-27 19:57:35 -07:00
Mitch Lustig a2231593b2 Start on better gyro config 2019-08-25 23:49:33 -07:00
Mitch Lustig 62da9e5b83 Better peripheral gyro management 2019-08-09 23:16:20 -07:00
Mitch Lustig 14faa2e593 Make all features configurable 2019-08-07 00:22:51 -07:00
Mitch Lustig 15703429f5 Add gyro tuning functionality & state machine logic 2019-08-04 11:47:23 -07:00
Mitch Lustig 800115f683 Implement more data to help debug 2019-07-30 00:27:23 -07:00
Mitch Lustig bbba718140 Work to get GUI going 2019-07-29 00:31:48 -07:00
Mitch Lustig fccb59b2ef Merge branch 'master' into balance 2019-07-27 21:28:02 -07:00
Mitch Lustig 271dd21dab start in balanace app 2019-07-27 21:25:56 -07:00
Benjamin Vedder c7d11ca431 Some fixes for previous PR 2019-07-01 18:35:27 +02:00
Davide D'Agostino 05b0f0dd9f Port Ackmaniac smart reverse 2019-06-19 19:00:46 -07:00
Benjamin Vedder 39bb8a6b09 FW 3.53: Limit foc_current_filter_const range, 1Mbit/de NRF speed, lower detect f_sw for resistance, no temp_comp by default 2019-03-20 22:46:36 +01:00
Benjamin Vedder 65298263b6 75/300 R2 support, terminal sync cmd, IMU support, option to disable permanent UART, collected timer functions in one place 2019-03-10 14:57:42 +01:00
Benjamin Vedder 123bb00ab4 Major 2019 update 2019-02-18 19:30:19 +01:00
Benjamin Vedder 5a189290bc FW 3.34: PID POS in values, inverted direction angle normalization, relative current mode in APP_ADC 2018-01-24 09:39:06 +01:00
Benjamin Vedder 5348662197 FW 3.32: Configurable CAN baud rate 2017-11-08 14:07:35 +01:00
Benjamin Vedder 6277cf74ca FW 3.31: Acc temp dec option, PID for APP_ADC 2017-10-27 21:29:12 +02:00
Benjamin Vedder 79bfbe6234 FW3.28: dual throttle curves, ntc beta factor config, board file added 2017-09-06 21:13:28 +02:00
Benjamin Vedder f141157358 First official commit after the VESC Project release 2017-09-04 21:12:43 +02:00
Benjamin Vedder 5dbc94c525 FW 3.7 2016-11-04 15:18:34 +01:00
Benjamin Vedder cb2a205cb8 FW 2.17: as5047 support, change sensor port mode in conf, better encoder detection, FOC ah and wh counter fixes 2016-04-27 15:32:32 +02:00
Benjamin Vedder d52906fbe8 FW 2.15: NRF configuration, PPM and ADC app duty mode scaling to max duty 2016-02-09 12:25:13 +01:00
Benjamin Vedder 06129bb66c FW 1.13: Hw 4.8 support, new CC implementation for nunchuk, refactoring, custom app and hw config support 2015-09-17 23:24:55 +02:00