RobotStudio event

Variable of current position [WebWare SDK]

Options

Hi

What is the name of variable that contains current position of robot?

What consult method "GetCurrentPosition"?

Thanks 

Comments

  • RussD
    Options

    There is no single user-accessible variable that holds the current position.

    You create an object of type S4RobPosData and pass it into the method S4CurrentPositionGet. If it returns successfully you use the data in the object as your most recent snapshot for position.

    Russell Drown