turtlebot / turtlebot4

Turtlebot4 common packages.
Apache License 2.0
99 stars 45 forks source link

Unable to get the depth data #297

Closed vatsuak closed 9 months ago

vatsuak commented 10 months ago

Please provide the following information:

Also no one seems to to publishing to this topic image

I can see the data from /oakd/rgb/preview/image_raw topic, so the camera seems to be working.

flymaxty commented 10 months ago

I got same issue on Humble, I can see color image from /oakd/rgb/preview/image_raw, but nothing from /stereo/depth. Is there anything missing from my step? Or I misunderstand something?

flymaxty commented 10 months ago

Hi @roni-kreinin @hilary-luo , Is there any solution for this issue? I do also see the same issue on #263 I'm using turtlebot4_standard_humble_1.0.0.zip

vatsuak commented 10 months ago

Hello, is anyone following up on this? Would appreciate a response.

hilary-luo commented 10 months ago

@flymaxty @vatsuak /stereo/depth is not the correct topic for stereo data any more (an upstream package was changed). That being said, the stereo node is not launched by default because of the significant load that it puts on the system and not everyone uses it. You are seeing that topic show up mistakenly because the diagnostics node was not updated at one point. Since then the diagnostics package has been updated and as of the next release you won't see this anymore.

For instructions on enabling the stereo node see: https://github.com/turtlebot/turtlebot4/issues/277#issuecomment-1815024838

In regards to https://github.com/turtlebot/turtlebot4/issues/263, as I said on that ticket, I am not aware of anyone having issues with the camera not working, just people misunderstanding how the packages work. If you have the chance then feel free to put in a PR for the documentation to better document how to enable stereo or for the robot packages to make it easier to turn stereo on.

flymaxty commented 9 months ago

Hi @hilary-luo ,thanks for you help! depth image work fine now.