EZMQTT Broker icon EZMQTT Broker — Local MQTT broker for ARC: host pub/sub messaging on TCP port 1883, relay topics between publisher and subscriber clients. Try it →
 

Setminpositionlimit

Servo.setMinPositionLimit(port, position, [ezbIndex])

Parameters

port Servo port to set min position limit of.
position Min position limit.
ezbIndex (optional) Board index of the EZB to use.

Returns

Nothing

Description

Sets the global minimum position that the servo at the specified port can move to the position. The position is a value between 0 and 180 (or the global max servo position if overridden).

While robot skills may have their own Min/Max servo options, this sets the global value. This is used for safety to ensure servos don't move outside the specified range.