Go to Post Look past the robot. Look past your team. Science and technolgy are studies worth devoting your life too. - KenWittlief [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, 11:13
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
using servos with camera

how do you add servos to the camera....and also when the robot gets to the light how can you make the robot stop
  #2   Spotlight this post!  
Unread 01-02-2007, 11: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: using servos with camera

Read this document: http://www.chiefdelphi.com/forums/at...3&d=1168964099

You should be able to move your robot with the camera by the end.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
  #3   Spotlight this post!  
Unread 01-02-2007, 21:26
Jon Anderson's Avatar
Jon Anderson Jon Anderson is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Oct 2003
Rookie Year: 2004
Location: Indiana
Posts: 84
Jon Anderson is a glorious beacon of lightJon Anderson is a glorious beacon of lightJon Anderson is a glorious beacon of lightJon Anderson is a glorious beacon of lightJon Anderson is a glorious beacon of light
Send a message via AIM to Jon Anderson
Re: using servos with camera

Quote:
Originally Posted by team877 View Post
and also when the robot gets to the light how can you make the robot stop
The way that we're stopping our robot in autonomous mode is having the our motors stop once the tilt servo on our camera reads a certain amount, in our case it's currently at 200. Your code look roughly something like the following:

Code:
if (TILT_SERVO > 190) 
{
   LEFT_DRIVE = 127;
   RIGHT_DRIVE = 127;
}
TILT_SERVO being which ever output you choose (it's pwm slot 2 for the default Kevin code), and LEFT_DRIVE, RIGHT_DRIVE being their own respective pwms.
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 without servos kiettyyyy Programming 17 10-04-2006 21:45
problems using gyro/adc code with camera default code tanstaafl Programming 7 22-01-2006 23:09
servos and the camera incognito_NICK Programming 5 09-02-2005 00:00
Servos for the camera MV_Hirsch Programming 4 24-01-2005 16:35
using older servos pryoplasm Kit & Additional Hardware 4 24-01-2004 20:22


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