PromptCraft-Robotics icon indicating copy to clipboard operation
PromptCraft-Robotics copied to clipboard

Not connecting to chat-gpt when running chatgpt_airsim.py

Open MayankD409 opened this issue 1 year ago • 12 comments

I have been attempting to try the drone simulation but when I run the chatgpt_airsim.py it gives error. I tried reinitializing everything and performed all basic debugging still no success.

image

MayankD409 avatar Mar 13 '23 10:03 MayankD409

I am also getting the same error. Someone help me to fix it. Thank you

gullipalli-suneetha avatar Mar 14 '23 12:03 gullipalli-suneetha

Hi, is the AirSim simulation running along side? Can you see the environment and the drone initialized properly?

saihv avatar Mar 14 '23 21:03 saihv

Hi, is the AirSim simulation running along side? Can you see the environment and the drone initialized properly?

Yes the simulation is running in the background and I can see the drone and environment working.

MayankD409 avatar Mar 15 '23 03:03 MayankD409

@Snorlax104 Chatgpt_aursim.py file running successfully without any errors?

gullipalli-suneetha avatar Mar 15 '23 03:03 gullipalli-suneetha

@Snorlax104 Chatgpt_aursim.py file running successfully without any errors?

No the above screenshot is for the same. These are the errors I am getting when I run chatgpt_airsim.py.

MayankD409 avatar Mar 15 '23 03:03 MayankD409

I also had the same problem as above. After putting the access_token in the config.json file, I ran airsim and ran chatgpt_airsim.py. I also take a screenshot of my problem.

image

uiseoklee avatar Mar 15 '23 07:03 uiseoklee

Upgrade the revChatGPT package: pip install revChatGPT - it worked fine after this for me!

shamitb avatar Mar 15 '23 22:03 shamitb

after upgrade also getting same error.

gullipalli-suneetha avatar Mar 16 '23 05:03 gullipalli-suneetha

I am also getting the same error.

huazai665 avatar Mar 17 '23 12:03 huazai665

Connection was failing due to a change in the revChatGPT package's proxy. The latest release now uses the official OpenAI API.

yuan-alex avatar Mar 17 '23 23:03 yuan-alex

@yuan-alex thank you. I can run the demo successfully. It is amazing.

huazai665 avatar Mar 18 '23 09:03 huazai665

Initializing ChatGPT... Done. Initializing AirSim... no question response! what should I do?

langxinspieder avatar Apr 16 '24 13:04 langxinspieder

Hi~ I have been attempting to try the drone simulation but when I run the chatgpt_airsim.py it gives error. I tried reinitializing everything and performed all basic debugging still no success. Does anyone have suggestions? thanks~~ Image

WangLouis avatar Nov 06 '24 06:11 WangLouis