Go to Post We appreciate the time/effort of everyone who contributes to Chief Delphi... hopefully, someday soon we'll be experienced/seasoned enough to contribute advice ourselves... - Michael Blake [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
  #1   Spotlight this post!  
Unread 04-03-2009, 23:56
MrForbes's Avatar
MrForbes MrForbes is offline
Registered User
AKA: Jim
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Sierra Vista AZ
Posts: 6,020
MrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond repute
Re: Is anyone using the Camera?

We'll find out next week whether or not we use it...it's mounted, programmed, and was kind of working when the robot shipped.

Some recalibration required
Reply With Quote
  #2   Spotlight this post!  
Unread 05-03-2009, 00:10
writchie writchie is offline
Engineering Mentor
AKA: Wally Ritchie
FRC #2152 (Team Daytona)
Team Role: Coach
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Daytona Beach, Florida
Posts: 148
writchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond repute
Re: Is anyone using the Camera?

Based on what we saw in week 1 matches, we changed our camera focus to the live streaming. It appears that using live video 160x120 @25fps scaled up in our python dashboard to 320x240 is going to more valuable to the driver to aid in picking up moon rocks than for tracking targets, although we hope to get near instant mode switching working by the FL regional.
Reply With Quote
  #3   Spotlight this post!  
Unread 05-03-2009, 02:17
comphappy comphappy is offline
Registered User
AKA: Brennan Ashton
FRC #2605 (A2D_16)
Team Role: Leadership
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Bellingham, WA
Posts: 157
comphappy is a splendid one to beholdcomphappy is a splendid one to beholdcomphappy is a splendid one to beholdcomphappy is a splendid one to beholdcomphappy is a splendid one to beholdcomphappy is a splendid one to beholdcomphappy is a splendid one to behold
Send a message via AIM to comphappy
Re: Is anyone using the Camera?

We have a lock mode that we could not shake in the shop, we will have to see how that turns out on the field, I am concerned about the lighting issues mentioned in another thread. We found effective lock code was nearly impossible without the use of separate tasks in C++ (I dont know about labview nor do I care).

Note that semaphores are very important in this, and I recommend that you do not use the WPI "restricted region" (which is not much of an abstraction anyway) and access the vxWorks semaphores directly there are different types and they are each for very different situations.
__________________
A2D Solving the Imaginary Error Function...
Reply With Quote
  #4   Spotlight this post!  
Unread 05-03-2009, 06:26
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: Is anyone using the Camera?

Quote:
Originally Posted by writchie View Post
Based on what we saw in week 1 matches, we changed our camera focus to the live streaming. It appears that using live video 160x120 @25fps scaled up in our python dashboard to 320x240 is going to more valuable to the driver to aid in picking up moon rocks than for tracking targets, although we hope to get near instant mode switching working by the FL regional.
do you remember that our bandwidth is being limited to ~950 bytes every 0.02 seconds (50 hz)? i don't think that will work.
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Reply With Quote
  #5   Spotlight this post!  
Unread 05-03-2009, 07:56
Team 135 Team 135 is offline
Registered User
FRC #0135 (Penn Robotics)
 
Join Date: Jan 2008
Rookie Year: 1998
Location: Mishawaka, Indiana
Posts: 139
Team 135 will become famous soon enough
Re: Is anyone using the Camera?

We have some prelim code done and tested, the problem is that our bot will fall into osculation because of the low traction. We ended up not using it at our 1st regional because of that. We are working on that now and hope to have it up and going for Purdue.
Reply With Quote
  #6   Spotlight this post!  
Unread 05-03-2009, 08:01
Taylor's Avatar
Taylor Taylor is offline
Professor of Thinkology, ThD
AKA: @taylorstem
FRC #3487 (Red Pride Robotics)
Team Role: Teacher
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Indianapolis, IN, USA 46227
Posts: 4,600
Taylor has a reputation beyond reputeTaylor has a reputation beyond reputeTaylor has a reputation beyond reputeTaylor has a reputation beyond reputeTaylor has a reputation beyond reputeTaylor has a reputation beyond reputeTaylor has a reputation beyond reputeTaylor has a reputation beyond reputeTaylor has a reputation beyond reputeTaylor has a reputation beyond reputeTaylor has a reputation beyond repute
Re: Is anyone using the Camera?

Quote:
Originally Posted by Team 135 View Post
We have some prelim code done and tested, the problem is that our bot will fall into osculation because of the low traction. We ended up not using it at our 1st regional because of that. We are working on that now and hope to have it up and going for Purdue.
You almost won MWR with a not-fully-functioning robot, and you'll have it fixed at BMR? ::scary::
__________________
Hi!
Reply With Quote
  #7   Spotlight this post!  
Unread 05-03-2009, 11:21
writchie writchie is offline
Engineering Mentor
AKA: Wally Ritchie
FRC #2152 (Team Daytona)
Team Role: Coach
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Daytona Beach, Florida
Posts: 148
writchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond repute
Re: Is anyone using the Camera?

