DeviceConfig \(Python\)

June 4, 2021 ยท View on GitHub

This page describes the Python DeviceConfig API.

RPC reference

This section describes the existing RPCs used in this API.

Service to get and set device configuration information

DeviceConfigClient RPCs

Function nameReturn typeInput typeDescription
GetRunModeRunModeEmptyReturns the run mode for the device
SetRunModeEmptyRunModeSets the run mode for the device
GetDeviceTypeDeviceTypeEmptyRetrieves the type for the device
GetFirmwareVersionFirmwareVersionEmptyRetrieves the device firmware version
GetBootloaderVersionBootloaderVersionEmptyRetrieves the device bootloader version
GetModelNumberModelNumberEmptyRetrieves the device model number
GetPartNumberPartNumberEmptyRetrieves the device part number
GetSerialNumberSerialNumberEmptyRetrieves the device serial number
GetMACAddressMACAddressEmptyRetrieves the device MAC address
GetIPv4SettingsIPv4SettingsEmptyRetrieves the device IPv4 settings (not implemented on Base)
SetIPv4SettingsEmptyIPv4SettingsSets the device IPv4 settings (not implemented on Base)
GetPartNumberRevisionPartNumberRevisionEmptyRetrieves the device part number revision
RebootRequestEmptyRebootRqstSends a request to the device to reboot
SetSafetyEnableEmptySafetyEnableEnables (disable) the specified safety
SetSafetyErrorThresholdEmptySafetyThresholdSets the error threshold for the specified safety
SetSafetyWarningThresholdEmptySafetyThresholdSets the warning threshold for the specified safety
SetSafetyConfigurationEmptySafetyConfigurationConfigures the specified safety (i.e. sets error and warning thresholds)
GetSafetyConfigurationSafetyConfigurationSafetyHandleRetrieves configuration about the specified safety
GetSafetyInformationSafetyInformationSafetyHandleRetrieves information about the specified safety
GetSafetyEnableSafetyEnableSafetyHandleIndicates if specified safety is enabled (or disabled)
GetSafetyStatusSafetyStatusSafetyHandleIndicates if the specified safety is raised
ClearAllSafetyStatusEmptyEmptyClear all safety status for this device if they are no longer raised
ClearSafetyStatusEmptySafetyHandleClear a specific safety status if it is no longer raised
GetAllSafetyConfigurationSafetyConfigurationListEmptyRetrieves configuration on all safeties
GetAllSafetyInformationSafetyInformationListEmptyRetrieves information on all safeties
ResetSafetyDefaultsEmptyEmptyRestores all safety configurations to factory defaults
OnNotificationSafetyTopicNotificationHandleNotificationOptionsSubscribes to safety notifications
ExecuteCalibrationEmptyCalibrationStarts device calibration (intended for Kinova Production of Pico)
GetCalibrationResultCalibrationResultCalibrationElementRetrieves the status/result of device calibration (intended for Kinova Production of Pico)
StopCalibrationCalibrationResultCalibrationStop calibration in progress
SetCapSenseConfigEmptyCapSenseConfigSets the capacitive sensor calibration
GetCapSenseConfigCapSenseConfigEmptyRetrieves the capacitive sensor calibration
ReadCapSenseRegisterCapSenseRegisterCapSenseRegisterReads low-level register from the capacitive sensor (for Kinova internal use ony, not to be used in the field)
WriteCapSenseRegisterEmptyCapSenseRegisterWrites to low-level register of the capacitive sensor (for Kinova internal use ony, not to be used in the field)

Class reference

This section describes the data classes used in this API.

Messages

ClassDescription
BootloaderVersionBootloader version for the device
CalibrationCalibration information to push to device
CalibrationElementCalibration element
CalibrationParameterSingle calibration parameter information
CalibrationResultResult of a calibration
CapSenseConfigCapacitive sensor configuration message
CapSenseRegisterMessage used to address a register
DeviceTypeDevice type
FirmwareVersionFirmware version for the device
IPv4SettingsIPv4 settings for the device, including address, subnet mask, and default gateway
MACAddressMAC address for the device
ModelNumberModel number for the device
PartNumberPart number for the device
PartNumberRevisionPart number revision for the device
PowerOnSelfTestResultResult of power on self test
RebootRqstReboot request with bootloader delay
RunModeRun mode
SafetyConfigurationConfiguration for a safety
SafetyConfigurationListArray of safety configurations
SafetyEnableEnable or disable a specific safety
SafetyInformationInformation about a specific safety
SafetyInformationListArray of safety information
SafetyStatusSafety status
SafetyThresholdConfigure threshold of a specific safety
SerialNumberSerial number for the device

Enumerators

EnumeratorDescription
CalibrationItemAdmissible calibration items
CalibrationStatusAdmissible calibration status
CapSenseModeAdmissible capacitive sensor mode
RunModesOptions for the run mode for the device
SafetyLimitTypeTypes of safeties limits
ServiceVersionIdentifies DeviceConfig current version