microsoft / AirSim-NeurIPS2019-Drone-Racing

Drone Racing @ NeurIPS 2019, built on Microsoft AirSim
https://microsoft.github.io/AirSim-NeurIPS2019-Drone-Racing/
MIT License
361 stars 92 forks source link

simGetDisqualified() not working #146

Open yannbouteiller opened 4 years ago

yannbouteiller commented 4 years ago

Hi guys, I know this project is probably on its way to be replaced by the drone racing lab project, but for now I have a colleague who uses my gym env that I'll probably release along with his paper, and I wanted to upgrade to the last version of your API, but it seems that simGetDisqualified(vehicle_name) doesn't work with the training binaries ?

self.pending_death = self.airsim_client.simIsRacerDisqualified(vehicle_name=self.drone_name) File "C:\Users\Yann\anaconda3\lib\site-packages\airsimneurips\client.py", line 174, in simIsRacerDisqualified return self.client.call('simGetDisqualified', vehicle_name) File "C:\Users\Yann\AppData\Roaming\Python\Python37\site-packages\msgpackrpc\session.py", line 41, in call return self.send_request(method, args).get() File "C:\Users\Yann\AppData\Roaming\Python\Python37\site-packages\msgpackrpc\future.py", line 45, in get raise error.RPCError(self._error) msgpackrpc.error.RPCError: rpclib: server could not find function 'simGetDisqualified' with argument count 1.

(I was running with the windows training binaries this time)

Regards, Yann.