Problem with setting a goal

I am working in project about Robot( turtlebot3 ) that running in gazebo
my problem is i can send the robot to what coordinate i want but i want it to go the coordinate that it obtain from user from the database as output in python IDE (Pycharm)

Hi Turki,

It’s difficult to help you with the information you have given, but let me try.

It seems you want to send a command to the robot, but not from the command line. Probably:

You mentioned the use of a database, so probably you are dealing with a web app here. Please let us know if you have more queries.