JetBot Deployment
Learn how to deploy the GRID API servers on a JetBot
Running the API Servers on JetBot
The JetBot natively does not support port forwarding or an API server. The intended use is to use a jupyter notebook online and run the code locally on the JetBot. To better utilize grid functionality, we want to run all of the code locally and communicate with the JetBot remotely. To do this we have created scripts to run two servers that run locally on the JetBot.
Setting up the JetBot
-
Connect the JetBot to the internet. This can be done in a variety of ways.
- We used this tutorial for setup of the JetBot. To connect to the interface, run
- Once you are set up, the IP address of the JetBot should appear on the LCD screen on the base.
- the default password is jetbot
-
SSH into the JetBot
-
Install curl on the JetBot
-
Download and install the necessary setup and server files
-
Run setup
Run the API Servers
In two separate terminal windows within jetbot_server
please run:
and
to start the locomotion and camera servers on the JetBot.
Alternatively, to only use one window and keep the servers in the background run
The JetBot is now ready to interface with the GRID API!
Setting motor speeds without the API
The default locomotion port is 8040.
Getting camera images without the API
The default camera port is 8050.
FAQs
- Python < 3.7 does not have access to
run
- Upgrade your python version to 3.11 if possible
Was this page helpful?