Vex iq motor and drivetrain rerun code

Is it possible to record and store vex iq motors positions? It would be very useful for autonomous, because you can record your normal driver plan and make it into an autonomous.

Hello, there is a way to record and store it to a sd card and then in another program read it, but i only know how to do it in python

How? Like the basics?

to open and add to a file on sd card

f = open("filename", "a")
f.write("text!")  
f.close()

to open, override content in file on sd card

f = open("filename", "w")
f.write("text!")  
f.close()

to read file on sd card

f = open("filename", "r")
print(f.read())  
f.close()

Not exactly what you want, but this post will send you on an easier alternative path.

It’s from @turbodog