Commit 5e3a6eb2 authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Used the velocity profile register to control the moving speed in the...

Used the velocity profile register to control the moving speed in the position/current control mode.
parent 43b67d42
......@@ -1004,7 +1004,7 @@ void CDynamixelMotor::move_absolute_angle(double angle,double speed,double curre
if(speed>this->info.max_speed)
speed=this->info.max_speed;
data=this->from_speeds(speed);
this->write_register(this->registers[goal_speed],data);
this->write_register(this->registers[profile_vel],data);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment