raisimTech / raisimLib

Visit www.raisim.com
http://www.raisim.com
Other
338 stars 91 forks source link

get zero data from RGBCamera #526

Closed wzjscut closed 8 months ago

wzjscut commented 9 months ago
          how about the raisim example `sensors`? Do you also see black images only?

Originally posted by @jhwangbo in https://github.com/raisimTech/raisimLib/issues/448#issuecomment-1506835853

I follow the answer above. I use the example file in https://github.com/raisimTech/raisimLib/blob/master/examples/src/server/sensors.cpp and I use the API std::vector img = rgbCamera1->getImageBuffer(); to get data

but all the data i get is zero. why?

jhwangbo commented 9 months ago

Did you run raisimUnreal?

wzjscut commented 9 months ago

Did you run raisimUnreal?

I just run the raisimUnity. Does this API only run in raisimUnreal?

wzjscut commented 8 months ago

It do successfully get the image data in raisimUnreal