|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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!
|
|
#2
|
|||
|
|||
|
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. |
|
#3
|
|||
|
|||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|