OpenSimulationInterface / open-simulation-interface

A generic interface for the environmental perception of automated driving functions in virtual scenarios.
Other
270 stars 126 forks source link

Stereo camera OSI interface #626

Open MahdiYahyaei opened 2 years ago

MahdiYahyaei commented 2 years ago

Describe the problem

I want to implement an OSI interface for stereo cameras;

Describe what you have already tried

After examining the structure of osi3::SensorData, osi3::CameraView, osi3::CameraSensorViewConfiguration, and osi3::CameraDetectionData, I could not find the proper structure for these cameras. While capable of delivering two images simultaneously, these cameras can produce a Depth image. Two osi3:: CameraView can be used when two images are presented simultaneously. However, in the case of the Depth image, the baseline could be part of the sensor specifications that should be provided in the osi3::SensorView configuration. In addition, there is a distance calculated for each pixel in the image sent by these sensors.

Ask your question

So which structure should be used for these sensors(especially for depth images)? And how? If Depth and Raw images are used simultaneously, should a separate osi3:: SensorData be used for each image with a different sensor id?

Thanks