Hi everyone,
I’m looking for advice on how to program my FarmBot to travel across a grid pattern efficiently using Lua
. My goal is to have it cover the entire area systematically, moving from one point to the next in a structured way (like a serpentine or zig-zag path).
I know how to program in many languages, but when using Lua scripts on the FarmBot, I’ve noticed there are a lot of limitations. I’d like to set the following parameters in the script:
- Starting point (x, y)
- Grid dimensions: width and length
- Number of columns and rows
Does anyone have experience setting this up with Lua? I’d appreciate tips on:
- The best way to define the grid coordinates
- Optimizing movement to reduce unnecessary travel time
- Any Lua scripts or FarmBot sequences that could help with this
Thanks in advance for your help!