Thread: CmuCam problem
View Single Post
  #15   Spotlight this post!  
Unread 19-01-2006, 15:31
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,355
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: CmuCam problem

Quote:
Originally Posted by Zoom
Servos are hooked up to pwm01 & 02? YES
Camera power is connected by PWM cable to an empty RC PWM output? YES
PWM cable is attached to the camera serial port and the RC via TTL converter? YES
Backup battery is connected to the RC and fully charged? YES
12v battery is hooked up to the RC and fully charged? YES
OI is tethered or linked by radio to the RC and powered?YES
Green power LED on the camera power is on? YES
Can you call up Kevin's tracking and camera menus? YES
Did you test separately with Labview?YES

everything is fine. But the servos dont move. even if you try to move them through the menu.
This is just a shot in the dark. By any wild chance, are the lines in user_routines.c/Default_Routine that assign the joystick inputs to the PWM outputs not commented out?
If they are uncommented, then they are being processed after the camera code, and therefore, are overwriting the values set by the camera code.

During testing they should look like this.

Code:
//pwm01=p1_y;
//pwm02=p2_y;
or this
Code:
/*pwm01=p1_y;
  pwm02=p2_y;*/
Kevin's code, without any modifications, doesn't actually call the Default_Routine function. It is commented out in the Process_Data_From_Master_uP function. Therefore, the PWM mappings never get called. If your version of user_routines.c is not from his camera code build, that may be what is happening.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist

Last edited by billbo911 : 19-01-2006 at 15:38.