IsaacArm

Inherits from: RosAgent

IsaacArm

IsaacArm(config, clients: Union[dict, None])

Initialize an IsaacArm robot instance.

Arguments
config (dict), optional

Configuration dictionary containing ROS topics and settings. Defaults to default_isaac_config.

clients (dict), optional

Dictionary of ROS clients. If provided, uses these clients instead of creating new ones. Defaults to None.

moveByVelocity

IsaacArm.moveByVelocity(linear_velocity: Velocity, angular_velocity: Velocity, duration: Union[float, None], name: str)

Move robot by specifying linear and angular velocities.

Arguments
linear_velocity (Velocity)
required

Velocity

Linear velocity components

angular_velocity (Velocity)
required

Velocity

Angular velocity components

duration (float|None), optional

defaults to None. Duration of movement in seconds. Defaults to None.

name (str), optional

defaults to “cmd_vel”. Topic name for velocity commands. Defaults to “cmd_vel”.

moveToPose

IsaacArm.moveToPose(position: Position, orientation: Orientation, relative: bool, blocking: bool, moving_time: float, accel_time: float, relative_offset: list, name: Union[str, None])

moveToDeltaPose

IsaacArm.moveToDeltaPose(position: Position, orientation: Orientation, name: Union[str, None])

Move the robot to a specified pose.

Arguments
position (Position)
required

Position

Desired position of the robot

orientation (Orientation)
required

Orientation

Desired orientation of the robot

name (str), optional

defaults to “cmd_delta_pose”. Name of pose command. Defaults to “cmd_delta_pose”.

getPosition

IsaacArm.getPosition(name: Union[str, None])

Get the current position of the robot.

Arguments
name (str), optional

defaults to “robot_pose”. Name of the pose client. Defaults to “robot_pose”.

Returns

Position

Current position of the robot

getOrientation

IsaacArm.getOrientation(name: Union[str, None])

Get the current orientation of the robot.

Arguments
name (str), optional

defaults to “robot_pose”. Name of the pose client. Defaults to “robot_pose”.

Returns

Orientation

Current orientation of the robot

grasp

IsaacArm.grasp(name: Union[str, None])

Grasp with the end effector.

Arguments
name (str), optional

defaults to “gripper_cmd”. Name of the gripper client. Defaults to “gripper_cmd”.

release

IsaacArm.release(name: Union[str, None])

Release with the end effector.

Arguments
name (str), optional

defaults to “gripper_cmd”. Name of the gripper client. Defaults to “gripper_cmd”.

getImage (inherited)

IsaacArm.getImage(name: str, image_type: str)

Get image from named image client.

Arguments
name (str), optional

Name of image client

image_type (str), optional

Unused

Returns

Image

Image object

getPosition (inherited)

IsaacLocomotion.getPosition(name: str)

Get position from named pose client.

Arguments
name (str), optional

Name of pose client

Returns

Position | list: Position object or raw position data

getOrientation (inherited)

IsaacLocomotion.getOrientation(name: str)

Get orientation from named pose client.

Arguments
name (str), optional

Name of pose client

Returns

Orientation

Orientation of agent as a quaternion

run (inherited)

IsaacArm.run()

Run all ROS clients

Was this page helpful?