Sorry, the changes in tp.c would be

=======
-    acc_bound->x = axis_array[0].acc_limit; //0==>x
-    acc_bound->y = axis_array[1].acc_limit; //1==>y
-    acc_bound->z = axis_array[2].acc_limit; //2==>z
+    acc_bound->x = axis_get_acc_limit(0); //0==>x
+    acc_bound->y = axis_get_acc_limit(1); //1==>y
+    acc_bound->z = axis_get_acc_limit(2); //2==>z

rather than

+    acc_bound->x = emcmotStatus->axes[0].acc_limit; //0==>x
+    acc_bound->y = emcmotStatus->axes[1].acc_limit; //1==>y
+    acc_bound->z = emcmotStatus->axes[2].acc_limit; //2==>z
=======

and

=======
-    vel_bound->x = axis_array[0].vel_limit; //0==>x
-    vel_bound->y = axis_array[1].vel_limit; //1==>y
-    vel_bound->z = axis_array[2].vel_limit; //2==>z
+    vel_bound->x = axis_get_vel_limit(0); //0==>x
+    vel_bound->y = axis_get_vel_limit(1); //1==>y
+    vel_bound->z = axis_get_vel_limit(2); //2==>z

rather than

+    vel_bound->x = emcmotStatus->axes[0].vel_limit; //0==>x
+    vel_bound->y = emcmotStatus->axes[1].vel_limit; //1==>y
+    vel_bound->z = emcmotStatus->axes[2].vel_limit; //2==>z
=======


--
Arvid Brodin


_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to