Go to Post Sometimes the team really needs the kid, and sometimes the kid really needs the team. - Taylor [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 01-09-2010, 21:25
commanderbly95 commanderbly95 is offline
Registered User
FRC #2992
 
Join Date: Sep 2010
Location: Louisiana
Posts: 3
commanderbly95 is an unknown quantity at this point
Exclamation Need basic code to look at

i know c++ but the first code is a bit of a stretch from console coding so i need a basic code from last year if any one has it with like tank drive and some inputs and outputs so i can get a better feel for them. Thanks
Reply With Quote
  #2   Spotlight this post!  
Unread 01-09-2010, 21:29
commanderbly95 commanderbly95 is offline
Registered User
FRC #2992
 
Join Date: Sep 2010
Location: Louisiana
Posts: 3
commanderbly95 is an unknown quantity at this point
Re: Need basic code to look at

and yes i'm a new member for this site
Reply With Quote
  #3   Spotlight this post!  
Unread 01-09-2010, 21:42
Bot190's Avatar
Bot190 Bot190 is offline
Registered User
FRC #0166 (ChopShop)
Team Role: Programmer
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Merrimack NH
Posts: 105
Bot190 will become famous soon enough
Re: Need basic code to look at

I assume you have Windriver installed already? Your team should have the install DVD's for it. If you already have it installed Look at the examples. You should be able to learn pretty much everything you need to know from them (assuming you know C++)
__________________

Reply With Quote
  #4   Spotlight this post!  
Unread 01-09-2010, 21:54
commanderbly95 commanderbly95 is offline
Registered User
FRC #2992
 
Join Date: Sep 2010
Location: Louisiana
Posts: 3
commanderbly95 is an unknown quantity at this point
Re: Need basic code to look at

actually i dont have wind river anymore it was on my laptop and it crashed and i doubt my team has the disks anywhere that is acesable
Reply With Quote
  #5   Spotlight this post!  
Unread 15-12-2010, 20:56
1308 1308 is offline
Registered User
FRC #1308
 
Join Date: Mar 2009
Location: Cleveland
Posts: 2
1308 is an unknown quantity at this point
Re: Need basic code to look at

Heres some code we used for our mecanums. We used an external gamepad class for the logitech gamepads but it's pretty much the same as the WPI joystick class.
Attached Files
File Type: cpp Mecanum.cpp (2.0 KB, 33 views)
Reply With Quote
  #6   Spotlight this post!  
Unread 15-12-2010, 21:22
NickE's Avatar
NickE NickE is offline
_
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Mar 2008
Rookie Year: 2008
Location: San Jose, CA
Posts: 620
NickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond repute
Re: Need basic code to look at

Here's our complete code from last year for our robot, Onslaught.

[Link]
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Visual Basic Help KC1AJT IT / Communications 9 24-01-2010 12:25
very basic code help mikelowry C/C++ 20 18-09-2009 18:38
Wait.VI on basic motor tutorial, need clarification. Comatose NI LabVIEW 6 16-01-2009 13:20
New to C but not to basic, need help on autonomous cdennisxlx2 Programming 4 02-02-2005 03:38
I Need Help with downloading Basic Stamp Program archiver 1999 2 23-06-2002 21:57


All times are GMT -5. The time now is 13:55.

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