Go to Post This is an open forum and it is a privilege to post here, if you don't agree with the rules then just don't post here. - dez250 [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 01-02-2007, 21:59
team877's Avatar
team877 team877 is offline
Registered User
FRC #0877 (Cub Robotics)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2001
Location: North Dakota
Posts: 52
team877 is an unknown quantity at this point
get cam to stop

How can i get my robot to stop in autonomous mode when it gets so close to the light??
  #2   Spotlight this post!  
Unread 01-02-2007, 22:05
kitscuzz's Avatar
kitscuzz kitscuzz is offline
Not alotta posts
AKA: Kit
FRC #1389 (Worst Case Scenario)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Home
Posts: 47
kitscuzz will become famous soon enough
Re: get cam to stop

Try checking the tilt variable in tracking.c
If it exceeds a certain value, then your camera is looking really high up, and you need to stop.

Another idea (a bad one with the possibility of two lights), is to use blobsize. Blobsize is in the variable (unsigned int)T_Packet_Data.pixels

Note that both of these are aribtrary values, they depend on how you set up your equipment. If your light is sitting at the same height as your camera, the tilt will never change and the robot will never stop.

Last edited by kitscuzz : 01-02-2007 at 22:08.
  #3   Spotlight this post!  
Unread 02-02-2007, 19:25
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: get cam to stop

If your camera is on the servos, look at the tilt variable and do some trigonometry.

If your camera is not on a tilt servo, look at the y axis error and do the same thing.
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
**FIRST EMAIL**/Get Ready...Get Set...Triple Play Begins! Rich Wong FIRST E-Mail Blast Archive 0 01-03-2005 22:33
How to get the robot to stop... KoRnPoP Programming 4 20-01-2005 17:33
the E-Stop Greg Needel Rules/Strategy 10 13-04-2003 22:13
Stop the madness!!! MissInformation Chit-Chat 38 17-04-2002 18:15
Stop complaining nuggetsyl General Forum 3 05-02-2002 00:39


All times are GMT -5. The time now is 04:00.

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