Quote:
Originally Posted by kyungjin
I'm planning on using the WindRiver IDE to program our FIRST bot using C++ and was wondering if there were some good resources regarding some of the specifics of the WR IDE...
I've looked at the WPI C/C++ Guide but it's not as helpful as I want it to be (namely because it's not finished). To some of the other teams out there that are familiar with the system, I'd like to ask if someone can compile a list of keywords or functions and a brief description of what it does... (for example: motor[portx] -> drives a certain motor a certain speed (RobotC example... but you get the idea...)) something that I can use as reference as I try to figure out this new IDE...
Also, any other specific information regarding the IDE or any helpful resources you may have come across is appreciated as well.
Thanks in advance,
- Dan
|
If you're familiar with C++, here is your bible(not sure if you've seen this yet)
http://users.wpi.edu/~bamiller/WPIRoboticsLibrary/
its a listing of all of the classes in the library and what they do
if you're not familiar with C++, its a bit different than it was last year in C.
instead of a variable for everything, there's an object instead.
so for your example, you'd construct an object at the top of your code (depending on how your code is laid out and if your using the iterative or simple robot class):
Code:
Jaguar* motor = new Jaguar(CHANNEL);
and then you can control the functions of that motor from there
If you need help with anything specific, send me a message, i'll gladly help you out.
I'd study up on C++ Objects if you're not familiar with them.