You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to run the segmentation.py example from the PythonClient folder in airsim. When I try to run the script, it runs fine until the line
#get segmentation image in various formats
responses = client.simGetImages([
airsim.ImageRequest("0", airsim.ImageType.Segmentation, True), #depth in perspective projection
airsim.ImageRequest("0", airsim.ImageType.Segmentation, False, False)]) #scene vision image in uncompressed RGBA array
print('Retrieved images: %d', len(responses))
where I get the error
"msgpackrpc.error.RPCError: rpclib: function 'simGetImages' (called with 3 arg(s)) threw an exception. The exception is not derived from std::exception. No further information available."
I had the same error in a custom script I was writing so I decided to test the issue with the provided python script. I test the c++ version of HelloDrone and it runs simGetImages just fine.
I am running python3.6 on Ubuntu 20.04. My python packages are up to date and my Airsim install should be as well. I very recently upgraded from Ubuntu 18.04 to Ubuntu 20.04, but I never ran the python versions on 18.04, so I can't say if they worked before the upgrade.
Any help would be appreciated!
The text was updated successfully, but these errors were encountered:
Hello,
I am trying to run the segmentation.py example from the PythonClient folder in airsim. When I try to run the script, it runs fine until the line
#get segmentation image in various formats
responses = client.simGetImages([
airsim.ImageRequest("0", airsim.ImageType.Segmentation, True), #depth in perspective projection
airsim.ImageRequest("0", airsim.ImageType.Segmentation, False, False)]) #scene vision image in uncompressed RGBA array
print('Retrieved images: %d', len(responses))
where I get the error
"msgpackrpc.error.RPCError: rpclib: function 'simGetImages' (called with 3 arg(s)) threw an exception. The exception is not derived from std::exception. No further information available."
I had the same error in a custom script I was writing so I decided to test the issue with the provided python script. I test the c++ version of HelloDrone and it runs simGetImages just fine.
I am running python3.6 on Ubuntu 20.04. My python packages are up to date and my Airsim install should be as well. I very recently upgraded from Ubuntu 18.04 to Ubuntu 20.04, but I never ran the python versions on 18.04, so I can't say if they worked before the upgrade.
Any help would be appreciated!
The text was updated successfully, but these errors were encountered: