# Command Center

{% hint style="info" %}
Make sure you have a map of your space first. If you don’t, use the Tuya app to create one. You can watch a step-by-step tutorial [here](https://www.youtube.com/watch?v=sLXTF0cDsak\&t=240s).
{% endhint %}

To launch this interface, launch the [flask server](/documentation-hackerbot-industries/software/flask-apis.md):&#x20;

```sh
launch-flask-api
```

Then launch the command center:

```sh
launch-command-center 
```

If successful, you should see something like:

```
---------------------------------------------
STARTING HACKERBOT COMMAND CENTER
---------------------------------------------
Cleaning up existing process

---------------------------------------------
SUCCESS! Hackerbot Command Center is Running!
React Frontend: http://localhost:5173
                http://10.1.10.110:5173
Log file: /home/bobby/hackerbot/logs/hackerbot_react_202505131509.txt
---------------------------------------------
```

Then you can navigate your browser and open the url from the output. You should be able to see the map you create with Tuya!

<figure><img src="/files/TzSy9i3OTg3FFPNfKwCl" alt=""><figcaption></figcaption></figure>

In the Maps section, you can choose which map you want to load.

<figure><img src="/files/xbH6AszCUB7sbtq8dir7" alt=""><figcaption></figcaption></figure>

In the mark section, you can add mark position on the map and save it.

<figure><img src="/files/XEjiyZgGzwNwlg7V0Nj8" alt=""><figcaption></figcaption></figure>

\
In the GOTO section, you can select a marker for the robot to navigate to.

<figure><img src="/files/W7Q6ZFbCGs3zZxAk5imv" alt=""><figcaption></figcaption></figure>

To stop this process, run the stop script:

```sh
stop-command-center 
```

If successful, you should see something like:

```
---------------------------------------------
STOPPING HACKERBOT COMMAND CENTER
---------------------------------------------
Stopping React processes...
All React-related processes stopped.
---------------------------------------------
HACKERBOT COMMAND CENTER STOPPED
---------------------------------------------
```

Here's a video of using Command Center to navigate:

{% embed url="<https://www.youtube.com/watch?v=hZnarviGFUg>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hackerbot-industries.gitbook.io/documentation-hackerbot-industries/software/command-center.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
