How roboticsbrno/robutek works
Robůtek is an ESP32-S3 robot platform programmed with Jaculus. A user program creates a version-specific robot, then commands its differential drive, sensors and accessories; V2 also initializes battery monitoring. The repository includes substantial V1/V2 lessons and extension documentation, but the sampled code centers on the runtime library. Edges below use the README or shown source; optional hardware drivers without demonstrated callers are left unconnected.
Main entry points: example.ts Example robot program · robutek.ts Robot factory · differentialDrive.ts Differential drive · batteryChecker.ts Battery monitoring
Components 14
Robot runtime
- Example robot program
robutekLibrary/src/example.ts - Robot factory
robutekLibrary/src/libs/robutek.ts - Battery monitoring
robutekLibrary/src/libs/batteryChecker.ts - BQ2589 driver
robutekLibrary/src/libs/bq2589.ts
Motion and sensing
- Differential drive
robutekLibrary/src/libs/differentialDrive.ts
Accessories
- Servo control
robutekLibrary/src/libs/servo.ts - Color utilities
robutekLibrary/src/libs/colors.ts - RGB sensor driver
robutekLibrary/src/libs/zscs2016c.ts - Distance sensor driver
robutekLibrary/src/libs/VL53L0X.ts
Other components
- Robot programmer
- Jaculus runtime
- ESP32-S3 robot hardware
- Battery monitor IC
- Smart LED hardware
Connections 13
- Robot programmer → Example robot program: writes program
robutekLibrary/src/example.ts - Jaculus runtime → Example robot program: runs program
- Example robot program → Robot factory: creates robot
robutekLibrary/src/example.ts - Example robot program → Differential drive: commands movement
robutekLibrary/src/example.ts - Robot factory → Differential drive: extends drive
robutekLibrary/src/libs/robutek.ts - Differential drive → ESP32-S3 robot hardware: drives motors
robutekLibrary/src/libs/differentialDrive.ts - Robot factory → ESP32-S3 robot hardware: reads sensors
robutekLibrary/src/libs/robutek.ts - Robot factory → Battery monitoring: starts monitoring
robutekLibrary/src/libs/robutek.ts - Battery monitoring → BQ2589 driver: reads voltage
robutekLibrary/src/libs/batteryChecker.ts - BQ2589 driver → Battery monitor IC: reads over I2C
robutekLibrary/src/libs/bq2589.ts - Example robot program → Servo control: sets pen position
robutekLibrary/src/example.ts - Example robot program → Color utilities: selects LED color
robutekLibrary/src/example.ts - Color utilities → Smart LED hardware: provides LED color