Go to Post Teams should spend more time talking about how to avoid penalties during their strategy sessions. - Rob [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 11-01-2007, 21:27
Lablabla Lablabla is offline
Registered User
AKA: Carmel Barak
FRC #1957 (LighTeam)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Israel
Posts: 25
Lablabla is an unknown quantity at this point
Question 2007 Servos Question

Hi,
i've been working on the camera module 2day, got it all assembled and calibrated.
I've noticed that the pins for the servos on the Camera PCB itself are gone,
Yet we still got the Pan/Tilt thingies to assemble, which means we can drive them.
I've looked at Kevin's code from his site, and i saw that the PWM0/1 (or 1/2, don't remember right now, it's 04:22 am) is for the Pan/Tilt.
My question is, Is the new code refering to the RC pwm? so I connect the servos cable to the RC PWM0/1 and the code is configured to work?

Another Question,
when i read the workbook for the CMUcam2, it says to download the entire project of the camera (Streamlined) to the RC. my question is, If I want to mix it with my main program, built on the FRC 2007 Default Code, How can I do that? just include camera.h/.c in my project and download and it works? or should i add another files (library and stuff) or is it in a totaly different way?
Thanks alot!
Carmel
  #2   Spotlight this post!  
Unread 11-01-2007, 22:06
teh_pwnerer795 teh_pwnerer795 is offline
Registered User
AKA: !!Mitch!!
FRC #1392
Team Role: Programmer
 
Join Date: Nov 2006
Rookie Year: 2006
Location: Ajax, Canada
Posts: 142
teh_pwnerer795 is just really niceteh_pwnerer795 is just really niceteh_pwnerer795 is just really niceteh_pwnerer795 is just really nice
Send a message via MSN to teh_pwnerer795 Send a message via Yahoo to teh_pwnerer795
Re: 2007 Servos Question

first question.. yes .. hook up ur two servos to ur pwm's .. the tilt i believe is pwm01 and pan is pwm02

secondly download frc_camera_s2.zip... that is the streamlined version ... it includes everything u need unlike the "bells and whistles".... it pretty easy... if u have any questions just PM or start a new thread.... this year... to use the camera... its good to read camera.c, terminal.c, and tracking.c to get to noe the funtions it provides

EDIT: the frc_camera_s2.zip contains everything... user_routines, camera, terminal, everything
__________________
Great Art is Created; Master Pieces are Stolen

[n00b]Teh_Foxdonut teh_pwnerer795 - CounterStrike:Source
  #3   Spotlight this post!  
Unread 12-01-2007, 13:04
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: 2007 Servos Question

The headers for the servos are gone, but the solder points and the code are still there.

Other than the removal of headers, the camera is identical to previous years'.

Watch the Q&A for using the camera and servos. They said it was fine last year (without any mention in the manual), but this is a new year. There's nothing in the Q&A system currently on the topic for 2007.
  #4   Spotlight this post!  
Unread 12-01-2007, 13:58
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: 2007 Servos Question

Quote:
Originally Posted by Astronouth7303 View Post
The headers for the servos are gone, but the solder points and the code are still there.
According to Kevin Watson, the processor having the necessary output pins is no longer available, so the camera board this year does not have the capability of driving servos.

http://www.chiefdelphi.com/forums/sh...8&postcount=12
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
2007 Canadian kick-off Jan-6-2007 media coverage Mark Rozitis FIRST In the News... 3 07-01-2007 18:31
Question about servos Xevvie Programming 1 28-11-2006 20:27
Championship 2007 Question Eugenia Gabrielov Championship Event 19 15-09-2006 20:14
servos Thadanator Motors 13 04-05-2005 16:57
servos savage Technical Discussion 5 09-04-2005 20:52


All times are GMT -5. The time now is 20:45.

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