Do you guys think that it is possible to create a program that creates autonomous code based on driver commands.
Ex. You drive to pick up a cube and drop it in a tower. Then the program outputs some code somewhere which can be pasted into another program.
I haven’t really thought this out, but if this can work, it might be really helpful.
In the literal sense that’s called ‘not programming at all’ or ‘black magic’
Technically speaking though you could use functions to pretty much do that, but you have to design the functions themselves, it isn’t automatic.
Oh yeah totally been done. Both by others posted above and
But I completely agree with @PortalStorm4000 . It is not the most reliable method of coding autonomous. If you were going to invest the effort to create a system like that, you would do better to make a form of position tracking or PID control. If you wanted to use someone else’s system, ok. Many coders use functions like @PortalStorm4000 said to call a sequence of commands that take a lot of code to call on their own. I have a function to move the arms and intake treads so that the intakes will passively flip out in autonomous for example. If you want to read more about functions try here .