`get_actual_tcp_pose()` returns a pose. The Y component in the base coordinates in the is index 1 (0-based indices).
So you could do:
pallet_len:=(point_1[1] - point_2[1])*1000
Or maybe better
point_diff:=pose_sub(point_1, point_2)
pallet_len:=point_diff[1]
This gives a little more info for debug if you need to look at `point_diff`
I want to use the Y value from the variables "POINT_1 & POINT_2" and then add them together and add store the value into another variable, but I do not know if this is possible. thanks
![]()
