Knowledge Base

Get Position Block

The Get Position block returns the current position or direction of a servomotor.

You can for example check the starting position of a servo by printing it to the console using the Get Position block as follows:

 

Configuration

Parameter Description Range
get   Select the servomotor whose position or direction you want to determine.  N/A

getPosition

getDirection

Returns the selected servomotor's current position.

Returns the selected servomotor's direction.

0 to 100

Forward/Backward

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Please sign in to leave a comment.

Powered by Zendesk