So I’m a first year coder, and I’m starting to code for my team and I’m doing it in c++, but I’m really confused. There are so many options for c++ like JAR and EZ and LEMLIB and idk which ones to use. I also understand that there is just the basic template given by VEX. Should I just use that one and then add things onto it? And if I do use one of the libraries, how do i properly credit it in my code, notebook, and interview?
Also what is PID and ODOM??
Sorry for all the questions
this is going to sound so stupid, but maybe pause on the text projects and start with block coding, it takes minutes to learn and seconds to de-bug.
Start on block, then python, then c++. Starting on c++ would be a nightmare for your first season especially on override. Don’t worry about sensors for now, and once you get into text projects (if you don’t already), ask your coach for a code combat/ ozaria module. Trust me, it works wonders.
I agree, c++ is really hard to learn. however @Sixer2680 if you have taken a web coding class, you might find it easier then python, code.org is another really good place to start if youre struggling with text projects, just to get the basics
Your acting as if the OPs team dosnt care about how well they do, a good and easy way they can integrate themselves with coding is starting with jar temp
Thank you for actually responding to the questions i had
block coding is the best place to start
The point was not to make it work as efficiently as possible, just to learn how to code.
But I’m already doing c++. I never said I didn’t know how to code in c++, i just wanted to know what resources to use
Then just code the bot if you know how to.
While I am not a programmer, I have had quite a bit of VEX experience. I would say to start with LemLib (made for PROS in VScode), as it is a powerful template that is generally pretty easy to use. If you are finding LemLib/PROS to be difficult or not preferable, then swap to JAR template, as it is made for VEXcode Pro.
When citing it in your notebook, make sure to say that it is not your own creation, and cite the author (PROS is made by students from Purdure University, while JAR template comes from Jackson Area Robotics team 2775V).
As for PID and Odometry:
PID stand for Proportional Integral Derivative, and essentially functions as a course correction mechanism as the robot is moving. You can find some YouTube videos explaining how it works.
Odometry is a method of calculating the position of you robot on the field. It works by reading the rotation from the rotation sensor on your odom wheel, and calculating it to distance traveled.
Hope this helps, and good luck in Override!
The op literally said that I was the only person to actually answer the question
You and jellybotz are literally the only ones who have answered me. Thanks <3
Start on block, then python, then c++. Starting on c++ would be a nightmare for your first season especially on override. Don’t worry about sensors for now, and once you get into text projects (if you don’t already), ask your coach for a code combat/ ozaria module. Trust me, it works wonders.
I do not agree with what 663j said about starting with lemlib, lemlib is a more complex template but if ur at that lol then ofc do it, but starting out with ez or jar is easier and can still be competitive (ez can be competitive all the way to worlds). (No hate to 663j ofc see yall at bolt up!)