mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-08-17 17:01:58 +08:00
- Added thermal errors to dump_errors call in odrivetool. - Added function in odrivetool to set thermistor coefficients based on thermistor specs. - Added documentation for users on how to connect and configure their own thermistors.
10 lines
184 B
Python
10 lines
184 B
Python
#%%
|
|
from odrive.utils import calculate_thermistor_coeffs
|
|
|
|
Rload = 3300
|
|
R_25 = 10000
|
|
Beta = 3434
|
|
Tmin = 0
|
|
Tmax = 140
|
|
calculate_thermistor_coeffs(3, Rload, R_25, Beta, Tmin, Tmax, True)
|