pub enum ReadableEEPAddr {
Show 36 variants ModelNo1, ModelNo2, Version1, Version2, BaudRate, ID, AckPolicy, AlarmLEDPolicy, TorquePolicy, MaxTemperature, MinVoltage, MaxVoltage, AccelerationRatio, MaxAccelerationTime, DeadZone, SaturatorOffset, SaturatorSlope, PWMOffset, MinPWM, MaxPWM, OverloadPWMThreshold, MinPosition, MaxPosition, PositionKp, PositionKd, PositionKi, PositionFFFirstGain, PositionFFSecondGain, LedBlinkPeriod, ADCFaultCheckPeriod, PacketGarbageDetectionPeriod, StopDetectionPeriod, OverloadDetectionPeriod, StopThreshold, InpositionMargin, CalibrationDifference,
}
Expand description

This enum represent all the EPP (permanent) memory addresses which can be read. I comes from the page 21 of the datasheet.

Variants

ModelNo1

DRS model number first byte

ModelNo2

DRS model number second byte

Version1

Firmware version first byte

Version2

Firmware version second byte

BaudRate

Communication speed

ID

Servo ID

AckPolicy

TODO : Refer to pg 33

AlarmLEDPolicy

Activates LED according to Policy

TorquePolicy

Releases Torque accroding to Policy

MaxTemperature

Maximum allowed temperature (0xDF = 85°C)

MinVoltage

Minimum allowed voltage (0x5B = 6.714 VDC)

MaxVoltage

Maximum allowed voltage (0x89 = 10 VDC)

AccelerationRatio

Ratio of time to reach goal position to acceleration or deceleration

MaxAccelerationTime

Max acceleration time, 11.2ms interval. Acceleration(0x2D : 504 ms)

DeadZone

Outside controle range

SaturatorOffset

TODO : Refer to datasheet page 36

SaturatorSlope

TODO : Refer to datasheet page 36

PWMOffset

PWM Offset value, refer to datasheet page 37

MinPWM

Set minimum PWM value, refer to the datasheet page 37

MaxPWM

Set maximum PWM value, refer to the datasheet page 37

OverloadPWMThreshold

Set PWM Overload thershold range, refer to the datasheet page 34

MinPosition

Minimum position value (between 0 and 1023)

MaxPosition

Maximum position value (between 0 and 1023)

PositionKp

Proportional gain

PositionKd

Derivative gain

PositionKi

Integral gain

PositionFFFirstGain

Refer to the datasheet page 35

PositionFFSecondGain

Refer to the datasheet page 35

LedBlinkPeriod

Alarm LED blink period according to Policy 11.2ms/Tick (0x2D : 504 ms)

ADCFaultCheckPeriod

Temp/Voltage error check interval. 11.2ms/tick (0x2D : 504 ms)

PacketGarbageDetectionPeriod

Packet error check interval. 11.2ms/tick (0x12 : 201 ms)

StopDetectionPeriod

Stop detection check interval. 11.2ms/tick (0x1B : 302 ms)

OverloadDetectionPeriod

Overload check interbal. 11.2ms/tick (0x96 : 1.68 s)

StopThreshold

Stop Threshold

InpositionMargin

Offset Threshold

CalibrationDifference

Servo compensation

Implementations

Return the number of bytes associated with an address

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Converts to this type from the input type.
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.