mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-22 08:04:07 +08:00
Merge pull request #298 from Wetmelon/devel
Fix Arduino Current Command
This commit is contained in:
@@ -39,7 +39,7 @@ void ODriveArduino::SetVelocity(int motor_number, float velocity, float current_
|
||||
}
|
||||
|
||||
void ODriveArduino::SetCurrent(int motor_number, float current) {
|
||||
serial_ << "c" << motor_number << " " << current << "\n";
|
||||
serial_ << "c " << motor_number << " " << current << "\n";
|
||||
}
|
||||
|
||||
float ODriveArduino::readFloat() {
|
||||
|
||||
Reference in New Issue
Block a user