Updates
Compare changes
- Sergi Hernandez authored
+ 8
− 2
@@ -220,6 +220,7 @@ void joint_motion_process(void)
@@ -220,6 +220,7 @@ void joint_motion_process(void)
if(joint_current_speeds[i]!=joint_dir[i]*joint_target_speeds[i])// it is necessary to change the current speed
@@ -232,7 +233,7 @@ void joint_motion_process(void)
@@ -232,7 +233,7 @@ void joint_motion_process(void)
@@ -250,9 +251,12 @@ void joint_motion_process(void)
@@ -250,9 +251,12 @@ void joint_motion_process(void)
joint_current_angles[i]=joint_current_angles[i]+((joint_current_speeds[i]*joint_motion_period)>>16);
@@ -261,7 +265,9 @@ void joint_motion_process(void)
@@ -261,7 +265,9 @@ void joint_motion_process(void)