luxonis / depthai-ros

Official ROS Driver for DepthAI Sensors.
MIT License
249 stars 179 forks source link

[BUG] Unable to set manual exposure #556

Open leets0429 opened 1 month ago

leets0429 commented 1 month ago

I have an OAK-D-POE and my laptop is running ros noetic in ubuntu 20.04

I tried running the following but the camera still uses auto exposure as I can see the brightness of image still changing. And also if I set the expTime to 1000 and expTime to 100, there is no changes in the brightness

roslaunch depthai_examples stereo_inertial_node.launch extended:=true enableSpatialDetection:=false enableRviz:=true manualExposure:=true expTime:=100
Serafadam commented 1 month ago

Hi, which camera do you want to set manual exposure for? In stereo_inertial_node setting exposure is available only for stereo cameras. If you want a more generic approach I would suggest using driver from depthai_ros_driver as it has more customization options via parameters, stereo_inertial_node serves more as an example