Go to Post We're not behind, the rest of the world is ahead! Yeah. Thats it. - Curtis Williams [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
View Poll Results: Did your team use the Camera?
No 19 28.79%
Yes 47 71.21%
Voters: 66. You may not vote on this poll

Reply
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 05-03-2009, 15:09
Akash Rastogi Akash Rastogi is offline
Jim Zondag is my Spirit Animal
FRC #2170 (Titanium Tomahawks)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Manchester, Connecticut
Posts: 7,009
Akash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond repute
Re: Is anyone using the Camera?

We used our camera at Trenton along with a few other sensors that we'll try to perfect at Philly. At the moment we've only risked trying to score 2 balls in autonomous while placing the other 5 in our conveyor ready to load the hopper in teleop. We were extremely proud of our programmers for making it track very well.
__________________
My posts and opinions do not necessarily reflect those of my affiliated team.
['16-'xx]: Mentor FRC 2170 | ['11-'13]: Co-Founder/Mentor FRC 3929 | ['06-'10]: Student FRC 11 - MORT | ['08-'12]: Founder - EWCP (OG)
Reply With Quote
  #17   Spotlight this post!  
Unread 05-03-2009, 15:16
gorrilla's Avatar
gorrilla gorrilla is offline
1557 alumni, 4639 mentor
AKA: adam spears
FRC #4639 (RoboSpartans)
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2007
Location: Houston
Posts: 958
gorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant future
Re: Is anyone using the Camera?

we're using it,

we have it working perfectly


All Zach has to do it aim the turret towards a trailer, and then the camera takes over and follows it.
__________________
Adam Spears



Team 1557 2007-2011 student-Lake County FL

Current Team 4639 mentor- Houston TX
Reply With Quote
  #18   Spotlight this post!  
Unread 05-03-2009, 18:27
slavik262's Avatar
slavik262 slavik262 is offline
We do what we must because we can.
AKA: Matt Kline
FRC #0537 (Charger Robotics)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Sussex, WI
Posts: 310
slavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to behold
Send a message via AIM to slavik262
Re: Is anyone using the Camera?

We're having some difficulties with the camera.

It's working, but response time is ridiculously slow (> 0.5 seconds). I'm not quite sure what's causing it. I'm just using the FindColor() function provided in the API, and I even tried to speed that up by allowing multiple calls to use the same image (so that you don't have to get a new image for each call). Still no luck.

The only thing thing that I can think of as the cause is that I'm using a multi-tasking system (the drive train, collector system, and shooter system all have their own tasks, using a buffering system of my design). I don't see how they would be slowing things down to that point, however, as all other tasks have very fast response times ( < 0.05 seconds).

Any ideas what may be the problem?
__________________
Reply With Quote
  #19   Spotlight this post!  
Unread 05-03-2009, 21:26
gorrilla's Avatar
gorrilla gorrilla is offline
1557 alumni, 4639 mentor
AKA: adam spears
FRC #4639 (RoboSpartans)
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2007
Location: Houston
Posts: 958
gorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant future
Re: Is anyone using the Camera?

Quote:
Originally Posted by slavik262 View Post
We're having some difficulties with the camera.

It's working, but response time is ridiculously slow (> 0.5 seconds). I'm not quite sure what's causing it. I'm just using the FindColor() function provided in the API, and I even tried to speed that up by allowing multiple calls to use the same image (so that you don't have to get a new image for each call). Still no luck.

The only thing thing that I can think of as the cause is that I'm using a multi-tasking system (the drive train, collector system, and shooter system all have their own tasks, using a buffering system of my design). I don't see how they would be slowing things down to that point, however, as all other tasks have very fast response times ( < 0.05 seconds).

Any ideas what may be the problem?
are you using any sensors?

we have a gyro and accelerometer and 7 motors all running and there's no delay....

is it on a rotating turret?

we had this problem, but solved it by decreasing the speed of the rotation and now it lock on in under .5 second from 6 feet....


although our camera is set to only track pink....
__________________
Adam Spears



Team 1557 2007-2011 student-Lake County FL

Current Team 4639 mentor- Houston TX

Last edited by gorrilla : 05-03-2009 at 21:41.
Reply With Quote
  #20   Spotlight this post!  
Unread 05-03-2009, 21:52
slavik262's Avatar
slavik262 slavik262 is offline
We do what we must because we can.
AKA: Matt Kline
FRC #0537 (Charger Robotics)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Sussex, WI
Posts: 310
slavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to behold
Send a message via AIM to slavik262
Re: Is anyone using the Camera?

We are using sensors. We have 4 encoders hooked up to the drive train (we're using an omni system). It's not the lock-on that's the problem. I could tune that fairly easily. The problem is the actual return rate of the function I'm using to get target data. I've put in some prints for debugging and the actual function only returns at > 0.5 seconds. The actual tracking works perfectly; the problem is that it's too slow.

I'm planning on trying an approach closer to what is used in the two color demo. We'll see if that gives us any luck.
__________________
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
Anyone using the Accelerometer ? de_ Sensors 1 27-11-2009 14:44
Getting the Image from the Camera Using Windriver (C++) computerish C/C++ 0 17-01-2009 16:03
Where do I begin to get the robot to move using the camera? Ianuser Programming 10 16-02-2007 17:55
Using Easy C to program the camera. Tazlikesrobots Programming 5 19-02-2006 21:33
Is Anyone Using Motors to Hoist themselves off the platform on the bar? xxlshortys Motors 36 25-02-2004 01:06


All times are GMT -5. The time now is 16:58.

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