Commit 2649fc12 authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Solved a bug: The current operational mode was not updated for extended register map servos.

parent fe346507
......@@ -312,6 +312,7 @@ void CDynamixelMotor::set_control_mode(control_mode mode)
{
value=mode;
this->write_register(this->registers[op_mode],value);
this->mode=mode;
}
else
{
......
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