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

SimGetImages:msgpackrpc.error.RPCError #109

Open
June-Smith opened this issue Sep 22, 2024 · 0 comments
Open

SimGetImages:msgpackrpc.error.RPCError #109

June-Smith opened this issue Sep 22, 2024 · 0 comments

Comments

@June-Smith
Copy link

Bug report

  • AirSim Version/#commit:I have tried every version of colosseum
  • UE/Unity version:5.1 5.2 5.3 5.4
  • autopilot version:
  • OS Version:windows 10

What's the issue you encountered?

The error code is the following sentence:
responses = client.simGetImages(
ImageRequest('0', ImageType.Scene, False, False)
)

Settings

default setting

How can the issue be reproduced?

I didn't change anything, just follow the tutorial configuration and use the python api to get the image.

Include full error message in text form

Traceback (most recent call last):
File "C:\Users\test\PycharmProjects\airsim_test\test2.py", line 13, in
responses = client.simGetImages(
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\test.conda\envs\airsim\Lib\site-packages\airsim\client.py", line 309, in simGetImages
responses_raw = self.client.call('simGetImages', requests, vehicle_name, external)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\test.conda\envs\airsim\Lib\site-packages\msgpackrpc\session.py", line 41, in call
return self.send_request(method, args).get()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\test.conda\envs\airsim\Lib\site-packages\msgpackrpc\future.py", line 45, in get
raise error.RPCError(self._error)
msgpackrpc.error.RPCError: rpclib: function 'simGetImages' (called with 3 arg(s)) threw an exception. The exception contained this information: bad cast.

What's better than filing an issue? Filing a pull request :).

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

1 participant