habitat.articulated_agents.robots.spot_robot.SpotParams class

Data to configure a mobile manipulator.

Special methods

def __init__(self, arm_joints: typing.List[int], gripper_joints: typing.List[int], arm_init_params: typing.Optional[typing.List[float]], gripper_init_params: typing.Optional[typing.List[float]], ee_offset: typing.List[_magnum.Vector3], ee_links: typing.List[int], ee_constraint: numpy.ndarray, cameras: typing.Dict[str, ArticulatedAgentCameraParams], gripper_closed_state: typing.List[float], gripper_open_state: typing.List[float], gripper_state_eps: float, arm_mtr_pos_gain: float, arm_mtr_vel_gain: float, arm_mtr_max_impulse: float, base_offset: _magnum.Vector3, base_link_names: typing.Set[str], leg_joints: typing.Optional[typing.List[int]] = None, leg_init_params: typing.Optional[typing.List[float]] = None, leg_mtr_pos_gain: typing.Optional[float] = None, leg_mtr_vel_gain: typing.Optional[float] = None, leg_mtr_max_impulse: typing.Optional[float] = None, ee_count: typing.Optional[int] = 1) -> None
Method generated by attrs for class SpotParams.

Properties

arm_init_params: typing.Optional[typing.List[float]] get set del
The starting joint angles of the arm. If None, resets to 0.
arm_joints: typing.List[int] get set del
The joint ids of the arm joints.
arm_mtr_max_impulse: float get set del
The maximum impulse of the arm motor.
arm_mtr_pos_gain: float get set del
The position gain of the arm motor.
arm_mtr_vel_gain: float get set del
The velocity gain of the arm motor.
The name of the links
base_offset: _magnum.Vector3 get set del
The offset of the root transform from the center ground point for navmesh kinematic control.
cameras: typing.Dict[str, ArticulatedAgentCameraParams] get set del
The cameras and where they should go. The key is the prefix to match in the sensor names. For example, a key of “head” will match sensors “head_rgb” and “head_depth”
ee_constraint: numpy.ndarray get set del
A (2, 3) shaped array specifying the upper and lower limits for the 3D end-effector position.
ee_count: typing.Optional[int] get set del
how many end effectors
ee_offset: typing.List[_magnum.Vector3] get set del
The 3D offset from the end-effector link to the true end-effector position.
gripper_closed_state: typing.List[float] get set del
All gripper joints must achieve this state for the gripper to be considered closed.
gripper_init_params: typing.Optional[typing.List[float]] get set del
The starting joint positions of the gripper. If None, resets to 0.
gripper_joints: typing.List[int] get set del
The habitat sim joint ids of any grippers.
gripper_open_state: typing.List[float] get set del
All gripper joints must achieve this state for the gripper to be considered open.
gripper_state_eps: float get set del
Error margin for detecting whether gripper is closed.
leg_init_params: typing.Optional[typing.List[float]] get set del
The starting joint positions of the leg joints. If None, resets to 0.
leg_joints: typing.Optional[typing.List[int]] get set del
The joint ids of the legs if applicable. If the legs are not controlled, then this should be None
leg_mtr_max_impulse: typing.Optional[float] get set del
The maximum impulse of the leg motor (if there are legs).
leg_mtr_pos_gain: typing.Optional[float] get set del
The position gain of the leg motor (if there are legs).
leg_mtr_vel_gain: typing.Optional[float] get set del
The velocity gain of the leg motor (if there are legs).