Thank you very much for the detailed explanation. I will look into you suggestions.Yes, it's possible.
I would create the robot that follows the lines in a vector image. Every basketball court has the same lines (disregarding branding, mascots, drawings, etc). So you'd create a vector image of the lines in a court give that to the robot. Then you tell it the width and length of the court. It would then follow the curves in the file scaled to the with and length.
Why a vector file? Because vector images can be scaled up and down without leaving a pixalate or making round lines from multiple straight lines. Same concept as a 3d printer. Which brings up something important. You can probably utilize someone else's code to do this, maybe octoprint's code as that is exactly what their software does. It takes a 3d printed image file and scales it up to the 3d printer bed.
Soccer field? Same concept, just a different file. Hockey? Same thing, just a different file.
You can use the same for also including drawings, branding, etc, but since those include colors, shading, etc, it'll be more work to code.
Start simple with just the lines required for a game. Add more of the other stuff later.
A simpler, but imperfect solution would be to create a robot that follows a line of tape on the ground while it paints. The problem here is the robot will steer left and right as it goes along trying to center on the line of tape on the ground and you'd end up with zig zag lines.

Statistics: Posted by Skeelard — Fri Nov 08, 2024 7:02 am