flightmare
flightmare copied to clipboard
Get RBG Image Observation
Hi authors,
I have some issues with getting RGB images. I found bool QuadrotorEnv::getImages(Ref<DepthImage<>> img) in quadrotor_env.cpp has rgb_camera->getDepthMap(img_depth_), But it has only depth image .
So i changed to rgb_camera->getRGBImage(img_depth_) but not work .
How to change the observation to get the RGB images ? What is the lines i have to change ?
And when i get the array of image , what should i do to convert it to show on opencv of python ? Like array of depth image you have converted before : images = images[0,:,:]/15*255) ?
Hope to see your answer soon !