View Single Post
  #1   Spotlight this post!  
Unread 27-01-2007, 21:23
abrockhoff abrockhoff is offline
Team 11 Programming Captain
AKA: Alex Brockhoff
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Mar 2006
Rookie Year: 2005
Location: New Jersey
Posts: 16
abrockhoff will become famous soon enough
Send a message via AIM to abrockhoff
Virtual Window Function

We've been working on splitting the view of the camera with the Virtual_Window() function that Kevin supplied. We haven't had much success, but I now have a few questions.

1. What we attempted to do was put the camera in Raw Mode by calling Raw_Mode(5); and then waiting for an ACK, but we never recieved a response from the camera. Does anyone have any idea why?

2. We checked for ACKs and NCKs by placing flags in the Camera_State_Machine. We saw that the flags were set during initialization, and we call Camera_Handler() in user_routines, why would it not step through the state machine and set the flag after initialization?

3. When calling the Virtual Window funtion, why does Kevin write VW and then 4 before sending out the coordinates? In the CMUcam documentation it simply tells you to write out the coordinates.

4. After writing out the Virtual_Window() function we also did not recieve an ACK or NCK, similar to the Raw_Mode problem stated above.