Go to Post FRC is a game of mentors. The best teams are guided by mentors who know how to balance on the knife edge of pushing the envelope and achieving success. - Mr. Van [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
  #4   Spotlight this post!  
Unread 17-02-2006, 15:29
TuaMater TuaMater is offline
Registered User
FRC #1895
 
Join Date: Jan 2006
Location: Manassas
Posts: 10
TuaMater is on a distinguished road
Re: Autonomous Camera Stupidity

Okay I tried that and it didn't change anything. Essentially what happens is that when we stick it into autonomous mode, the camera doesn't seem to be getting any input from the PWMs, since I am able to move it manually, unlike normally when the code is running the servos will provide a good deal of resistance against realigning it with my hand. So I'm guessing there's some problem with it outputting to the PWMs 1 and 2.

Also, since our dongle isn't finished, we're sticking it into autonomous using team #0 and removing the tether. When we put the tether back in and reset, everything works fine. I don't know if the way we're sticking it into autonomous has anything to do with our problem, but I doubt it.

Anyone have any ideas? I'm gonna be here all night playing to see if the PWM outputs or lack thereof is the issue like I think it is.

EDIT: Tested this out. It seems for some reason that the PWM outputs are not going to the camera. I did a printf on the values going out of 1 and 2 and they coincide with the correct values for searching. So for some reason, when we start autonomous mode, the controller is not correctly sending out the PWMs to the camera.

EDIT #2: Problem fixed. It was a problem with removing the tether and putting it into autonomous that way. Once I set it to trigger autonomous through the joystick it worked just fine. Thanks again for the help.

Last edited by TuaMater : 17-02-2006 at 17:10.
 


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
How should we call camera tracking functions during autonomous mode? SHerpich Programming 1 15-02-2006 18:33
Camera shows no love to drive motors anifinder Programming 4 13-02-2006 10:31
camera in autonomous LightWaves1636 Programming 1 12-02-2006 00:20
Autonomous With Camera schenkin Programming 20 16-02-2005 23:52


All times are GMT -5. The time now is 15:22.

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