Skip to main content

Project: /_project.yaml Book: /_book.yaml description: Helper functions to interact with ICON equipment in Python.

Module: intrinsic.icon.equipment.equipment_utils

Helper functions to interact with ICON equipment in Python.

Instead of directly building ICON resource selectors and connections, use these helper functions to avoid depending directly on the underlying proto messages.

Functions

get_adio_part_name(...): Gets the name of the Icon2AdioPart from the resource data.

get_force_torque_sensor_part_name(...): Gets the name of the Icon2ForceTorqueSensorPart from the resource data.

get_gripper_part_name(...): Gets the name of the Icon2GripperPart from the resource data.

get_position_part_name(...): Gets the name of the Icon2PositionPart from the resource data.

get_rangefinder_part_name(...): Gets the name of the Icon2RangefinderPart from the resource data.

init_icon_client(...): Creates a client for talking to the icon server.

make_icon_resource_selector(...): Creates a resource selector for an ICON resource handle with specific parts.

ICON2_ADIO_PART_KEY

'Icon2AdioPart'

ICON2_FORCE_TORQUE_SENSOR_PART_KEY

'Icon2ForceTorqueSensorPart'

ICON2_GRIPPER_PART_KEY

'Icon2GripperPart'

ICON2_POSITION_PART_KEY

'Icon2PositionPart'

ICON2_RANGEFINDER_PART_KEY

'Icon2RangefinderPart'