Home Programming

Discussion

Left ArrowBack to discussions page
Kostya_777Kostya_777 Posts: 2 Recruit
Hello guys.
I have a question about the contents of the script.
Below is the code, which is responsible for the movement relative to a given plane. I don't understand what p[-.133299999831, -.49189999999672, .332900000454, 2.221441469414, -2.221441468745, .000000000935] is. Can you tell me where this variable comes from? 
I don't understand how it is generated and what information it carries in itself.



Thank you very much in advance!


Comments

  • bcastetsbcastets Vacuum Beta tester Posts: 478 Expert
    It looks like Waypoint_1_p and Waypoint_2_p coordinate should be in the frame of p[-.133299999831, -.49189999999672, .332900000454, 2.221441469414, -2.221441468745, .000000000935].

    The pose_trans(p[-.133299999831, -.49189999999672, .332900000454, 2.221441469414, -2.221441468745, .000000000935],Waypoint_1_p) transfer Waypoint_1_p coordinate from p[-.133299999831, -.49189999999672, .332900000454, 2.221441469414, -2.221441468745, .000000000935] frame to base frame.

    The resulting base frame coordiante are use as relative coordinate in Plane_1 frame.

    maybe the programmer wanted to recover some offset waypoints ??
  • Kostya_777Kostya_777 Posts: 2 Recruit
    bcastets said:
    It looks like Waypoint_1_p and Waypoint_2_p coordinate should be in the frame of p[-.133299999831, -.49189999999672, .332900000454, 2.221441469414, -2.221441468745, .000000000935].

    The pose_trans(p[-.133299999831, -.49189999999672, .332900000454, 2.221441469414, -2.221441468745, .000000000935],Waypoint_1_p) transfer Waypoint_1_p coordinate from p[-.133299999831, -.49189999999672, .332900000454, 2.221441469414, -2.221441468745, .000000000935] frame to base frame.

    The resulting base frame coordiante are use as relative coordinate in Plane_1 frame.

    maybe the programmer wanted to recover some offset waypoints ??
    Hi bcastets!

    Yes, you are absolutely right. I understand the meaning of these pose_trans functions. But it is not clear where this pose and its value p[-.133299999831, -.4918999999999672, .332900000454, 2.221441469414, -2.221441468745, .000000000935] are generated from.

    This can be generated by the get_actual_tcp\get_forward_kinematic method?
  • bcastetsbcastets Vacuum Beta tester Posts: 478 Expert
    @Kostya_777
    I have no idea where those value could come from. I think only the person who made this program could answer.
Sign In or Register to comment.
Left ArrowBack to discussions page