Open kwads123 opened 4 years ago
Take a look at the Python example from the image_apis page https://github.com/microsoft/AirSim/blob/master/docs/image_apis.md#using-airsim-images-with-numpy Should be pretty similar since numpy syntax and matlab are close
@kwads123 could you solve your problem? If so, could you post it in this issue?
This issue has been automatically marked as stale because it has not had activity from the community in the last year. It will be closed if no further activity occurs within 20 days.
Hi all. I'm hoping someone can help me. I am trying to publish images from AirSim with ROS using the drone_image_raw.py script. It appears to run correctly and publishes data verified by rostopic echo ...
The problem is with the image data. I have received data in MATLAB but the data part of the image message says that it is a 110529 x 1 uint8 string. I haven't changed anything in the python script or in the settings file. In fact, I am trying this with the default settings.json file. Does anyone know the image format or how to process this data in MATLAB to get it into an RGB format?