Go to Post And, learn to collaborate, 'cause it works. - DonRotolo [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 04-02-2014, 13:45
Team1605 Team1605 is offline
Registered User
FRC #1605
 
Join Date: Feb 2012
Location: toronto
Posts: 30
Team1605 is an unknown quantity at this point
Programming Camera

I am programming the camera for the first time. I would only like to program the camera for a image for assistance for the the driver. Help needed....
  #2   Spotlight this post!  
Unread 04-02-2014, 13:48
notmattlythgoe's Avatar
notmattlythgoe notmattlythgoe is offline
Flywheel Police
AKA: Matthew Lythgoe
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Newport News, VA
Posts: 1,729
notmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond repute
Re: Programming Camera

Quote:
Originally Posted by Team1605 View Post
I am programming the camera for the first time. I would only like to program the camera for a image for assistance for the the driver. Help needed....
The only thing you'll need to do is run the camera configuration tool provided wit h the frc utilities. That will set the IP address of your camera and it will appear on the dashboard.
  #3   Spotlight this post!  
Unread 04-02-2014, 19:43
Team1605 Team1605 is offline
Registered User
FRC #1605
 
Join Date: Feb 2012
Location: toronto
Posts: 30
Team1605 is an unknown quantity at this point
Re: Programming Camera

okay thank you for the help...
  #4   Spotlight this post!  
Unread 05-02-2014, 08:58
Chadfrom308's Avatar
Chadfrom308 Chadfrom308 is offline
Slave to the bot
AKA: Chad Krause
FRC #0308 (The Monsters)
Team Role: Driver
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Novi
Posts: 272
Chadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to behold
Re: Programming Camera

We are having it where our camera tells us if we are lined up for a shot and will put a green border around the image on our computer

If you want to do something like that, use NI Vision assistant. It is very helpful and pretty easy to understand
  #5   Spotlight this post!  
Unread 06-02-2014, 16:20
Team1605 Team1605 is offline
Registered User
FRC #1605
 
Join Date: Feb 2012
Location: toronto
Posts: 30
Team1605 is an unknown quantity at this point
Re: Programming Camera

Well I did all the setup/configuration needed for the axis camera but there is no image coming up on the frc dashboard. Also i want to program the camera to look for the target and position the robot accordingly(in autonomous). how can i do that? I am programming in java(netbeans)

Last edited by Team1605 : 06-02-2014 at 16:24.
  #6   Spotlight this post!  
Unread 06-02-2014, 16:55
Chadfrom308's Avatar
Chadfrom308 Chadfrom308 is offline
Slave to the bot
AKA: Chad Krause
FRC #0308 (The Monsters)
Team Role: Driver
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Novi
Posts: 272
Chadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to behold
Re: Programming Camera

Make sure the IP address of the camera is correct. If I can remember clearly it should be like 10.te.am.11 (I would double check if I were you)

As for auto aiming, that's pretty tricky to perfect. You have to first find the goal, which you do by putting a ring of LEDs around the camera, then looking for that color in the NI vision assistant. Its more complex, but also pretty straightforward.

Look at this page

It is straight from first and wpilib

The basic steps after you find the target is to find the distance then program your robot to move that distance (normally with a PID)

You also want to do all your processing on the dashboard. It is much faster than the crio and processing images. Also get a good laptop, that also helps a lot too
  #7   Spotlight this post!  
Unread 06-02-2014, 17:28
yash101 yash101 is offline
Curiosity | I have too much of it!
AKA: null
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: devnull
Posts: 1,191
yash101 is an unknown quantity at this point
Re: Programming Camera

are you planning on processing/advanced functions or just regular camera feed? Both said, you could write an OpenCV application for just a camera viewer and that will allow you to resize the view, etc.!
  #8   Spotlight this post!  
Unread 06-02-2014, 19:06
Team1605 Team1605 is offline
Registered User
FRC #1605
 
Join Date: Feb 2012
Location: toronto
Posts: 30
Team1605 is an unknown quantity at this point
Re: Programming Camera

Quote:
Originally Posted by Chadfrom308 View Post
Make sure the IP address of the camera is correct. If I can remember clearly it should be like 10.te.am.11 (I would double check if I were you)
I did check and it is correct but it still won't display on the FRC dashboard
  #9   Spotlight this post!  
Unread 06-02-2014, 19:26
Ultracrepidate's Avatar
Ultracrepidate Ultracrepidate is offline
Nicole B.
AKA: Nicole B.
FRC #0771 (SWAT)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2012
Location: Canada
Posts: 5
Ultracrepidate is an unknown quantity at this point
Re: Programming Camera

Have you tried pinging the camera using command prompt?

Last edited by Ultracrepidate : 06-02-2014 at 19:51.
  #10   Spotlight this post!  
Unread 07-02-2014, 09:31
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Programming Camera

It was mentioned in other threads, but be sure to click the enable button next to the image display.

Greg McKaskle
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


All times are GMT -5. The time now is 02:48.

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