Quote:
Originally Posted by byteit101 View Post
do you remember that our bandwidth is being limited to ~950 bytes every 0.02 seconds (50 hz)? i don't think that will work.
The user data is 984 bytes * 50 hz = 49,200 Bytes per second (393 kbps ).

An appropriately compressed 160x120 image is 1300 - 1800 bytes. We fit each image over two packets, along with a pretty decent amount of telemetry.

160x120 is a bit small, so we stretch it to 320x240 on our Dashboard. Because the eye integrates video very well, it's much more than usable for the driver.
Reply With Quote
  #8   Spotlight this post!  
Unread 05-03-2009, 11:38
ZakuAce's Avatar
ZakuAce ZakuAce is offline
Registered User
AKA: Garrett
FRC #2077 (Laser Robotics (Alumni))
Team Role: College Student
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Delafield,Wisconsin
Posts: 198
ZakuAce is a glorious beacon of lightZakuAce is a glorious beacon of lightZakuAce is a glorious beacon of lightZakuAce is a glorious beacon of lightZakuAce is a glorious beacon of light
Re: Is anyone using the Camera?

We're certainly using the camera to track the targets and automatically aim our turret, unless the programmers decide to stream video from it. Whichever one is easier is the one we're going for.
Reply With Quote
  #9   Spotlight this post!  
Unread 05-03-2009, 13:54
Petra Hartman Petra Hartman is offline
Registered User
FRC #1712 (Dawgma)
Team Role: Alumni
 
Join Date: Jun 2008
Rookie Year: 2008
Location: Philadelphia
Posts: 13
Petra Hartman is an unknown quantity at this point
Re: Is anyone using the Camera?

The camera we have programmed on our robot tracks opposing trailers, chases after the trailer, then when it gets about a foot away starts the belt holding the moon rocks and dumps it in. The program worked actually really well at the DC regional, except for 2 or 3 times were the camera lost patience or the target for whatever reason.
Reply With Quote
  #10   Spotlight this post!  
Unread 05-03-2009, 14:12
EricLeifermann's Avatar
EricLeifermann EricLeifermann is offline
That was a short break
FRC #2826 (Wave Robotics)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2001
Location: Wisconsin
Posts: 1,054
EricLeifermann has a reputation beyond reputeEricLeifermann has a reputation beyond reputeEricLeifermann has a reputation beyond reputeEricLeifermann has a reputation beyond reputeEricLeifermann has a reputation beyond reputeEricLeifermann has a reputation beyond reputeEricLeifermann has a reputation beyond reputeEricLeifermann has a reputation beyond reputeEricLeifermann has a reputation beyond reputeEricLeifermann has a reputation beyond reputeEricLeifermann has a reputation beyond repute
Re: Is anyone using the Camera?

We had the camera sending video back to our laptop at the control station and it was pretty much seamless, i was expecting it to be really bad refresh rate but we had no trouble with it at Traverse city.
__________________
2002-2005 Appleton East High School: Team 93
2005-2011 Michigan Technological University: Team 857
2012-2016 Wave Robotics Team 2826



Reply With Quote
  #11   Spotlight this post!  
Unread 05-03-2009, 14:35
SteveGPage's Avatar
SteveGPage SteveGPage is offline
Mentor - Scouting and Strategy
AKA: Steve
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2004
Location: Hollywood, MD
Posts: 521
SteveGPage has a reputation beyond reputeSteveGPage has a reputation beyond reputeSteveGPage has a reputation beyond reputeSteveGPage has a reputation beyond reputeSteveGPage has a reputation beyond reputeSteveGPage has a reputation beyond reputeSteveGPage has a reputation beyond reputeSteveGPage has a reputation beyond reputeSteveGPage has a reputation beyond reputeSteveGPage has a reputation beyond reputeSteveGPage has a reputation beyond repute
Re: Is anyone using the Camera?

We had a couple of software issues at start of the DC Regional, but as the tournament went on, I was assured it was working. Since we did not have a chance to fully test it out on the practice field, we choose not to use it and relied on manual control of the turret and shooter. We expect to have it up and running at Chesapeake, however. We will still have the turret under manual control until just before firing, when we will allow the camera to lock on the target and then fire.
__________________
FRC 836, The RoboBees www.robobees.org
growingSTEMS www.growingSTEMS.org
2017: Southwest VA, Northern MD, Chesapeake District Championships, Championships
Reply With Quote
  #12   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,003
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
  #13   Spotlight this post!  
Unread 05-03-2009, 15:16
gorrilla's Avatar
gorrilla gorrilla is online now
1557 alumni, 4639 mentor
AKA: adam spears
FRC #4639 (RoboSpartans)
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2007
Location: Houston
Posts: 957
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
  #14   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
  #15   Spotlight this post!  
Unread 05-03-2009, 21:26
gorrilla's Avatar
gorrilla gorrilla is online now
1557 alumni, 4639 mentor
AKA: adam spears
FRC #4639 (RoboSpartans)
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2007
Location: Houston
Posts: 957
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
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 17:13.

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