CodexLabsLLC / Colosseum

Open source simulator for autonomous robotics built on Unreal Engine with support for Unity
https://codexlabsllc.github.io/Colosseum/
Other
392 stars 122 forks source link

SimGetImages:msgpackrpc.error.RPCError #109

Open YijingGuo-June opened 2 months ago

YijingGuo-June commented 2 months ago

Bug report

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 :).