Go to Post Every team in FIRST can make this choice. Be positive, help others, and work like a maniac behind the scenes. This approach will bring you joy and satisfaction, whether you win or not. - OZ_341 [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 14-02-2007, 10:28
RDD RDD is offline
Registered User
no team
 
Join Date: Jan 2007
Location: Israel
Posts: 27
RDD is an unknown quantity at this point
Question help me plz

HI EVERYBODY!!!!

we have connected the camera correctly and when we downloaded the kevin's program " Version 2.1 of the "bells and whistles"to the RC. it wrote in the terminal window" camera not detected" or something like that. it is the first time we try to use this code. we connected the rc to oi by radio . i also have changed in the file "tracking.h" the pwms and also copied our Default_Routine in user_routines.c.

what we did wrong??
or what we have to change to make the camera work?

tnx for your help!!!

  #2   Spotlight this post!  
Unread 14-02-2007, 10:32
tdlrali tdlrali is offline
Registered User
FRC #0469 (Las Guerrillas)
Team Role: Programmer
 
Join Date: Sep 2006
Rookie Year: 2006
Location: MI
Posts: 377
tdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud of
Re: help me plz

How did you connect it?
Are you sure the camera is getting power? Are the little LEDs lighting up?
  #3   Spotlight this post!  
Unread 14-02-2007, 10:40
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: help me plz

Hmm..why did you double post?
Anyway my response is on your other thread:

http://www.chiefdelphi.com/forums/sh...&highlight=SOS
__________________
Amperage Robotics Team 1225
Site under-going revamp. :/

Last edited by pheadxdll : 14-02-2007 at 10:51.
  #4   Spotlight this post!  
Unread 14-02-2007, 10:48
Bomberofdoom's Avatar
Bomberofdoom Bomberofdoom is offline
Biggest FIRST addict in Israel
AKA: Nir Levanon
FRC #2230 (Zcharia's Angels)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Israel
Posts: 471
Bomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond repute
Send a message via MSN to Bomberofdoom
Re: help me plz

Check your TTL and connections.
  #5   Spotlight this post!  
Unread 14-02-2007, 10:53
RDD RDD is offline
Registered User
no team
 
Join Date: Jan 2007
Location: Israel
Posts: 27
RDD is an unknown quantity at this point
Re: help me plz

yes I will check the TTL but also I Want to ask you what I have exactly to change to make the robot moves towards the green light except the tracking pwms and why wheN I am moving the joysticks nothing happens with kevin's code ??
  #6   Spotlight this post!  
Unread 14-02-2007, 13:23
EricS-Team180's Avatar
EricS-Team180 EricS-Team180 is offline
SPAM, the lunchmeat of superheroes!
AKA: Eric Schreffler
FRC #0180 (SPAM)
Team Role: Engineer
 
Join Date: Apr 2002
Rookie Year: 2001
Location: Stuart, Florida
Posts: 561
EricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond repute
Re: help me plz

Quote:
Originally Posted by RDD View Post
yes I will check the TTL but also I Want to ask you what I have exactly to change to make the robot moves towards the green light except the tracking pwms and why wheN I am moving the joysticks nothing happens with kevin's code ??
Well let's see, first, Kevin's code does not call the ifirobotics routine, Default_Routine, in which the joystick to chassis pwm connection is made. He only wants to demo the camera capabilities and not let your 'bot run wild

To track the light, we decided to let the driver have a switch (the trigger on our single joystick) when he (or she) holds it, he has control of the y or forward motion. We use the camera servo position data, so nicely packaged by Kevin, and a PID control function to control the x or side-side motion. I'll leave the details of that to you
__________________

Don't PANIC!
S. P. A. M.
  #7   Spotlight this post!  
Unread 14-02-2007, 13:25
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: help me plz

You claim that your camera is connected properly, but the error message says it's not. Does the camera have power? The green light should be on. Is it getting data? The red light should flicker slightly.

We can't tell you what "exactly to change", because we don't know anything about your robot. It also isn't fair -- either to us or to you -- for us to do your work for you.

The reason none of the joysticks do anything in Kevin's camera code is because he has disabled the call to Default_Routine(). That's the function in the default code which copies joystick values to motor outputs. It conflicts with the servo tracking outputs, so before you put it back in, you'll have to change it to match how your robot is wired and avoid setting the camera servo pwm outputs.
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
program camera w/o RC? (was: PLZ HELP!!!) RDD Programming 2 31-01-2007 14:30
Aim high poster help plz? Clam Website Design/Showcase 3 07-02-2006 21:26
Missing Item plz help! Cory Chit-Chat 12 06-05-2003 00:39
Plz help with codec Chris Nowak 3D Animation and Competition 7 18-02-2003 16:15
HELP W/ CONVERTING FILES PLZ... Matt Attallah Chit-Chat 3 03-01-2002 18:47


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

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