Go to Post Whoooo, just got my wheels from AM! Sometimes it's cool to live in Indiana. - IndySam [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 03-02-2007, 16:07
RyanW RyanW is offline
Registered User
FRC #0449 (Blair Robot Project)
Team Role: Programmer
 
Join Date: Feb 2007
Rookie Year: 2007
Location: MD
Posts: 40
RyanW has a spectacular aura aboutRyanW has a spectacular aura about
Interrupts with CMUCam

For our robot, we want to use a quadrature encoder so that we can move our manipulator to preset heights on the arm. I read the "Quadratuer Encoders" white paper, and modified the example code to work with one interrupt.
This works fine with the default code, but I noticed that on Kevin's CMUCam code, the use of serial_ports means that user_Serialdrv.c and user_Serialdrv.h must be deleted. Where, then, do I put the interrupt code, and how do I hook the encoder up to the robot controller? I read through serial_ports.c, but I didn't really see a place for an interrupt handler where I could add the encoder code...
 


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
Reading an encoder with interrupts GlennGraham FIRST Tech Challenge 4 25-08-2006 12:44
CMUcam Related Interrupts phrontist Programming 1 31-01-2006 23:01
Help with pots/interrupts mtrawls Programming 10 24-02-2004 17:01
help with Interrupts thoughtful Programming 5 08-01-2004 16:07
Problem with interrupts on the PIC Mike Betts Programming 7 16-12-2003 21:26


All times are GMT -5. The time now is 04:01.

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