Go2
Inherits from:Quadruped
Go2 quadruped robot.
Inherited methods
init
Arguments
addSensor
go2_camera.
Arguments
getImage
go2_camera is available.
If external cameras are added, they can be accessed by their name.
Arguments
standUp
lieDown
getState
Returns
Current state of the unitree go2 agent containing: - position (Position): unitree go2 agent’s current position (x,y,z) with respect to the world coordinate - orientation (Orientation): current orientation of the unitree go
getPosition
Returns
unitree go2 agent’s current position (x,y,z) with respect to the world coordinate
getOrientation
moveByVelocity
Arguments
contains x velocity (x_vel), y velocity (y_vel), z_vel is discarded
contains yaw to turn by (z_vel), x_vel and y_vel are discarded
frame of the velocity vector. Defaults to “body”. “world” is not supported.
setJointAngles
setJointVelocities
setJointTorques
getMotorState
Returns
https
//github.com/unitreerobotics/unitree_sdk2_python/blob/3af1610228977f449e22c8fba868bb8516d41ec3/unitree_sdk2py/idl/unitree_go/msg/dds_/MotorState.py
getIMU
getBatteryState
getFootForce
getLowLevelState
Returns
https
//github.com/unitreerobotics/unitree_sdk2_python/blob/3af1610228977f449e22c8fba868bb8516d41ec3/unitree_sdk2py/idl/unitree_go/msg/dds_/LowState.py#L34