Code for CS 181R---Mobile Robotics---at Pomona College.
.
├── Examples
│ ├── MotorControl
│ ├── WSHeartbeat
│ └── WSHeartbeatRefactored
├── include
│ ├── motorcontrol.h
│ └── wscommunicator.h
└── README.md
The Arduino-based motor code is split into the Examples
and include
directories. The include
directory contains headers files for use in all complete programs.
You will need to install
Setup:
- Install Toit and Jaguar
- Initialize Jaguar: jag setup
- Plug your XIAO ESP32-S3 board into your computer
- Flash the board:
- jag flash --chip esp32s3 (SSID: Claremont-ETC; password on Slack)
- Clone the course code:
- In two separate terminals:
Monitor the serial output with:
- jag monitor Run a program with:
- jag run FILE --device IP
Use the following command to save the Wi-Fi credentials so that you only need to type them once:
- jag config wifi set --wifi-ssid SSID --wifi-password PASSWORD
Get IP:
- jag device ls
To Run:
- jag monitor
- cd ~/Classes/MobileRobotics/MobileRoboticsCode/led
- jag run demo.toit --device IP
Remote Connect:
- wscat --connect ws://10.128.5.87:8181
Arduino setup:
- Install Arduino IDE