Go to Post Profesional Gracism - n. the blessing said before Robotics competitions begin. - Cynette [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-09-2013, 05:17 PM
zackd97 zackd97 is offline
Registered User
FRC #4102
 
Join Date: Feb 2013
Rookie Year: 2013
Location: New Mexico
Posts: 16
zackd97 is an unknown quantity at this point
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!
Reply With Quote
  #2   Spotlight this post!  
Unread 02-09-2013, 05:28 PM
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 985
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
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.
Reply With Quote
  #3   Spotlight this post!  
Unread 02-09-2013, 05:38 PM
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 587
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
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
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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