Question
What's your question?
When I try to get images with 'simGetImages',it failed with"Function 'simGetImages' was called with an invalid number of arguments." rpc_error.
Include context on what you are trying to achieve
N/A
Context details
- windows 10
- airsim 1.5.0
- python 3.9.6
My code:
responses = client.simGetImages([
airsim.ImageRequest("0", airsim.ImageType.DepthVis), #depth visualization image
airsim.ImageRequest("1", airsim.ImageType.DepthPerspective, True), #depth in perspective projection
airsim.ImageRequest("1", airsim.ImageType.Scene), #scene vision image in png format
airsim.ImageRequest("1", airsim.ImageType.Scene, False, False)]) #scene vision image in uncompressed RGBA array
Include details of what you already did to find answers