Go to Post 71% efficiency is best efficiency. ;) - Chris is me [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 29-01-2007, 02:08
ace123's Avatar
ace123 ace123 is offline
Registered User
AKA: Patrick Horn
FRC #0008 (Paly Robotics - http://robotics.paly.net/)
Team Role: Programmer
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Palo Alto, CA
Posts: 50
ace123 has a spectacular aura aboutace123 has a spectacular aura about
Send a message via AIM to ace123
Re: Moving bot once targeted on the light

Try something other than 255... I believe 255 is a special value.

Try like 180, which is in the middle, way out of the deadband and not the maximum

Or, you could try 250, and see if the Victor light becomes red

(FYI: The Victor light is the most accurate source if you are stuck with a PWM value problem... that one light tells you a lot of info. If it is flashing orange, it's a 3-pin PWM cable problem, or it's set to a special value that disables it (like if your robot is detached). If it's completely off once you run the code, the motors are running slowly or half-speed. If it's solid orange, they are inside the deadband or completely stopped. If it's bright red or green, it's running full power in forward or reverse.)
__________________
-Patrick Horn, Paly Robotics

Check out the space simulator called Vega Strike, modelled after the space simulator games Elite and Wing Commander. It's Open Source too!
If you have ever played Wing Commander, or especially Privateer, and had a feeling of nostalga derived from the you will enjoy these two Vega Strike mods: Privateer Gemini Gold and Privateer Remake!
I'm working on adding multiplayer support this year...
  #2   Spotlight this post!  
Unread 30-01-2007, 12:33
pheadxdll pheadxdll is offline
Registered User
AKA: Alex
FRC #1225 (Amperage Robotics)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: North Carolina
Posts: 168
pheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud of
Re: Moving bot once targeted on the light

I found that CAMERA_ON_TARGET state goes on and off too much to do any good. I've tried this state and it works realiby:

Code:
if( Get_Tracking_State() == SEARCHING)
{
    pwm10 = pwm08 = 127;
}
else
{
    pwm10 = pwm08 = 135; // 135 is nothing unless its a really geared down motor :)
}
The SEARCHING state works great and I was able to keep a spike on with relay output.
__________________
Amperage Robotics Team 1225
Site under-going revamp. :/
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
Keepers in Teleoperated mode burkey_turkey Rules/Strategy 47 05-03-2007 12:56
camera trouble,cant tell the green-light from regular white light Nimmy Programming 26 14-01-2007 14:53
How will the Balls Change once FIRST Paints them Mr.G General Forum 28 24-01-2006 23:07
Moving the Nats. Date? roboTICKS-236 General Forum 4 19-03-2003 22:49
ONCE AGAIN, EVERYONE TELL ME THE ANSWER! =) archiver 2001 2 24-06-2002 02:42


All times are GMT -5. The time now is 23:50.

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