Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Documentation (http://www.chiefdelphi.com/forums/showthread.php?t=73910)

dnrobotics11 08-02-2009 13:11

Documentation
 
I have been trying to program the motors using the RobotDrive function but I don't know what to do if I have more than one drive system, for example I will be having two motors for driving and one for a lift, etc. If I try to initalize more than one RobotDrive there are errors. Can anyone help with this?

Also, it seems as though the C/C++ Documentation is lacking and the Doxygen documentation isn't very clear. Where is the best place to learn the WindRiver/WPILib functions for FIRST? Thank you very much.

byteit101 08-02-2009 17:44

Re: Documentation
 
the documentation called C_Programming guide for FRc (or something like that) at http://first.wpi.edu/Images/CMS/First/FRC1718Docs.zip
but
RobotDrive myRobot(1,2);//pwm ports 1 and 2
myRobot.Drive(1,0); speed, curve (1 to -1)
Jaguar jag(3);//create jaguar (or Victor) on PWM port 3
jag.Set(1);//set speed to full

dnrobotics11 08-02-2009 18:44

Re: Documentation
 
Thank you very much. Finally a manual that is not full of blank pages


All times are GMT -5. The time now is 02:46.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi