Robonix package wrapping the Orbbec Dabai DCW RGBD camera. Owns the primitive/camera/* namespace. Exposes the camera’s RGB + depth + camera_info streams under generic contracts so consumers (grasp / detection / scene / vision skills) resolve topic names through atlas — no hardcoded /camera/color/image_raw paths on the consumer side.
camera_info is package-locally defined (see capabilities/primitive/camera/camera_info.v1.toml) because the robonix global tree does not ship that contract yet; codegen + atlas merge package-level capabilities automatically. service-object-detect-rbnx uses it to synchronize RGB frames and, when depth is enabled, to back-project detections. The current vertical-grasp deploy skips depth and lets service-grasp-pose-rbnx map bbox pixels through a calibrated 2D homography.
Aspirational contracts (extrinsics, snapshot, depth_snapshot) listed in the global capabilities/primitive/camera/ are intentionally not declared here — per the packaging rules, manifest entries must correspond to real declare_ros2_*/@cap.mcp(...) handlers.
Boot ordering
Boot this before any consumer of primitive/camera/*. In the current vertical-grasp pipeline, service-object-detect-rbnx resolves rgb and camera_info during its Driver(CMD_INIT) call. service-grasp-pose-rbnx does not consume camera topics directly; it receives the bbox from detection and uses the deploy’s homography.
Driver-init lifecycle
start.sh brings up the atlas bridge — no ROS spawn. The bridge opens a gRPC server, registers the provider, declares only primitive/camera/driver (auto-emitted by the framework when codegen produces a Driver Servicer), then blocks on Driver(CMD_INIT, config_json).
When rbnx boot invokes Init it passes the manifest’s config: block as JSON. The lifecycle then runs:
CMD_INIT: parse and validate cfg (camera name, resolution / fps, depth_registration, USB pin, sentinel timeout);
To drive the lifecycle manually (without rbnx boot), call the camera’s Driver service with CMD_INIT and a config JSON, then call CMD_ACTIVATE. Init only validates configuration; Activate returns after the first RGB frame is observed and the three topic streams are declared.
src/OrbbecSDK_ROS2/ is a verbatim copy of orbbec/OrbbecSDK_ROS2. The Dabai DCW firmware-blob SDK ships under orbbec_camera/SDK/{include,lib}/. If anything diverges from upstream, drop a *.patch alongside src/ documenting the diff.
License
This package: Apache-2.0. Vendored OrbbecSDK_ROS2: see its LICENSE file.
primitive-orbbec-dabai_dcw-camera-rbnx
Robonix package wrapping the Orbbec Dabai DCW RGBD camera. Owns the
primitive/camera/*namespace. Exposes the camera’s RGB + depth + camera_info streams under generic contracts so consumers (grasp / detection / scene / vision skills) resolve topic names through atlas — no hardcoded/camera/color/image_rawpaths on the consumer side.Catalog name:
robonix.primitive.orbbec.dabai_dcw.camera.Capability surface
robonix/primitive/camera/driverDriver(CMD_INIT, config_json)— lifecycle gaterobonix/primitive/camera/rgb/<camera_name>/color/image_raw(sensor_msgs/Image)robonix/primitive/camera/depth/<camera_name>/depth/image_raw(sensor_msgs/Image; HW-aligned to color whendepth_registration=true)robonix/primitive/camera/camera_info/<camera_name>/color/camera_info(sensor_msgs/CameraInfo)camera_infois package-locally defined (seecapabilities/primitive/camera/camera_info.v1.toml) because the robonix global tree does not ship that contract yet; codegen + atlas merge package-level capabilities automatically.service-object-detect-rbnxuses it to synchronize RGB frames and, when depth is enabled, to back-project detections. The current vertical-grasp deploy skips depth and letsservice-grasp-pose-rbnxmap bbox pixels through a calibrated 2D homography.Aspirational contracts (
extrinsics,snapshot,depth_snapshot) listed in the globalcapabilities/primitive/camera/are intentionally not declared here — per the packaging rules, manifest entries must correspond to realdeclare_ros2_*/@cap.mcp(...)handlers.Boot ordering
Boot this before any consumer of
primitive/camera/*. In the current vertical-grasp pipeline,service-object-detect-rbnxresolvesrgbandcamera_infoduring itsDriver(CMD_INIT)call.service-grasp-pose-rbnxdoes not consume camera topics directly; it receives the bbox from detection and uses the deploy’s homography.Driver-init lifecycle
start.shbrings up the atlas bridge — no ROS spawn. The bridge opens a gRPC server, registers the provider, declares onlyprimitive/camera/driver(auto-emitted by the framework when codegen produces aDriverServicer), then blocks onDriver(CMD_INIT, config_json).When
rbnx bootinvokes Init it passes the manifest’sconfig:block as JSON. The lifecycle then runs:CMD_INIT: parse and validate cfg (camera name, resolution / fps,depth_registration, USB pin, sentinel timeout);CMD_ACTIVATE: spawnros2 launch orbbec_camera dabai_dcw.launch.py …;sensor_msgs/Imageon the configured RGB topic (sentinel);primitive/camera/{rgb, depth, camera_info}on atlas.Atlas only ever advertises endpoints we’ve confirmed are publishing.
CMD_DEACTIVATE/CMD_SHUTDOWNkill the orbbec subprocess. Idempotent.If the camera is not connected or the driver stalls, the sentinel times out and Init returns
state="error".Layout
Config (passed via
Driver(CMD_INIT, config_json))Build / run standalone
To drive the lifecycle manually (without
rbnx boot), call the camera’sDriverservice withCMD_INITand a config JSON, then callCMD_ACTIVATE. Init only validates configuration; Activate returns after the first RGB frame is observed and the three topic streams are declared.Verification
Vendor / upstream
src/OrbbecSDK_ROS2/is a verbatim copy of orbbec/OrbbecSDK_ROS2. The Dabai DCW firmware-blob SDK ships underorbbec_camera/SDK/{include,lib}/. If anything diverges from upstream, drop a*.patchalongsidesrc/documenting the diff.License
This package: Apache-2.0. Vendored OrbbecSDK_ROS2: see its LICENSE file.