1 targets.descriptor

targets.descriptor

Actor-safe target instruction DTOs.

1.1 Classes

Name Description
TargetDescriptor Sanitized target instruction for target-conditioned candidate generation.

1.1.1 TargetDescriptor

targets.descriptor.TargetDescriptor(
    sem_id,
    class_name,
    pose_world_object,
    extents_m,
    relative_pose_reference_object,
)

Sanitized target instruction for target-conditioned candidate generation.

The descriptor is a semantic task instruction. It may be GT-derived when an oracle specifies the task, but it does not carry GT source rows, matching diagnostics, crop state, labels, gains, invalidity, headroom, or persisted Zarr details.

1.1.1.1 Attributes

Name Description
sem_id Semantic class identifier for the target.
class_name Human-readable semantic class name.
pose_world_object Flattened 12-value object-to-world pose.
extents_m Full object side lengths in metres.
relative_pose_reference_object Flattened 12-value object pose in the snippet reference frame.
center_world Target center in world coordinates, metres.
target_id Return a stable actor-safe diagnostic id derived from descriptor fields.

1.1.1.2 Methods

Name Description
center_world_tensor Return center_world as a 3-vector tensor.
1.1.1.2.1 center_world_tensor
targets.descriptor.TargetDescriptor.center_world_tensor(dtype=torch.float32)

Return center_world as a 3-vector tensor.

Back to top