Go to Post We’ve been chasing perfection since 2003 in the hopes of catching excellence. - Karthik [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 10-01-2008, 14:12
jfrank's Avatar
jfrank jfrank is offline
Registered User
FRC #2668
 
Join Date: Jan 2008
Location: Schwenksville
Posts: 10
jfrank is an unknown quantity at this point
Question command listfor c???

does anyone have a command list for C or C+ programming
  #2   Spotlight this post!  
Unread 10-01-2008, 15:21
JohnC's Avatar
JohnC JohnC is offline
my other name is nigel
FRC #0360 (360 Revolution)
Team Role: Programmer
 
Join Date: Mar 2005
Rookie Year: 2005
Location: user_routines.c
Posts: 100
JohnC is a jewel in the roughJohnC is a jewel in the roughJohnC is a jewel in the roughJohnC is a jewel in the rough
Send a message via AIM to JohnC
Re: command listfor c???

A command list won't make you a programmer... you'll have to learn the syntax of the languages as well.

There are lots of free resources, including an "Introduction to C Programming for FIRST" available here:

http://www.usfirst.org/community/frc...nt.aspx?id=482
__________________
What place are we at? ... TODAI!
  #3   Spotlight this post!  
Unread 11-01-2008, 17:01
tagger tagger is offline
Registered User
FRC #2357
 
Join Date: Jan 2008
Location: missouri
Posts: 19
tagger is an unknown quantity at this point
Re: command listfor c???

I'm 16 years old and I barely know any visual basic code plus i've only read about the first chapter in C++ programming for dummies. I just recently finished a program that will enable us to detirmine the ratio for the speed of the robot compared to the difference between the stop speed (127) and the speed we want the robot to go. Also I am going to make another program to find the degrees the robot turns based on the difference between the two engines. What is a command list? I seriously don't know and would like to be able to program after were past the testing phase where the programming is easy to figure out like trigonometry. If anyone wants the code I made to test these variables or just use it as a template for their own testing code, E-mail me at JeffreyHB123@hotmail.com.

I don't know what im doing very well,

Jeff~

P.S. This is not the person that uses the account, this is just another person on his robotic team. RAY-PEC For The Win.
  #4   Spotlight this post!  
Unread 11-01-2008, 17:08
Mib Mib is offline
Registered User
AKA: Aaron Clay
FRC #1741 (Red Alert Robotics)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Indiana
Posts: 12
Mib is on a distinguished road
Send a message via AIM to Mib Send a message via MSN to Mib Send a message via Yahoo to Mib
Re: command listfor c???

There is no "command list" for C or C++. It's pretty simple though. I would start out getting Kevin's code for a base, then modifying it for your needs. As far as resources for C, cprogramming.com is a good start.
__________________
Aaron M. Clay
Programming Consultent
www.GameCopyWorld.com
amclay (@) purdue.edu
  #5   Spotlight this post!  
Unread 22-01-2008, 13:16
jfrank's Avatar
jfrank jfrank is offline
Registered User
FRC #2668
 
Join Date: Jan 2008
Location: Schwenksville
Posts: 10
jfrank is an unknown quantity at this point
Re: command listfor c???

Thanks
  #6   Spotlight this post!  
Unread 22-01-2008, 13:19
ShotgunNinja's Avatar
ShotgunNinja ShotgunNinja is offline
Programming Mentor, FRC 4247
AKA: Nicholas Iannone
FRC #4247 (CougarBOTS)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Milwaukee, WI
Posts: 159
ShotgunNinja is a jewel in the roughShotgunNinja is a jewel in the roughShotgunNinja is a jewel in the roughShotgunNinja is a jewel in the rough
Re: command listfor c???

Do you have a Linux computer? If so, just try going into terminal and typing "help". The core language of the Linux operating system is C, as opposed to Windows' "A++" script and Mac's "Applescript", which are just disguises for Linux-based commands.
__________________
Team #2970 Alum
Team #1652 Alum
2006: School Mascot for Team 1652
2007-2008: Programmer for Team 1652 (Robot Mafia)
2009: Programmer on Team 1652 (Robot Mafia), Programmer on Team 2970 (eSchool eBots)
2010-2016: Volunteer, Wisconsin Regional
2017: Programming Mentor, FRC 4247 (CougarBOTS, Obama SCTE, Milwaukee, WI)
  #7   Spotlight this post!  
Unread 22-01-2008, 13:40
shtylman shtylman is offline
some sort of programmer
FRC #2420
 
Join Date: Feb 2004
Rookie Year: 2003
Location: Marietta, GA
Posts: 37
shtylman has a spectacular aura aboutshtylman has a spectacular aura about
Re: command listfor c???

Quote:
Originally Posted by ShotgunNinja View Post
Do you have a Linux computer? If so, just try going into terminal and typing "help". The core language of the Linux operating system is C, as opposed to Windows' "A++" script and Mac's "Applescript", which are just disguises for Linux-based commands.
This is completely untrue and will not help you in any way with FIRST programming. Most OS's are written in C/Assembler. Just find some online C resources to get you going. Typing help in a terminal will do nothing short of showing you a list of BASH help commands for the terminal and will get you nowhere with programming, C, or FIRST.
  #8   Spotlight this post!  
Unread 22-01-2008, 14:32
CRBreingan CRBreingan is offline
Registered User
FRC #2180 (Zero Gravity)
Team Role: Leadership
 
Join Date: Jan 2008
Rookie Year: 2007
Location: New Jersey
Posts: 6
CRBreingan is an unknown quantity at this point
Send a message via AIM to CRBreingan
Re: command listfor c???

i understand what jfrank was asking. I too was looking for a list of commands.

Is there really nobody that has made a list of the available functions in the FRC library? I think it'd be a nice reference to have. I 'd do it myself but i can't read the binary in the .lib files... .

Brad Miller did a hell of a job with the WPILIb. If you want to be able to reference a table of functions i would suggest going with WPILib. All the functions have definitions and tell you how to write the argument in the API.h file. It's wonderful to be able to know what exactly you're calling from the library. If you want to check out WPILib go to http://users.wpi.edu/~bamiller/WPILib/
  #9   Spotlight this post!  
Unread 22-01-2008, 16:23
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: command listfor c???

Quote:
Originally Posted by CRBreingan View Post
Is there really nobody that has made a list of the available functions in the FRC library? I think it'd be a nice reference to have. I 'd do it myself but i can't read the binary in the .lib files... .
The list I think you're looking for is in the .h files.
  #10   Spotlight this post!  
Unread 22-01-2008, 17:36
Foster Foster is offline
Engineering Program Management
VRC #8081 (STEMRobotics)
Team Role: Mentor
 
Join Date: Jul 2007
Rookie Year: 2005
Location: Delaware
Posts: 1,387
Foster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond repute
Re: command listfor c???

I use a C syntax chart for quick reference. Two that I like are:

C/C++ from gbookcards.com I got this for every programmer on the team.

This one is free C reference PDF

And I use the API.h file from WPILib as the other reference.
  #11   Spotlight this post!  
Unread 22-01-2008, 19:39
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: command listfor c???

O'Reilly Pocket reference books are really nice. I have several of these, and some cheat sheets with my computer at all times. They're great for when I can't remember some little detail.

C Pocket Ref
C++ Pocket Ref
__________________
Eric Haskins KC9JVH
  #12   Spotlight this post!  
Unread 22-01-2008, 19:58
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: command listfor c???

This sounds like a job for easyC! Intelitek wrote easyC to teach students how to program in C by displaying syntax correct code in the right hand window. You should be able to find the cd in the KOP and then check out the tutorials in the help file.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
  #13   Spotlight this post!  
Unread 22-01-2008, 20:16
bronxbomber92 bronxbomber92 is offline
Registered User
FRC #1551 (Grapes of Wrath)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Naples
Posts: 75
bronxbomber92 is an unknown quantity at this point
Re: command listfor c???

Here's two threads I setup at our forum that lists a few resources for learning C, and programming FIRST robotics.

http://naples1551.theiforum.com/firs...rces-t113.html
http://naples1551.theiforum.com/c-resources-t75.html

I hope these help.
Closed Thread


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
Loader Protocol: Command 09 Astronouth7303 Programming 1 28-01-2007 01:02
Make all command pmzq Programming 3 24-01-2006 16:16
Servo command confusion?!?!?!?! [527]phil Programming 9 15-07-2005 20:10
Run command... frightening archiver 2001 1 24-06-2002 03:37


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

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