Is there a way to change vex controller code to vex autonomous code

You can look up “rerun” and find similar approaches. Here is a link to a recent post/tutorial