Go to Post DonRotolo used COMMON SENSE. ... ... FIRST/Chief Delphi Community fainted! - PayneTrain [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 02-08-2007, 04:24 PM
razzoc razzoc is offline
Registered User
no team
 
Join Date: Feb 2007
Location: Canada
Posts: 2
razzoc is an unknown quantity at this point
Using kevin's code for driving and camera tracking

We am using Kevin's 2.1 Camera Code: Bells and Whistles version and could use some help with getting the driving and the camera tracking to work. We are using MPLab rather than easyC since most of us are used to MPLab.

So, looking around the forum, I found that I have to uncomment Default_Routine() to get the driving to work. I realize that this raises other problems like pwm outputs interfering. I have the all the configuration settings to fine-tune the camera tracking, and it works in the CMUCam2 GUI. I was also able to get the driving to work individually with the code provided by IFI. Now the problem is to get them to work together.

I'd like to know what else I would have to modify to make the code work smoothly. I have read alot of threads by people who have problems getting the camera tracking to work, but I still couldn't find a clear answer. Btw, I am using the default pwm outputs (Camera: 01, 02) (Drive motors: 13, 15). From what I've read, pwm ports 01 and 02 interfere with default_routines() being uncommented so what exactly do I need to edit?

This is our first year in the FRC competition so any help would be appreciated.

Last edited by razzoc : 02-08-2007 at 04:32 PM.
 


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
Problems Combining Camera Code and Driving Code cmurdoch Programming 20 02-10-2007 04:34 PM
Enabling Multiple Light Tracking Using Kevin's Code Mitch Programming 7 02-05-2007 06:17 AM
eclipse & Kevin's camera code dasRatsel Programming 22 02-17-2006 12:43 PM
problems using gyro/adc code with camera default code tanstaafl Programming 7 01-22-2006 11:09 PM
Team THRUST - Kevin's Code and Camera Code Combine Chris_Elston Programming 3 01-31-2005 10:28 PM


All times are GMT -5. The time now is 09:58 AM.

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