aniskoubaa / rosgpt

ROSGPT is a pioneering approach that combines the power of ChatGPT and ROS (Robot Operating System) to redefine human-robot interaction. By leveraging large language models like ChatGPT, ROSGPT enables the conversion of unstructured human language into actionable robotic commands. T
303 stars 71 forks source link

ros2 run rosgpt rosgpt_client_node #10

Open tufailahmad3993 opened 9 months ago

tufailahmad3993 commented 9 months ago

Please somebody tell me what could be the reason? I am getting the following error.

tufail39@tufail39-VirtualBox:~$ ros2 run rosgpt rosgpt_client_node [INFO] [1704385697.602028953] [rosgpt_client]: ROSGPT client node started Enter a move command or a rotate command. The current ROSGPTParser of rosgpt_turtlesim does not multiple command. Will be extended later Enter a text command: I want that you move 1 meter forward speed 0.2 [ERROR] [1704385738.657950074] [rosgpt_client]: Error: 500

HanSeungJun commented 8 months ago

I have the same error too .

error 1

[ROSGPT] Command received. move 1 meter forward speed 0.2 . Asking ChatGPT ... Unexpected error: You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors. 127.0.0.1 - - [09/Jan/2024 17:23:59] "POST /rosgpt HTTP/1.1" 500 -

error 2

TypeError: the JSON object must be str, bytes or bytearray, not NoneType

my API bill is still $0 ( enough ) openai == 0.28.1, Try it too or Upgrade newest openai with openai migrate but it still doesn't working

HanSeungJun commented 8 months ago

Please somebody tell me what could be the reason? I am getting the following error.

tufail39@tufail39-VirtualBox:~$ ros2 run rosgpt rosgpt_client_node [INFO] [1704385697.602028953] [rosgpt_client]: ROSGPT client node started Enter a move command or a rotate command. The current ROSGPTParser of rosgpt_turtlesim does not multiple command. Will be extended later Enter a text command: I want that you move 1 meter forward speed 0.2 [ERROR] [1704385738.657950074] [rosgpt_client]: Error: 500

I solved the problem ( [rosgpt_client]: Error: 500 ) You must register your card information to use the GPT API.

https://platform.openai.com/account/billing/overview

rbc77 commented 4 months ago

[ERROR] [1715579908.467284950] [rosgpt_client]: Error: 404 Enter a move command or a rotate command. The current ROSGPTParser of rosgpt_turtlesim does not multiple command. Will be extended later. this error comes, tried modifying the code but the error persists. anyone know the cause?