User Tools

Site Tools


projects:sand_drawing:work_logs:even_mode_software

This is an old revision of the document!


What I want to accomplish

  • Cooler patterns.

What I've done

Cooler patterns

I wrote a helper script to generate GCODE for some a cool pattern. It draws around the circumference of the bed and then spirals into the centre, then spirals back out to the edge again. I thought it would be very cool. I incorporated the MQTT GCODE publication into the generation script so it was a one-step test process.

However the generated GCODE was quite large, about 40kB, and the ESP32 threw an error when trying to receive it. It couldn't allocate enough ram. There's a few ways of solving this. I could potentially chunk up large programs into smaller pieces and send them through in a few separate messages, then stitch them together before playback.

Another, much cooler solution, would be to listen to another MQTT topic that can be used to transmit Python generator code to the robot. This would be a cool way of sending quite complex pattern generators to the robot without using much RAM.

What I want to accomplish next time

  • Build the electronics.
projects/sand_drawing/work_logs/even_mode_software.1589523880.txt.gz · Last modified: 2020/05/15 06:24 by tjhowse