Forum Migration Notice
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.

We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.

Variable of current position [WebWare SDK]

Hi

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

What consult method "GetCurrentPosition"?

Thanks 

Comments

  • 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