aqeelanwar / PEDRA

Programmable Engine for Drone Reinforcement Learning Applications
MIT License
267 stars 59 forks source link

Time Out Error #47

Closed yeknafar closed 4 years ago

yeknafar commented 4 years ago

Hello @aqeelanwar

Thank you for your great project. I run this project in move_around mode without any error but when I want to run this project in infer mode. when I try to run it I got this error:

""" Traceback (most recent call last): File "main.py", line 104, in eval(name) File "", line 1, in File "E:\Thesis\PEDRA\algorithms\DeepQLearning.py", line 28, in DeepQLearning client, old_posit, initZ = connect_drone(ip_address=cfg.ip_address, phase=cfg.mode, num_agents=cfg.num_agents) File "E:\Thesis\PEDRA\aux_functions.py", line 297, in connect_drone client.confirmConnection() File "C:\Users\hamed\anaconda3\envs\Thesis\lib\site-packages\airsim\client.py", line 54, in confirmConnection if self.ping(): File "C:\Users\hamed\anaconda3\envs\Thesis\lib\site-packages\airsim\client.py", line 24, in ping return self.client.call('ping') File "C:\Users\hamed\anaconda3\envs\Thesis\lib\site-packages\msgpackrpc\session.py", line 41, in call return self.send_request(method, args).get() File "C:\Users\hamed\anaconda3\envs\Thesis\lib\site-packages\msgpackrpc\future.py", line 43, in get raise self._error msgpackrpc.error.TimeoutError: Request timed out

"""" can you help me please. Thank you

aqeelanwar commented 4 years ago

Can you please share your settings.json file from your documents folder?

yeknafar commented 4 years ago

Thank you for your response. This is my setting.json file

setting.json

yeknafar commented 4 years ago

I can't what is problem. but it solved without any change. but when I change mode in "train" or "infer" I can't see environment and quadcopter or environment not shown. what is problem ?

Thank you for your support.

aqeelanwar commented 4 years ago

I can't what is problem. but it solved without any change. but when I change mode in "train" or "infer" I can't see environment and quadcopter or environment not shown. what is problem ?

Thank you for your support.

By default the rendering is turned off to speed up the training procedure. You can hit the key '/' to render the environment and see the drone moving around.

yeknafar commented 4 years ago

Thank you very much . :)))

aqeelanwar commented 4 years ago

Did this solve your problem?