Go to Post It's rather simple: you start with a block of solid and remove material until you just have the robot left. Kind of like making a sandcastle. Only harder. - petek [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 12-01-2006, 23:13
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
Unhappy LabVIEW - CMUcam finds target but cant track

In labview, we have the camera able to find the target, as in the red circle is locked on the green light, but then the camera starts panning to the left, even though the red circle is still locked on to the green target.. once the camera has panned too much the camera loses the target...

Any ideas?
  #2   Spotlight this post!  
Unread 12-01-2006, 23:50
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: LabVIEW - CMUcam finds target but cant track

Quote:
Originally Posted by bear24rw
In labview, we have the camera able to find the target, as in the red circle is locked on the green light, but then the camera starts panning to the left, even though the red circle is still locked on to the green target.. once the camera has panned too much the camera loses the target...

Any ideas?
We had a similar problem, but with tilt, we ended up having to set a jumper to reverse the tilt tracking on the camera. The 2005 CMUcam getting started PDF showed the header assignments, but the Pan and Tilt Reverse jumpers were reversed, but otherwise correct, so that PDF can help you place it, just remember to swap them.
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
  #3   Spotlight this post!  
Unread 13-01-2006, 00:06
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
Re: LabVIEW - CMUcam finds target but cant track

Quote:
Originally Posted by Matt Krass
We had a similar problem, but with tilt, we ended up having to set a jumper to reverse the tilt tracking on the camera. The 2005 CMUcam getting started PDF showed the header assignments, but the Pan and Tilt Reverse jumpers were reversed, but otherwise correct, so that PDF can help you place it, just remember to swap them.
Awsome, that sounds good... i'll try it out tommorow night

Thanks
  #4   Spotlight this post!  
Unread 13-01-2006, 08:24
Phreakuency's Avatar
Phreakuency Phreakuency is offline
Registered User
AKA: Chris Lamport
#1058 (PVC Pirates)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Londonderry
Posts: 11
Phreakuency will become famous soon enough
Lightbulb Initialize auto servo

I don't know what the command is I forget, but I know that there is a command to initialize the servos to track a color, and that needs to be put in before the camer a can move on its own accord.
Sincererely,
Phreakuency
__________________
~~All parts should go together without forcing. You must remember that the parts you are reassembling were disassembled by you. Therefore, if you can't get them together again, there must be a reason. By all means, do not use a hammer. (1925 IBM Maintenence Manual)~~
  #5   Spotlight this post!  
Unread 13-01-2006, 08:33
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
Re: LabVIEW - CMUcam finds target but cant track

You can send commands to the camera through LabVIEW, or do i acually need to go into hyperterminal or somthing like that...?
  #6   Spotlight this post!  
Unread 13-01-2006, 09:17
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 591
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: LabVIEW - CMUcam finds target but cant track

Quote:
Originally Posted by bear24rw
You can send commands to the camera through LabVIEW, or do i acually need to go into hyperterminal or somthing like that...?
The LabView code sends the commands to the camera semi-automatically. So you shouldn't need to use a terminal emulator if you are using LabView.

After you change any parameters remember to hit the "Upload config to camera" button on the interface. And you can't change parameters while it's tracking. In other words, stop tracking, make the changes, upload the changes, then start tracking again.
  #7   Spotlight this post!  
Unread 13-01-2006, 21:43
Rombus's Avatar
Rombus Rombus is offline
Registered User
AKA: Rick Kosbab
FRC #4188 (Columbus Space Program)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Opelika, AL
Posts: 346
Rombus is a jewel in the roughRombus is a jewel in the roughRombus is a jewel in the rough
Send a message via AIM to Rombus
Re: LabVIEW - CMUcam finds target but cant track

Quote:
Originally Posted by bear24rw
In labview, we have the camera able to find the target, as in the red circle is locked on the green light, but then the camera starts panning to the left, even though the red circle is still locked on to the green target.. once the camera has panned too much the camera loses the target...

Any ideas?
We had the exact same problem today. Try a jumper on the Pan Servo Reverse pins, after that it tracked fine! Good luck!
__________________


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
National Instruments LabVIEW and Data Acquisition Forum Danny Diaz National Instruments LabVIEW and Data Acquisition 1 16-01-2006 13:20
What is LabVIEW fred LabView and Data Acquisition 14 05-01-2006 02:04
CMUcam 2 problems KChampion Programming 1 07-06-2005 10:39


All times are GMT -5. The time now is 21: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