Go to Post Great people like you both [Scott and Libby Ritchie] make the FIRST community even better! - tiffany34990 [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

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 10-02-2007, 09:40
wingnut1705's Avatar
wingnut1705 wingnut1705 is offline
Registered User
AKA: Kevin
FRC #0453 (Gears)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Michigan
Posts: 53
wingnut1705 is an unknown quantity at this point
Send a message via AIM to wingnut1705
Driving in Camera Code

I'm having problems being able to drive the robot with Kevin's camera code
When I enable the robot the motors start humming like normal, but the joysticks are not doing anything. Also the victors have no light on.

How do I solve this problem?
  #2   Spotlight this post!  
Unread 10-02-2007, 10:31
geeknerd99's Avatar
geeknerd99 geeknerd99 is offline
Fire Hazard
AKA: Daniel Lin
FRC #0401 (Hokie Guard)
Team Role: Programmer
 
Join Date: Oct 2004
Rookie Year: 2005
Location: Blacksburg, VA
Posts: 276
geeknerd99 has much to be proud ofgeeknerd99 has much to be proud ofgeeknerd99 has much to be proud ofgeeknerd99 has much to be proud ofgeeknerd99 has much to be proud ofgeeknerd99 has much to be proud ofgeeknerd99 has much to be proud ofgeeknerd99 has much to be proud ofgeeknerd99 has much to be proud ofgeeknerd99 has much to be proud of
Send a message via AIM to geeknerd99 Send a message via MSN to geeknerd99 Send a message via Yahoo to geeknerd99
Re: Driving in Camera Code

I believe the calling of default_routine() in user_routines.c is commented out, and it explains for safety reasons and yadda yadda because it uses PWMs 1 and 2, which are usually drive on many teams.

Go to *I think* tracking.h (or camera.h if that's not it), and change the PWMs of your pan-tilt servos to whatever you want. Then uncomment the calling of default_routine() in user_routines.c. You should now be able to drive.
__________________
  #3   Spotlight this post!  
Unread 10-02-2007, 11:17
wingnut1705's Avatar
wingnut1705 wingnut1705 is offline
Registered User
AKA: Kevin
FRC #0453 (Gears)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Michigan
Posts: 53
wingnut1705 is an unknown quantity at this point
Send a message via AIM to wingnut1705
Re: Driving in Camera Code

yeah that was it

thanks
Closed Thread


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
Using kevin's code for driving and camera tracking razzoc Programming 3 18-02-2007 08:50
Problems Combining Camera Code and Driving Code cmurdoch Programming 20 10-02-2007 16:34
problems using gyro/adc code with camera default code tanstaafl Programming 7 22-01-2006 23:09
Code error on RC after downloading "bells and whistles" version of Kevins camera code DanDon Programming 6 10-01-2006 18:07
Team THRUST - Kevin's Code and Camera Code Combine Chris_Elston Programming 3 31-01-2005 22:28


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

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