Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get zero data from RGBCamera #526

Closed
wzjscut opened this issue Nov 29, 2023 · 3 comments
Closed

get zero data from RGBCamera #526

wzjscut opened this issue Nov 29, 2023 · 3 comments

Comments

@wzjscut
Copy link

wzjscut commented Nov 29, 2023

          how about the raisim example `sensors`? Do you also see black images only?

Originally posted by @jhwangbo in #448 (comment)

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
Copy link
Contributor

Did you run raisimUnreal?

@wzjscut
Copy link
Author

wzjscut commented Nov 30, 2023

Did you run raisimUnreal?

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

@wzjscut
Copy link
Author

wzjscut commented Dec 4, 2023

It do successfully get the image data in raisimUnreal

@wzjscut wzjscut closed this as completed Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants