Sounds like a similar setup to what many users used in the IQ game last year. Review this post that includes a vexcode file on one way of coding a catapult.
I’m sure Mr. Pearman is right about VEXcode example programs, but in the meantime, I’ve attached the super duper basic code I was using to test the robot. (I am not a programmer. The program is probably bad and I feel bad. And this is v2. Imagine how v1 must’ve looked?)
Seems like a good first improvement. Excited to see what y’all come up with. There are definitely things on this robot that should be improved. But we couldn’t give you a winning robot right out of the gate. That just wouldn’t…