ActuatorConfig \(Python\)

June 4, 2021 ยท View on GitHub

This page describes the Python ActuatorConfig API.

RPC reference

This section describes the existing RPCs used in this API.

Service to configure actuators

ActuatorConfigClient RPCs

Function nameReturn typeInput typeDescription
GetAxisOffsetsAxisOffsetsEmptyRetrieves axis offsets for absolute and relative encoder
SetAxisOffsetsEmptyAxisPositionSets offsets for absolute and relative encoder Invoking this method shall invalidate arm calibration if one exists. This method is for kinova usage only.
ReadTorqueCalibrationTorqueCalibrationEmptyReads torque calibration parameters (internal use only)
WriteTorqueCalibrationEmptyTorqueCalibrationWrites torque calibration parameters (internal use only)
SetTorqueOffsetEmptyTorqueOffsetSets zero torque calibration
GetControlModeControlModeInformationEmptyRetrieves actuator control mode
SetControlModeEmptyControlModeInformationSets actuator control mode
GetActivatedControlLoopControlLoopEmptyRetrieves activated control loop(s)
SetActivatedControlLoopEmptyControlLoopSets activated control loop(s)
GetVectorDriveParametersVectorDriveParametersEmptyRetrieves motor drive FOC parameters (internal use only)
SetVectorDriveParametersEmptyVectorDriveParametersSets motor drive FOC parameters (internal use only)
GetEncoderDerivativeParametersEncoderDerivativeParametersEmptyRetrieves encoder derivative parameters (internal use only)
SetEncoderDerivativeParametersEmptyEncoderDerivativeParametersSets encoder derivative parameters (internal use only)
GetControlLoopParametersControlLoopParametersLoopSelectionRetrieves control loop parameters
SetControlLoopParametersEmptyControlLoopParametersSets control loop parameters
StartFrequencyResponseEmptyFrequencyResponseStarts frequency response test (internal use only)
StopFrequencyResponseEmptyEmptyStops frequency response test (internal use only)
StartStepResponseEmptyStepResponseStarts step response test (internal use only)
StopStepResponseEmptyEmptyStops step response test (internal use only)
StartRampResponseEmptyRampResponseStarts ramp response test (internal use only)
StopRampResponseEmptyEmptyStops ramp response test (internal use only)
SelectCustomDataEmptyCustomDataSelectionSelects custom data
GetSelectedCustomDataCustomDataSelectionEmptyRetrieves selected custom data
SetCommandModeEmptyCommandModeInformationSets command mode (config versus cyclic)
ClearFaultsEmptyEmptyClears all error(s) and warning(s) (bank A and B)
SetServoingEmptyServoingEnables or disables servoing
MoveToPositionEmptyPositionCommandMoves the actuator to the desired position
GetCommandModeCommandModeInformationEmptyRetrieves command mode (config versus cyclic)
GetServoingServoingEmptyRetrieves servoing state
GetTorqueOffsetTorqueOffsetEmptyRetrieves torque offset calibration
SetCoggingFeedforwardModeEmptyCoggingFeedforwardModeInformationSets cogging feedforward mode
GetCoggingFeedforwardModeCoggingFeedforwardModeInformationEmptyRetrieves cogging feedforward mode

Class reference

This section describes the data classes used in this API.

Messages

ClassDescription
AxisOffsetsAxis offsets
AxisPositionAxis position
CoggingFeedforwardModeInformationCogging feedforward mode
CommandModeInformationCommand mode
ControlLoopControl loop
ControlLoopParametersControl loop parameters (discrete transfer function)
ControlModeInformationControl mode information
CustomDataSelectionSelected custom data channels content
EncoderDerivativeParametersVariable window derivative parameters
FrequencyResponseFrequency response
LoopSelectionDefines the loop selection
PositionCommandAngular position command for an actuator
RampResponseRamp response
ServoingEnables/disables servoing
StepResponseStep response
TorqueCalibrationTorque calibration settings
TorqueOffsetDefines torque offset
VectorDriveParametersField-oriented control PI controller gain values

Enumerators

EnumeratorDescription
CoggingFeedforwardModeAdmissable cogging feedforward modes
CommandModeAdmissible command modes
ControlLoopSelectionAdmissible control loop selections
ControlModeAdmissible control modes
CustomDataIndexCustom data options
SafetyIdentifierBankAAdmissible bank A actuator safeties
SafetyLimitTypeAdmissible limit types
ServiceVersionIdentifies ActuatorConfig service current version