garmi_parti.parti package¶
Teleoperation interfaces for the Parti robot.
- class garmi_parti.parti.CartesianLeader(left_hostname, right_hostname, window_size=1000, interval=2000, logger=None)¶
Bases:
CartesianLeader,TwoArmPandaInterface,TickableUse PARTI or a similar system as a cartesian teleoperation leader device.
- Parameters:
- pause(end_effector='')¶
Executed when a pause was requested.
- set_command(command)¶
Called when a new command has been received over the network.
- class garmi_parti.parti.JointLeader(left_hostname, right_hostname, window_size=1000, interval=2000, logger=None)¶
Bases:
JointLeader,TwoArmPandaInterface,TickableUse PARTI or a similar system as a joint-space teleoperation leader device.
- Parameters:
- get_sync_command()¶
Called by teleoperation clients to be sent to the server for synchronization. This call happens after a connection is established but before teleoperation starts, i.e. between the pre_teleop and start_teleop hooks.
- Return type:
- pause(end_effector='')¶
Executed when a pause was requested.
- set_command(command)¶
Called when a new command has been received over the network.
- class garmi_parti.parti.Tickable(window_size=1000, interval=2000, logger=None)¶
Bases:
objectTickable class that can be mixed in to track runtime.
Submodules¶
garmi_parti.parti.haptic_simulation module¶
garmi_parti.parti.mmt module¶
Model-mediated teleoperation interfaces for the Parti robot.
- class garmi_parti.parti.mmt.Leader¶
Bases:
InterfaceUse PARTI or a similar system as a model-mediated teleoperation leader device. This module requires the parti-haptic-sim module to be running.
- close(end_effector='')¶
This method is called by server (followers) and requested via network from clients (leaders). Use this method to close end effectors specified by end_effector. Refer to garmi_parti.teleoperation.client.close for the network call. :type end_effector:
str:param end_effector: End effector name- Return type:
- get_sync_command()¶
Called by teleoperation clients to be sent to the server for synchronization. This call happens after a connection is established but before teleoperation starts, i.e. between the pre_teleop and start_teleop hooks.
- Return type:
- open(end_effector='')¶
This method is called by server (followers) and requested via network from clients (leaders). Use this method to open end effectors specified by end_effector. Refer to garmi_parti.teleoperation.client.open for the network call. :type end_effector:
str:param end_effector: End effector name- Return type:
- pause(end_effector='')¶
Executed when a pause was requested.
- pre_teleop()¶
Executed after connection has been established but before teleoperation.
- Return type:
- set_command(command)¶
Called when a new command has been received over the network.
- set_sync_command(command, end_effector='')¶
Called by the network server. The command argument of this method is generated by get_sync_command on the client side. Use this mechanism to synchronize teleoperators before teleoperation begins.