Chief Delphi

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

zackd97 09-02-2013 17:17

RobotBuilder Help
 
This is my first year working on FIRST and I've been given the task of programming our robot. I have no experience with c++, but I have done work with C. So far I've managed to create a whole project on RobotBuilder and get motors running with joystick buttons and all that, but I have no clue on what to do for the actual driving of the robot. It would be nice if I could do something similar to the simple robot arcade drive stuff or incorporate that actual code into my own, but I don't know what to do to do that. Any help at all would be greatly appreciated. If you would like to see my program or anything feel free to ask. Thanks!

RufflesRidge 09-02-2013 17:28

Re: RobotBuilder Help
 
See if this article helps: http://wpilib.screenstepslive.com/s/...-and-joysticks

If you want to use arcade instead of tank just replace the joystick axes used as appropriate and replace the TankDrive method with the ArcadeDrive method.

BradAMiller 09-02-2013 17:38

Re: RobotBuilder Help
 
There is also a video here:

http://www.youtube.com/user/BradAMil...ow=grid&view=1

(look at the RobotBuilder playlist) that shows how to build a complete program using RobotBuilder. The example is with Java, but the C++ code is almost the same. I think you'd get the idea.

Brad


All times are GMT -5. The time now is 12:56.

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