Skip to content

Function 'simGetImages' was called with an invalid number of arguments. #3950

@pvhu2002

Description

@pvhu2002

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions