Some helpful code for the Mobile Robot. Particularly, communicating between the ESP32 and the Jetson Nano vis USB serial.
- Permission denied: Try
sudo usermod -a -G dialout $USER - Wrong baud rate: Make sure both the Jetson and ESP32 use baud rate
115200 - ESP32 resets when opening serial: This is normal due to DTR/RTS signals. You can ignore it or disable auto-reset if needed
- Garbage data: Usually mismatched baud rate or encoding