get coordinates

This block is part of the dobot group and was last modified in core v14.0.1.

get coordinates v14.0.1

grabs the current joints cartesian coordinates of the machine. When you're using a 4 joint machine, the last 2 joints will be ignored.

In pins 3 + flow
  • flow
    flow
  • connection required
    dobotconnection
  • user coordinate
    number

    Number of the user coordinate to calculate from

    Default 0

  • tool coordinate
    number

    Number of the tool coordinate to calculate from

    Default 0

Out pins 9 + flow
  • flow
    flow
  • connection
    dobotconnection
  • x
    float
  • y
    float
  • z
    float
  • Rx
    float
  • Ry
    float
  • Rz
    float
  • joints
    number

    Number of joints the machine has

  • coords
    array<float>

    Coords of the joints in array format

A typical wiring for get coordinates: a function trigger starts the flow; open connection feeds the connection pin; the flow out pin feeds debug.

Studio canvas example for the get coordinates block: typical wiring for get coordinates.

Version history

Introduced in v14.0.1.


Back to dobot Return to the main group to view all sub-groups Back to dobot Return to the group to view all blocks within this group