Go to Post They have a Woodie Flowers Finalist, Outstanding Volunteer and numerous UFH Awards to demonstrate this as well. You do not receive any of these accolades without doing something right. - J Flex 188 [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 16-05-2006, 22:27
Project X Project X is offline
Registered User
FRC #1862 (Red Knights), FRC #2070 (Ridgefield Robotics)
Team Role: Alumni
 
Join Date: Mar 2006
Rookie Year: 2005
Location: New Jersey
Posts: 7
Project X is an unknown quantity at this point
gyro/camera question

My team was using Easy C during the regionals with a dumper style robot and it worked great. During the off season we have modified the robot to be a shooter, and are trying to make it shoot during autonomous. We are using Easy C, and it is working fairly nicely, but I have a few questions.

There a drive function set up, which was taken from the camera code that came with Easy C. We have installed the gyro sensor, and it is working fine, but the question is how do you get the robot to turn a set amount of degrees (ex:90 degrees)? I have tried this but have not succeeded, and am curious to find out how this is done.The value the gyro is giving out is being called "heading".

The second question has to do with the camera. As of now the camera is tracking without the servos, but I would like to know how can we start the servos while tracking? In the servo option under the camera, when the value is either 0 or 1 for the pan and tilt servos, I am assuming this means that the servos are either on or off. When I tried putting both to 1, the servos were not being used.

Any help will be greatly appreciated.
__________________
 


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 question naor52 Programming 8 03-02-2006 00:07
problems using gyro/adc code with camera default code tanstaafl Programming 7 22-01-2006 23:09
Camera Question fred Control System 3 13-02-2005 14:25
Camera Question fred Electrical 3 13-02-2005 14:25
Gyro/Balance question MattK General Forum 10 21-09-2003 19:43


All times are GMT -5. The time now is 17: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