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
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
Benjamin Vedder
dfe17ac334
Dynamic QML-script write support
2021-05-01 13:28:46 +02:00
Benjamin Vedder
7a0e560e8b
Lowpass filter input voltage and battery level
2021-04-27 17:48:15 +02:00
Benjamin Vedder
fa3610c8b1
Fixed CAN ping for dual motor hardware
2021-04-27 10:17:41 +02:00
Benjamin Vedder
f25144cc30
Removed iterative observer, added p_pid_gain_dec_angle
2021-04-26 23:14:05 +02:00
Benjamin Vedder
99b0cb79d2
Limit hall sensor angle rate of change based on ERPM
2021-04-26 17:57:49 +02:00
Benjamin Vedder
9014bc4f6a
Lower phase filter default ERPM
2021-04-26 17:55:13 +02:00
Benjamin Vedder
5767b703b7
Custom UI support
2021-04-24 22:36:00 +02:00
Benjamin Vedder
b36a6116e4
Merge pull request #294 from RadinnAB/blackmagic
...
Blackmagic - Routed nRF reset & halt to cortexm functions
2021-04-24 12:30:24 +02:00
rodale75
b01930d586
commands: Added COMM_BM_HALT_REQ
...
Command added for being able to halt the CPU while connected via
blackmagic probe.
2021-04-23 15:58:24 +02:00
rodale75
1713eb4215
bm: Exposed cortexm-functions to be used for nRF-targets.
...
Exposed cortexm_reset & cortexm_halt_request in order to be populated as
operators for nRF-targets. Also added the already exposed cortexm_halt_resume
functon to nRF. By this it will be possible to handle such blackmagic probe
commands towards connected nRF-targets.
2021-04-23 15:50:31 +02:00
Benjamin Vedder
66fb7caa50
Merge pull request #293 from rpasichnyk/dev_fw_5_03
...
Prevent CAN ID collision with DieBieMS / FlexiBMS
2021-04-21 09:10:23 +02:00
rpasichnyk
c1ad9b2b4f
Tabs vs spaces and some formatting
2021-04-21 09:03:08 +02:00
rpasichnyk
0d2610c9bc
Prevent CAN ID collision with DieBieMS / FlexiBMS
2021-04-21 08:55:52 +02:00
Benjamin Vedder
36d32ed96d
Merge pull request #291 from Mitchlol/balance_4.2
...
Balance 4.2
2021-04-20 15:53:12 +02:00
Benjamin Vedder
80ba514187
Merge pull request #292 from powerdesigns/hw_brake_override
...
app adc: allow hardwares to override the brake input
2021-04-20 15:52:42 +02:00
Marcos Chaparro
d8d2088137
app adc: allow hardwares to override the brake input
...
With this hook the brake can be overriden from the hw_*.c file without
polluting the app configuration UI.
Some examples of commanded braking:
* Tilt/crash sensor
* Gear shift sensor
* Emergency stop
* Kill switch
Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2021-04-19 11:33:57 -03:00
Mitch Lustig
187621d530
Add confgenerator
2021-04-17 18:20:51 -07:00
Mitch Lustig
c9ed013f13
Fix low speed Full switch faults, Fix Booster, Improve turn/torque tilts
2021-04-17 18:05:24 -07:00
Mitch Lustig
c30a4fe0dc
Merge remote-tracking branch 'vedderb/dev_fw_5_03' into balance_4.2
2021-04-17 17:07:43 -07:00
Benjamin Vedder
14b25e9aa4
Added foc_fw_q_current_factor
2021-04-15 10:04:28 +02:00
Benjamin Vedder
ac360ae7f6
Give D-axis current priority when limiting current, added mcpwm_foc_set_current_off_delay
2021-04-14 22:29:50 +02:00
Benjamin Vedder
89d854f4c4
Added Finns app
2021-04-12 19:46:37 +02:00
Benjamin Vedder
998bc17ba7
Cleanup
2021-04-12 09:48:29 +02:00
Benjamin Vedder
ca8e7b4f05
Merge pull request #271 from CTSchorsch/dev_05_03
...
- Add driver for SX1278 LoRa boards, eg. HopeRF RFM95W (driver by Woj…
2021-04-12 09:35:38 +02:00
Benjamin Vedder
e784f9d848
Merge branch 'master' into dev_fw_5_03
2021-04-12 09:24:29 +02:00
Benjamin Vedder
31a313129d
Merge pull request #285 from supercrazysam/supercrazysam-readme-gcc-update
...
Added installation guide for recommended stable gcc version
2021-04-12 09:23:45 +02:00
Sam Shum
9f4e7150c9
Update README.md
2021-04-12 00:01:30 -04:00
CTSchorsch
3d8243fa1b
connect lora to packet/command structure
...
test with COMM_GET_VALUE ok
2021-04-11 20:22:54 +02:00
Benjamin Vedder
3a9d3bfe10
Remove old define
2021-04-11 19:44:31 +02:00
Benjamin Vedder
3d57ed2f06
Cleanup
2021-04-11 19:38:55 +02:00
Benjamin Vedder
9a00234346
Merge pull request #282 from powerdesigns/ipm_bemf_decoupling
...
bemf_decoupling: improved math for IPM motors.
2021-04-11 19:36:35 +02:00
Benjamin Vedder
55dba9a79d
Made odometer persist after firmware updates, added hw runtime counter
2021-04-11 19:36:11 +02:00
Benjamin Vedder
d35e4940e3
Merge pull request #283 from powerdesigns/speed_pid_loop_antiwindup
...
speed_pid: improved integral term antiwindup.
2021-04-11 17:15:47 +02:00
Maximiliano Cordoba
c7819a8722
speed_pid: improved integral term antiwindup.
...
-we feedback the output saturation to the integral term to improve the antiwindup mechanism.
Signed-off-by: Maximiliano Cordoba <mcordoba@powerdesigns.ca>
2021-04-11 11:59:22 -03:00
Maximiliano Cordoba
fbd35f15ad
bemf_decoupling: improved math for IPM motors.
...
-In IPM motors (ld_lq_diff > 0) Ld affects in the Q axis, and Lq affects in the D axis.
Signed-off-by: Maximiliano Cordoba <mcordoba@powerdesigns.ca>
2021-04-11 10:51:09 -03:00
CTSchorsch
aa4e0567a7
git trouble
2021-04-11 12:18:54 +02:00