mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-08-21 15:47:40 +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.
15 lines
355 B
C++
15 lines
355 B
C++
#ifndef __CURRENT_LIMITER_HPP
|
|
#define __CURRENT_LIMITER_HPP
|
|
|
|
#ifndef __ODRIVE_MAIN_H
|
|
#error "This file should not be included directly. Include odrive_main.h instead."
|
|
#endif
|
|
|
|
class CurrentLimiter {
|
|
public:
|
|
virtual ~CurrentLimiter() = default;
|
|
virtual float get_current_limit(float base_current_lim) const = 0;
|
|
};
|
|
|
|
#endif // __CURRENT_LIMITER_HPP
|