-
Notifications
You must be signed in to change notification settings - Fork 393
DimSim: toggleable sensor channels (depth, color, lidar) #1738
Copy link
Copy link
Open
Labels
Description
Problem
DimSim always publishes all sensor channels (color_image, depth_image, lidar, odom). Real hardware (RealSense, ZED) has enable_depth toggles but DimSim has no equivalent.
Paul reports most bandwidth is consumed by /depth_image at 2 Hz. Some robots don't have depth cameras.
Proposed Solution
-
Add sensor enable/disable flags to DimSim config:
DimSimConfig(enable_color=True, enable_depth=True, enable_lidar=True)
-
Pass to bridge → browser to skip capture+publish for disabled channels
-
Support runtime toggle via SceneClient
-
Match
enable_depthpattern from RealSense/ZED modules
Files to Change
dimos/robot/sim/bridge.py— pass config flags to CLIDimSim/dimos-cli/bridge/server.ts— relay enable flagsDimSim/src/dimos/dimosBridge.ts— skip disabled sensors in_publishSensors()
Context: dimos team feedback on PR #1390.
Synced from DIM-777 by summer
Reactions are currently unavailable