from tdw.replicant.replicant_static import ReplicantStatic
Static data for the Replicant.
Variable | Type | Description | Value |
---|---|---|---|
ARM_JOINTS |
Dict[Arm, List[ReplicantBodyPart]] | A dictionary of arms and their constituent joints. | {Arm.left: [__b for __b in ReplicantBodyPart if __b.name.endswith("_l")], |
-
replicant_id
The ID of the Replicant. -
avatar_id
The ID of the Replicant's avatar (camera). This is used internally for API calls. -
body_parts
Body parts by name. Key =ReplicantBodyPart
. Value = Object ID. -
segmentation_color
The Replicant's segmentation color. -
can_walk
If True, this static data for aReplicant
. If False, this static data for aWheelchairReplicant
. -
hands
The Replicant's hands. Key =Arm
. Value = Hand ID. -
body_parts_by_id
Body parts by ID. Key = Object ID. Value =ReplicantBodyPart
.
ReplicantStatic(replicant_id, resp, can_walk)
Parameter | Type | Default | Description |
---|---|---|---|
replicant_id | int | The ID of the Replicant. | |
resp | List[bytes] | The response from the build. | |
can_walk | bool | If True, this static data for a Replicant . If False, this static data for a WheelchairReplicant . |