Go to Post This whole experience, the entirety of what FIRST represents and promotes, is about inspiring individuals to make something more of themselves and creating a better world; when you consider this, our individual victories seem meaningless. - Dillon Compton [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 19-01-2007, 09:48
hanan hanan is offline
Registered User
no team
 
Join Date: Jan 2007
Location: Israel
Posts: 14
hanan has a spectacular aura abouthanan has a spectacular aura about
camera escaping

Hi,
Using easyC, 2007kickoffDemo.
Camera is running away from the green light.
Tried to upside down camera, as one of Kevin's tips, still didn't help.
it's tilt axis is in the lens line.
have any idea?
Thanks.
  #2   Spotlight this post!  
Unread 19-01-2007, 10:00
DustinB_3 DustinB_3 is offline
Registered User
FRC #0935 (Railerobotics)
Team Role: Leadership
 
Join Date: Nov 2005
Rookie Year: 2001
Location: Newton, Kansas
Posts: 78
DustinB_3 is an unknown quantity at this point
Re: camera escaping

Try flipping the sero axis. I am not sure how to do it in easyc but with mplab you can use the terminal window.
  #3   Spotlight this post!  
Unread 19-01-2007, 10:16
hanan hanan is offline
Registered User
no team
 
Join Date: Jan 2007
Location: Israel
Posts: 14
hanan has a spectacular aura abouthanan has a spectacular aura about
Re: camera escaping

you mean, flip between their two psm's?
still doesn't work.
Also when restart, its position start is in in the middle. both pan and titl has some angle.
I put the green light, right under the lens, nothing happened. than started to rise it, and instead of lowring itself toward the light, it risen, as for escaping from it.
when put it aside, nothing happened. only when I was really close, then a gain - tun away.

I used easyC 2007kickOffdemo. didn't calibrate camera. Do i need to (also it will not affect why it's running away).

Thanks.
  #4   Spotlight this post!  
Unread 19-01-2007, 15:23
lynca's Avatar
lynca lynca is offline
Andrew Lynch
FRC #2587 (DiscoBots)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2001
Location: Houston, TX
Posts: 1,611
lynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond repute
Send a message via AIM to lynca
Re: camera escaping

If you look through the code for Kevin Watson's camera project,

in tracking.h
Code:
// If your camera suddenly moves away from the target once
// it finds it, you'll need to change the sign on one or
// both of these values. Start with the tilt first.
#define PAN_ROTATION_SIGN_DEFAULT -1
#define TILT_ROTATION_SIGN_DEFAULT 1
__________________
History: 624 - Cryptonite --> 118 - Robonauts --> 2158 - AusTIN CANS --> 2587 DiscoBots
Bio: Andrew Lynch "How I Work" ---- LinkedIn , Facebook, Twitter
  #5   Spotlight this post!  
Unread 19-01-2007, 23:21
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: camera escaping

Just put a negative in front of the step size in the defines. Hit F6 in easyC to view defines.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
  #6   Spotlight this post!  
Unread 21-01-2007, 03:22
hanan hanan is offline
Registered User
no team
 
Join Date: Jan 2007
Location: Israel
Posts: 14
hanan has a spectacular aura abouthanan has a spectacular aura about
Re: camera escaping

Thanks again Kingofl337.
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
CAMERA Slick Programming 30 10-02-2007 13:30
Camera Success?? Warren Boudreau Programming 3 16-03-2006 17:55
Camera Help (New to Camera Programming) Idaman323 Programming 6 14-01-2006 03:56
Camera Question fred Control System 3 13-02-2005 14:25
Camera Servo Obi Programming 2 30-01-2005 17:09


All times are GMT -5. The time now is 10:43.

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