pub struct ObjectRef {
pub object_id: Option<String>,
pub item_id: Option<String>,
pub object_type: Option<String>,
pub object_class: Option<String>,
pub tracking_id: Option<String>,
pub dimensions_m: Option<Dimensions>,
pub mass_kg: Option<f64>,
pub pose: Option<Pose>,
pub frame_id: Option<String>,
}Expand description
Reference to an object in the world or payload.
Used for consistent object identification across domains (perception, manipulation, payload, etc.). Supports multiple ID schemes for different use cases.
Fields§
§object_id: Option<String>Session-stable object identifier (assigned by perception system)
item_id: Option<String>External business system ID (WMS, ERP, etc.)
object_type: Option<String>Object type classification (package, pallet, tool, person, etc.)
object_class: Option<String>Specific object class (e.g., “cardboard_box”, “metal_pallet”)
tracking_id: Option<String>Perception system tracking ID
dimensions_m: Option<Dimensions>Object dimensions
mass_kg: Option<f64>Object mass in kilograms
pose: Option<Pose>Object pose (position and orientation)
frame_id: Option<String>Reference frame for the pose
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ObjectRef
impl<'de> Deserialize<'de> for ObjectRef
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ObjectRef
impl RefUnwindSafe for ObjectRef
impl Send for ObjectRef
impl Sync for ObjectRef
impl Unpin for ObjectRef
impl UnwindSafe for ObjectRef
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more