Skip to content
Snippets Groups Projects
Commit ef1d1bc6 authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Cleared the stop flag when all servos of the group have been stopped.

parent e6a2e110
No related branches found
No related tags found
No related merge requests found
......@@ -208,7 +208,6 @@ void joint_motion_process(void)
joint_target_speeds[i]=0;
joint_target_accels[i]=0;
joint_current_speeds[i]=0;
joint_stop[j]=0x00;
}
else
{
......@@ -265,6 +264,7 @@ void joint_motion_process(void)
if(moving==0)
{
joint_moving[j]=0x00;
joint_stop[j]=0x00;
ram_data[DARWIN_JOINT_GRP0_CNTRL+j*5]&=(~JOINT_STATUS);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment