Merge pull request #298 from Wetmelon/devel

Fix Arduino Current Command
This commit is contained in:
Paul Guenette
2019-01-14 20:08:11 -05:00
committed by GitHub
+1 -1
View File
@@ -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() {