Go to Post But he who has deeper insight realizes that concepts and ideas canot be contained in even the largest jar, bucket or box. You cannot touch or see these things, but you can be enhanced with knowledge and experience of them. - sanddrag [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 20-01-2010, 16:35
NinjaSpawn94 NinjaSpawn94 is offline
Registered User
FRC #1647
 
Join Date: Jan 2009
Location: New Jersey
Posts: 13
NinjaSpawn94 is an unknown quantity at this point
C++ Variables and Functions

Sorry, I'm new to C++, and just switched over from LabView last year. I was wondering what the variables are that are used for compressors and pneumatics. I believe joysticks are just joystick and jaguars motors are just jaguar, but correct me if i'm wrong please. Thanks!
Reply With Quote
  #2   Spotlight this post!  
Unread 20-01-2010, 16:39
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,557
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: C++ Variables and Functions

You'll probably find the WPILib User's Guide helpful.
Reply With Quote
  #3   Spotlight this post!  
Unread 20-01-2010, 16:50
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: C++ Variables and Functions

Read the link above, but as a rule of thumb, it is the CamelCaseVersionOfTheObject
Jaguar
Joystick
Compressor
Solenoid
Relay
Value (for Relay direction)
etc...
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Reply With Quote
  #4   Spotlight this post!  
Unread 20-01-2010, 17:05
NinjaSpawn94 NinjaSpawn94 is offline
Registered User
FRC #1647
 
Join Date: Jan 2009
Location: New Jersey
Posts: 13
NinjaSpawn94 is an unknown quantity at this point
Re: C++ Variables and Functions

thanks a lot for the link, i've looked for that before but couldn't find it. And also thanks for not making me read the whole manual and just using that rule of thumb
Reply With Quote
  #5   Spotlight this post!  
Unread 20-01-2010, 17:08
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: C++ Variables and Functions

first link on that page http://first.wpi.edu/Images/CMS/Firs...sers_Guide.pdf
page 38-43
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
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
Signed and unsigned variables dmlawrence Programming 4 05-01-2008 23:03
Storing functions to variables Tz0m Programming 8 18-02-2007 11:36
Labview dashboard and multiple variables Joe Ross LabView and Data Acquisition 2 15-03-2006 21:55
Math.h and Functions and Variables amateurrobotguy Programming 1 26-02-2005 03:19
PDF of all functions/variables! mikesown Programming 1 01-02-2005 18:56


All times are GMT -5. The time now is 02:52.

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