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 withinjetbot_server
please run:
Setting motor speeds without the API
Getting camera images without the API
FAQs
- Python < 3.7 does not have access to
run
- Upgrade your python version to 3.11 if possible