Go to Post Y'know... I think I'd much rather have big balls than hang myself... - FotoPlasma [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #16   Spotlight this post!  
Unread 13-03-2007, 19:02
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,383
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: Attaching the CMUcam to the Vex controller

Quote:
Originally Posted by Culvan Van Li View Post
I made a custom cable to connect the TTL serial to the VEX ports that are next to the digital16 port....and I've got a second laptop connected to the RS232 serial port on the camera monitoring it with Procom plus.

The servos start panning all over the place and I get "searching..." messages. The camera never seems to lock onto anything (incluging my green target).


Andy
To quote one of the "Myth Busters" "There's your problem right there"

The CMU Cam can not drive both the TTL and RS232 connections at the same time. So, when the controller never receives tracking data from the camera, it just keeps searching. Try disconnecting the RS232 to the second laptop. You should start seeing better performance.
__________________
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
Reply With Quote
  #17   Spotlight this post!  
Unread 15-10-2007, 16:02
yara92's Avatar
yara92 yara92 is offline
M.Fawdah Mechanical engineering
AKA: Mohamed
FRC #1946 (Mechka Monster)
Team Role: RoboCoach
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Israel
Posts: 236
yara92 will become famous soon enoughyara92 will become famous soon enough
Re: Attaching the CMUcam to the Vex controller

Hi Andy!
I tried this long way I Confused with the friends helping me how to connect and different codes but I did not succeed the camera dos not Tracking.
So may be you did not given up and you succeed to work it out.
Please try to send me any information met help. I'm struggling to get it working with the vex kit.
Mohamed team 1946
Reply With Quote
  #18   Spotlight this post!  
Unread 23-10-2007, 17:10
Culvan Van Li's Avatar
Culvan Van Li Culvan Van Li is offline
Jack-Of-All-Trades
AKA: Andy
FRC #1939 (Kuh-Nig-Its)
Team Role: Engineer
 
Join Date: Sep 2006
Rookie Year: 2006
Location: Kansas City, MO
Posts: 36
Culvan Van Li is on a distinguished road
Re: Attaching the CMUcam to the Vex controller

I did make some more progress on this, but I haven't worked on it for months. I was able to get the camera to find objects. My previous setup worked (even the part about having two laptops connected at the same time.) I can't get the tracking code to properly control my servos, but that's a different problem.

My problem was that I was calibrating the search color in Labview and it was defaulting to RGB mode. The default camera code from Kevin Watson is in YCrCb mode. It will work with both set the same way, but YCrCb is closer to the way the camera sees the world. RGB is basically calculated from the YCrCb data. You will probably have better results using YCrCb.

The setting is controlled inside the COMA register on the camera. It's only one bit so you will change it by adding or subtracting that bit (the number 8, I believe). I found the following thread that clued me into my problem.

http://www.chiefdelphi.com/forums/sh...highlight=COMA

Hope this helps.

Andy
Reply With Quote
Reply


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
IR on the Vex controller? jgarbers FIRST Tech Challenge 0 18-04-2006 14:07
Making the VEX OI (controller) beep? ForgottenSalad FIRST Tech Challenge 2 27-03-2006 08:50
Attaching the Fisher Price sburro Motors 4 14-01-2006 13:47
Attaching Potentiometers to VEX billbo911 FIRST Tech Challenge 9 07-07-2005 19:03
Attaching the Gears and sprockets to the shaft archiver 2001 2 23-06-2002 23:18


All times are GMT -5. The time now is 18:23.

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