Go to Post This web site is a service by our team to the FIRST Community to foster interest and growth in Engineering, the FIRST Competition and Education of youth for the careers of tomorrow. - Mike Martus [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 06-11-2007, 03:01
vlad vlad is offline
Registered User
no team
 
Join Date: Nov 2007
Location: Singapore
Posts: 4
vlad is an unknown quantity at this point
Help on programming.

Hi guys, I'm currently a project student assigned to work out on a VEX program. My school usually holds competition every year for the juniors and they wish to improve the competition. I've worked out a default code on my own and now im assigned to modify it in such a way that when the timer starts, i could use my own transmitter to send out a Radio Frequency so that the Robots built by the students could than move and when the time is up, my transmitter would automatically send another signal out to stop all the robots. Any idea what codes could i add to make it happen?
  #2   Spotlight this post!  
Unread 06-11-2007, 07:30
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
Re: Help on programming.

you could hook extra recievers into everyones port 2 and all have the same crystal as yours
then they can run a function whenever a button is pressed from port 2 (your controller) use the 'rx input' command to read the button values

or i think you would be able to use this:
http://www.vexlabs.com/vex-competitions.shtml
The Vex Field Controller Kit

Last edited by basicxman : 06-11-2007 at 07:32.
  #3   Spotlight this post!  
Unread 06-11-2007, 20:53
vlad vlad is offline
Registered User
no team
 
Join Date: Nov 2007
Location: Singapore
Posts: 4
vlad is an unknown quantity at this point
Re: Help on programming.

alright. i'll try. thanks alot.
  #4   Spotlight this post!  
Unread 07-11-2007, 08:50
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: Help on programming.

In easyC you could use a competition template. Once the transmitter is turned on the timer will start.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
  #5   Spotlight this post!  
Unread 07-11-2007, 09:03
Billfred's Avatar
Billfred Billfred is offline
...and you can't! teach! that!
FRC #5402 (Iron Kings); no team (AndyMark)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: The Land of the Kokomese, IN
Posts: 8,554
Billfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond repute
Re: Help on programming.

If all you want is start-stop, IFI's put out the way to do it (PDF link) with hardware. Hack up a few handset cables, connect them to the tether ports of the radios, and you're rolling.
__________________
William "Billfred" Leverette - Gamecock/Jessica Boucher victim/Marketing & Sales Specialist at AndyMark

2004-2006: FRC 1293 (D5 Robotics) - Student, Mentor, Coach
2007-2009: FRC 1618 (Capital Robotics) - Mentor, Coach
2009-2013: FRC 2815 (Los Pollos Locos) - Mentor, Coach - Palmetto '09, Peachtree '11, Palmetto '11, Palmetto '12
2010: FRC 1398 (Keenan Robo-Raiders) - Mentor - Palmetto '10
2014-2016: FRC 4901 (Garnet Squadron) - Co-Founder and Head Bot Coach - Orlando '14, SCRIW '16
2017-: FRC 5402 (Iron Kings) - Mentor

94 events (more than will fit in a ChiefDelphi signature), 14 seasons, over 61,000 miles, and still on a mission from Bob.

Rule #1: Do not die. Rule #2: Be respectful. Rule #3: Be safe. Rule #4: Follow the handbook.
  #6   Spotlight this post!  
Unread 07-11-2007, 09:46
whytheheckme's Avatar
whytheheckme whytheheckme is offline
Registered User
AKA: Jacob Komar
no team
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Providence, RI
Posts: 1,320
whytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond repute
Send a message via ICQ to whytheheckme Send a message via AIM to whytheheckme Send a message via MSN to whytheheckme Send a message via Yahoo to whytheheckme
Re: Help on programming.

Billfred's solution seems really simple. I like that one the best.

The Vex Field Controller Kit would probably be optimal, because its prebuilt, but I don't see any reason why building one yourself should be a problem.

If you wanted to go wireless, basicxman's solution is good. The only issue that I forsee with this is that everyone needs that bit of code in their program to compete. Furthermore, if their program malfunctions (gets stuck somewhere it shouldnt be), then maybe it won't shut off on time.

My 2 cents.
Jacob
  #7   Spotlight this post!  
Unread 08-11-2007, 20:26
vlad vlad is offline
Registered User
no team
 
Join Date: Nov 2007
Location: Singapore
Posts: 4
vlad is an unknown quantity at this point
Re: Help on programming.

thanks for the comments. having some problems trying to program it now. help any1?
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
PLEASE HELP!! Need help programming arm?? amirjpl Programming 12 15-03-2007 15:11
HELP-URGENT PROGRAMMING HELP NEEDED Rohith Surampudi Lego Mindstorm Discussion 1 24-03-2006 23:05
programming help... Shlomi32 Programming 1 08-12-2005 12:28
Programming Help TravisE Programming 1 01-02-2005 19:00
help programming aZnXsa1Nt Robotics Education and Curriculum 5 17-12-2002 15:00


All times are GMT -5. The time now is 19:35.

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