Loading 3D model… large boards can take a moment.
VanGo is a differential drive robot that can draw SVG images on a page.
First, an SVG image is converted to XY coordinates using this online tool: Coordinator. Then, using these XY coordinates, a trajectory of waypoints is generated for the robot to follow. Trajectory tracking is implemented using a simple PID steering control algorithm, and the robot determines its pose in space through wheel odometry, using quadrature encoders on the motors. For more in-depth information, please see the VanGo documentation at https://nmarks99.github.io/VanGo/. VanGo is still relatively early in development and several aspects of the project need more work and fine tuning, such as the trajectory tracking algorithm, a command line interface for the client application, and improved mechanical design. However, in its current state, VanGo demonstrates a good proof of concept.
vango-firmware is the firmware for the ESP32 board based on esp-idf-halvango-client is a desktop command line application for controlling the robotvango-utils is a utility library used by both the firmware and client.hardware directory contains the KiCAD project for the PCBThis project also uses another library I have developed, diff-drive, primarily for pose estimation via wheel odometry. In the future I hope to use both the VanGo and diff-drive projects as starting points for developing a general purpose, high-performance, and open-source, differential drive robot that anyone can build with firmware based on Rust on the ESP32 (think DIY TurtleBot).
One of my biggest motivations for this project was to learn more rust programming, particularly embedded rust, which is why this project is 100% rust code 🦀. Like mostly everyone else, I've primarily used C and C++ for programming microcontrollers in the past, most of the time using the Arduino framework together with PlatformIO which I've found to be a very pleasant experience. After having worked on this project for several months, using Rust on the ESP32, I've found it to be a equally pleasant experience, after some intial growing pains. Below are some of my opinions on the state of embedded Rust. Note this is generally with regards to Rust on ESP , however some of it applies to embedded Rust in a broader sense.
The Good
esp-idf-hal you get to program the ESP32 in Rust (almost) as if you were writing a program on your desktop
This means you get to take full advantage of the Rust standard library and mostly any external crates you may need.cargo flash to flash the board from the
command line and also set the partition table (sets how much space in memory you are reserving for your program):
flash = "espflash --release --partition-table partitions.csv"The Bad
esp-idf-hal turns out to be almost as easy to use as the popular IntervalTimer
in Arduino. Another thing that was very tough to find example code for was bluetooth. Eventually I found esp32-nimble
which works quite well and isn't too complicated. The developer is was also quick to reply to an issue I opened for an additional feature.
No comments yet. Be the first to ask about this board.