Close

Code update

A project log for Old Roomba, new tricks

Add mapping and MQTT-interfacing with ESP8266 and an IMU

simon-jansenSimon Jansen 04/23/2025 at 20:370 Comments

I have made a few changes to the codebase. 

Newer software will be added to the files section here.

I'm ready for more!

It's clearly not done yet. One of the weird things I can see is the amount of "main loops per second" will sometimes be doubled with some sketch-uploads. If I re-upload the same sketch the next day, the number will drop again. I was hoping it had something to do with the way I count the number of main loops, but I can't find the problem. There is no rollover. 

Seems to be solved by removing the memory snapshot from the main loop. Running at ~25k loops/sec when docked now and ~10k when cleaning with full logging, pose calculation and magic.

It has plenty of spare processing at the moment, so I will ignore it for now. Any ideas? 

Next up, scripting?

Discussions