Hi guys! As a new team, we’ve been trying hard to get the path weaver working so our robot can follow a planned trajectory. We followed through YouTube videos and official FRC website trajectory tutorial. Everything went smoothly until we hit our last step: the RamseteCommand. First, the tankdriveVolts passed into the constructor didn’t work because it “expects an interface.” Second, we couldn’t return the RamseteCommand or construct the object property. The images are attached below. We followed through and double checked everything and now we are super lost. Possible causes of this problem would be greatly appreciated. Thank you so much for stopping by and for your help!
This works for us
Thank you so much for the code! We’ll definitely check it out and adjust our code. Have a great weekend!
You too, we had a very hard time also to get this to work, we’ll be updating a single code base with everything working
Edit: just to make it clear it does work, make sure to put your own constants in for everything though, and increase the Meyers per second as we had it very low
Unfortunately the code didn’t work :(. The errors still exist despite the changes. Thank you so much for the code! Does anyone else know about those error? Our programming skill is kinda boosted. We are willing to read articles about it.
Please upload your code to github so that we can actually read the entirety of the relevant classes.
Hey, sorry it didn’t work but that doesn’t look like it’s our code; I tested it on Friday and it went as expected. Also it seems that java doesn’t like your function that you pass tankdrivevolts into as it’s not functional, I forgot how we fixed our issue but IIRC we needed to add a lambda in the ramsete command somewhere
Thank you so much! The code works - it’s just that we were using Subsystem instead of SubsystemBase. Thank you so much for your help!
Oh ok great!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.