Skip to content

Commit 9f76a6e

Browse files
committed
new attributes
1 parent c0686bb commit 9f76a6e

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

core/include/dsr/core/types/type_checking/dsr_attr_name.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,11 @@ REGISTER_TYPE(obj_visible, int, false)
228228
REGISTER_TYPE(projected_bounding_box, std::reference_wrapper<const std::vector<float>>, true)
229229
REGISTER_TYPE(unseen_time, int, false)
230230
REGISTER_TYPE(obj_checked, bool, false)
231+
// Per-frame ROBOT-frame observation of a modelled object (object-anchor z_o): [x,y] or [x,y,yaw],
232+
// plus optional diagonal measurement covariance. Written by concept agents (table/chair/…), read by
233+
// the room localizer to use the object as an SE(2) pose landmark. See common/object_anchor.
234+
REGISTER_TYPE(obj_obs_robot, std::reference_wrapper<const std::vector<float>>, true)
235+
REGISTER_TYPE(obj_obs_robot_cov, std::reference_wrapper<const std::vector<float>>, true)
231236
REGISTER_TYPE(average_size, std::reference_wrapper<const std::string>, false)
232237
REGISTER_TYPE(is_an_obstacle, bool, false)
233238
REGISTER_TYPE(room_id, uint64_t, false)
@@ -594,4 +599,13 @@ REGISTER_TYPE(mask_centroids_xyz, std::reference_wrapper<const std::vector<f
594599
REGISTER_TYPE(mask_bbox_min_xyz, std::reference_wrapper<const std::vector<float>>, false)
595600
REGISTER_TYPE(mask_bbox_max_xyz, std::reference_wrapper<const std::vector<float>>, false)
596601

602+
// ── dense semantic segmentation label map (ADE20K-150). Written LOW-FREQUENCY by voxelizer on a
603+
// 'semantic' node under 'zed'. semantic_labels is CV_8UC1 class ids, row-major, at the ZED IMAGE
604+
// resolution (already unletterboxed) → a consumer reads label = semantic_labels[v*width + u] directly.
605+
REGISTER_TYPE(semantic_labels, std::reference_wrapper<const std::vector<uint8_t>>, false)
606+
REGISTER_TYPE(semantic_width, int, false)
607+
REGISTER_TYPE(semantic_height, int, false)
608+
REGISTER_TYPE(semantic_timestamp_ms, uint64_t, false)
609+
REGISTER_TYPE(semantic_frame_id, int, false)
610+
597611
#endif //DSR_ATTR_NAME_H

0 commit comments

Comments
 (0)