ok so i am a new programmer to the 1396 team because our old programmer has recently graduated. He has taught me some things but i still do not understand how to use the C++ language to program. Especially since we have the new laptop/ driver station this year this puts a lot of pressure on me as to figure all this out and i am becoming very nervous about how i am going to get this robot to function this year … whats on the electronics board of this robot is
4 jaguars because we are using 2 motors per gearbox this year
4 spikes… because we have 2 motors for a wench, 1 motor for a manipulator, and another motor for a dumper for the soccer balls…
I also do not how to assign the motors to a button on the control stick like how to turn the motors on and off using the spikes… so if someone can help with that also that would be much appreciated… Please help someone
There’s also a very helpful C++ reference containing all the functions and classes you should need for programming the cRio. It’s called C++_Reference.chm C:\windriver\docs\extensions\frc
C++ is for the most part a superset of C, but it lets you do lots of things that you can’t in C. I wouldn’t necessarily agree with this.
However, I would agree that C++ is probably much harder to master than LabVIEW. I love C++, but then again I’ve been programming in it and C for three years. A great tutorial I used when teaching myself C++ was www.learncpp.com. You should definitely check it out if you want to take the C++ route.
If I were you, I would switch to Labview immediately. It was said before that it is very easy and fast to learn (I agree). The initial program available will get you off the ground and running with at least two motors in the default code. Check out the tip jar lessons available through frcmastery.com to become proficient in labview (~ 1.5 hours of video). With this and after re-imaging the crio, you should be ready to move with two motors. Adding the extra ones should be fairly easy if you understand how the first two work.