Go to Post Learning by failure is quite common. - Gdeaver [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 15-02-2012, 20:44
Wingy's Avatar
Wingy Wingy is offline
Team Leader
FRC #0253
Team Role: Student
 
Join Date: Jan 2012
Rookie Year: 2008
Location: Millbrae
Posts: 7
Wingy is an unknown quantity at this point
Send a message via AIM to Wingy Send a message via MSN to Wingy Send a message via Yahoo to Wingy
Joystick Buttons (or general C++ guidance)

I need guidance or an example of how to use joystick buttons to control whether a motor is on or off (the motor is being controlled by a Jaguar). I'm operating using the SimpleRobot Template. Also, although it feels strange to ask this, how do I open the GearsBot Sample code in Windriver?

Note: I'm a complete newbie. I've been trying to watch videos and understand WindRiver and the general C++ programming environment but my understanding completely halts at how to access joystick buttons as boolean for if statements. Perhaps I misunderstand C++ at it's base level, but any help would be wonderful. I am working out of the SimpleTemplate currently, but as for developing past that point I cannot seem to find where to even start on understanding it any better. I've watched http://users.wpi.edu/~bamiller/Using...iveSample.html as well as the "Intro to Workbench" video. I was hoping to go to
http://thinktank.wpi.edu/article/173 to watch the Programming 101 video, but instead I get an issue where it says the video codec is unable to be played. Considering it's a .wmv I'm really not sure why it wouldn't play.

That being said, if there are any videos explaining simple applications of C++ to FRC, that would be great. I apologize in advance for my scattered question, but at this point I'm frantic (I've been searching around threads and various forums for help for several days already).

Part of the problem is I can't deduce exactly -what- my problem is in learning C++, so please ask me questions if it'd help you to help me, or at least show me in the right direction.
Reply With Quote
 


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 17:39.

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