Go to Post The mediocre do the minimum, then exclaim how easy it is. The exceptional never stop to gloat... they're too busy figuring out new ways to make it even better... - Mr. Lim [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 26-01-2005, 00:12
kshot kshot is offline
Registered User
#0968 (RAWC)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: West Covina, California
Posts: 5
kshot is an unknown quantity at this point
Send a message via AIM to kshot
Kevin's Commands.h??

Hello All!!

I was just messing around with the programing that Kevin made, but I never found out how I can get that CMD_Drive to work right. Should I insert it as {CMD_DRIVE 1000,0,0} or something like that. Or should I just have CMD_DRIVE;. Should I put this in the user_routine_fast?
  #2   Spotlight this post!  
Unread 26-01-2005, 10:13
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,801
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Kevin's Commands.h??

Quote:
Originally Posted by kshot
I was just messing around with the programing that Kevin made, but I never found out how I can get that CMD_Drive to work right. Should I insert it as {CMD_DRIVE, 1000,0,0} or something like that. Or should I just have CMD_DRIVE;. Should I put this in the user_routine_fast?
In commands.h
Code:
struct commands command_list[] = {
{CMD_DRIVE, 2400,		0,	 0},
{NULL,		 0,		0,	 0}
};
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #3   Spotlight this post!  
Unread 16-02-2005, 18:58
Moloch's Avatar
Moloch Moloch is offline
Registered User
no team
 
Join Date: Feb 2005
Location: Michigan
Posts: 39
Moloch can only hope to improve
Re: Kevin's Commands.h??

How do you link those commands to auto mode...
  #4   Spotlight this post!  
Unread 17-02-2005, 17:12
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Kevin's Commands.h??

Check my white paper Autonomous Scripting for some help.

Basically, in robot.c, it reads the array and executes the commands until it finds a NULL.
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


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

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