Go to Post FIRST is all about going past theoretical limits. - Foster [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Events   CD-Media   CD-Spy   FRC-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 02-05-2005, 08:28 AM
stephenthe1 stephenthe1 is offline
Registered User
#1008
 
Join Date: Dec 2004
Location: Ohio
Posts: 113
stephenthe1 is on a distinguished road
default code vs. 2.4

hi,
we tried using the 2.4 default code, which supports the cmucam. The robot didn't respond to the joysticks or anything. Yet, the bot worked fine (the base of the bot we have finished so far) with vs. 2.2 of the default code (completely unmodified!!!). any suggestions? the electrical wiring has stayed the same. is there a newer vs. of ifi loader I need? I know the 2.4 code supports the cmucam, we didn't have that hooked up. but it shouldn't need it hooked up right? appreciate your help, thanks,
Stephen
  #2   Spotlight this post!  
Unread 02-05-2005, 11:02 AM
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: default code vs. 2.4

You can turn the camera off in 2.4 by opening the project and doing Project->Build Options->Project.

Locate the MPLAB C18 tab in the dialog that pops up and click it. Just click the '_USE_CMU_CAMERA' (or whatever it's called. It's obvious) and hit "Remove." Also make sure hte "Use alternate settings" is unchecked. You'll be warned by the compiler that there's a type mismatch with the printfs, but it doesn't matter. I think...
__________________

  #3   Spotlight this post!  
Unread 02-05-2005, 05:02 PM
Alan Anderson's Avatar
Alan Anderson Alan Anderson is online now
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 7,724
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Send a message via AIM to Alan Anderson
Re: default code vs. 2.4

Quote:
Originally Posted by stephenthe1
we tried using the 2.4 default code, which supports the cmucam. The robot didn't respond to the joysticks or anything. Yet, the bot worked fine (the base of the bot we have finished so far) with vs. 2.2 of the default code (completely unmodified!!!). any suggestions? the electrical wiring has stayed the same.
If you're using single-joystick drive, the proper pwm outputs changed between version 2.2 and 2.4 of the default code. Version 2.2 uses pwms 13-16. Version 2.4 uses pwm11 and pwm12.
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
Team THRUST - Kevin's Code and Camera Code Combine Chris_Elston Programming 3 01-31-2005 09:28 PM
Victors, Default code, & joystick configuration Vermatitis Control System 4 01-27-2005 03:01 PM
Default Code and printf WilsonDJ00 Programming 2 01-22-2005 03:39 PM
heres the code. y this not working omega Programming 16 03-31-2004 02:18 PM
Is default code already loaded? quickie25 Electrical 8 02-19-2004 09:51 PM


All times are GMT -5. The time now is 08:34 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi