Retrieve the starting (zero) position and resolution (range) of a servo.

Namespace:  Bespoke.Robotics.BrainStem
Assembly:  Bespoke.Robotics.BrainStem (in Bespoke.Robotics.BrainStem.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public static void GetServoMotion(
	byte iicAddress,
	ServoIdType servoId,
	out byte positionZero,
	out byte positionResolution
)
Visual Basic (Declaration)
Public Shared Sub GetServoMotion ( _
	iicAddress As Byte, _
	servoId As ServoIdType, _
	<OutAttribute> ByRef positionZero As Byte, _
	<OutAttribute> ByRef positionResolution As Byte _
)
Visual C++
public:
static void GetServoMotion(
	unsigned char iicAddress, 
	ServoIdType servoId, 
	[OutAttribute] unsigned char% positionZero, 
	[OutAttribute] unsigned char% positionResolution
)

Parameters

iicAddress
Type: System..::.Byte
The address of the IIC module referenced by the packet.
servoId
Type: Bespoke.Robotics.BrainStem..::.ServoIdType
The ID of the servo to configure.
positionZero
Type: System..::.Byte %
Position zero for the servo (Range: 0-70).
positionResolution
Type: System..::.Byte %
Positioning resolution (range of travel) for the servo (Range: 1-70)

Exceptions

ExceptionCondition
Bespoke.Robotics.BrainStem.Exceptions..::.CommandExceptionThrown if there's an error processing the command.

See Also