Skip to main content

IsaacHumanoid

Inherits from: ZenohAgent Isaac Sim humanoid implementation backed by Zenoh. This class provides an interface to control a humanoid robot in Isaac Sim through Zenoh clients for locomotion and arm control.

Inherited methods

  • From ZenohAgent: create_clients, getForce, getTorque, getImage, getPosition, getOrientation, sendVelocity, sendPose, publishMsg, getMsg, getJointAngles, setJointAngles, getJointVelocities, getJointStates, getObjectPose, setObjectPose, run, prompt, reset
  • From Robot: addSensor, cleanup

init

IsaacHumanoid.__init__(config = default_isaac_config, control: str = 'both')
Initialize an IsaacHumanoid robot instance. This configures locomotion control, arm control, or both based on the selected control mode, and sets up the required Zenoh topics.
Arguments
config (dict)
dict
Configuration dictionary containing Zenoh topics and settings. (default: default_isaac_config)
control (str)
str
Control mode (“locomotion”, “arm”, or “both”). (default: “both”)

moveByVelocity

IsaacHumanoid.moveByVelocity(linear_velocity: Velocity, angular_velocity: Velocity, frame: str = 'body', name: str = 'cmd_vel')
Move the robot by specifying linear and angular velocities. Due to the nature of Isaac Sim, the robot will move in the direction/rotation of the velocity vectors, but exact movement may vary. Use odometry feedback with getPosition and/or getOrientation when you need precise distance or angle control.
Arguments
linear_velocity (Velocity)
Velocity
required
Linear velocity components.
angular_velocity (Velocity)
Velocity
required
Angular velocity components.
frame (str)
str
Reference frame for the velocity command. (default: “body”)
name (str)
str
Name of velocity command. (default: “cmd_vel”)

stop

IsaacHumanoid.stop(name: str = 'cmd_vel')
Stop the robot.
Arguments
name (str)
str
Name of velocity command. (default: “cmd_vel”)

getState

IsaacHumanoid.getState() -> dict
Get the current state of the humanoid.
Returns
dict
dict
Current state including base pose and arm states.