Go to Post In FIRST, you can either have comfortable safety margins or you can have a competitive robot, you can't have both. - Joe Johnson [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 23-01-2016, 16:10
viggy96 viggy96 is offline
Registered User
FRC #3331
Team Role: College Student
 
Join Date: Jan 2015
Rookie Year: 2010
Location: Charlotte
Posts: 54
viggy96 is infamous around these partsviggy96 is infamous around these parts
Getting camera feed while doing vision

Our team plans on using the NVIDIA Jetson TK1 with OpenCV for vision this year. However, I also want the camera feed to show up on the SmartDashboard so that the driver can see what the bot is pointing at. I was thinking about sending UDP packets with tower targeting info as well as the image to the RoboRIO, but is there a way to forward the image to the driver station SmartDashboard? I was also thinking we could just add another camera for the driver, but I wanted to have just one if possible.
  #2   Spotlight this post!  
Unread 23-01-2016, 19:56
adciv adciv is offline
One Eyed Man
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Southern Maryland
Posts: 478
adciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to all
Re: Getting camera feed while doing vision

It's possible, but you need to modify the dashboard to read from the Tegra TK1 instead of the roboRIO. What language dashboard are you programming in? Labview is pretty easy to modify, I don't know about the others.
__________________
Quote:
Originally Posted by texarkana View Post
I would not want the task of devising a system that 50,000 very smart people try to outwit.
  #3   Spotlight this post!  
Unread 24-01-2016, 01:30
viggy96 viggy96 is offline
Registered User
FRC #3331
Team Role: College Student
 
Join Date: Jan 2015
Rookie Year: 2010
Location: Charlotte
Posts: 54
viggy96 is infamous around these partsviggy96 is infamous around these parts
Quote:
Originally Posted by adciv View Post
It's possible, but you need to modify the dashboard to read from the Tegra TK1 instead of the roboRIO. What language dashboard are you programming in? Labview is pretty easy to modify, I don't know about the others.
We're going to be using Java for the Smart dashboard
  #4   Spotlight this post!  
Unread 24-01-2016, 02:29
Fauge7 Fauge7 is offline
Head programmer
FRC #3019 (firebird robotics)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Scottsdale
Posts: 195
Fauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to all
Re: Getting camera feed while doing vision

have 2 cameras on the robot, one for vision because the exposure works better when turned down and the other at normal sight so it works...ideally have a usb camera to the jetson and a axis to the router...that way you wont take up any extra processing cycles on either
  #5   Spotlight this post!  
Unread 24-01-2016, 10:34
fovea1959's Avatar
fovea1959 fovea1959 is offline
Herder of programmers
AKA: Doug Wegscheid
FRC #3620 (The Average Joes)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: St Joseph
Posts: 330
fovea1959 will become famous soon enough
Re: Getting camera feed while doing vision

Fauge7: how do you network a Jetson, an Axis, and a roboRio with the new radio? Only 2 ports?
  #6   Spotlight this post!  
Unread 24-01-2016, 11:10
adciv adciv is offline
One Eyed Man
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Southern Maryland
Posts: 478
adciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to all
Re: Getting camera feed while doing vision

Quote:
Originally Posted by viggy96 View Post
We're going to be using Java for the Smart dashboard
Alright, you're going to have to dig down into the vision code libraries for this one. Unfortunately I don't have it installed to search. You need to search through it to find where it opens the network connection to the roborio on port 1180 and change the IP/name to your coprocessor. I recommend changing the library names when you save it so you have an alternative. In labview I've exposed the port & IP address at the top level so I can change it as desired.

Quote:
Originally Posted by fovea1959 View Post
Fauge7: how do you network a Jetson, an Axis, and a roboRio with the new radio? Only 2 ports?
It's legal to run a network switch on the robot so long as the RIO is still plugged directly into the radio on the appropriate port.
__________________
Quote:
Originally Posted by texarkana View Post
I would not want the task of devising a system that 50,000 very smart people try to outwit.
  #7   Spotlight this post!  
Unread 24-01-2016, 15:49
fovea1959's Avatar
fovea1959 fovea1959 is offline
Herder of programmers
AKA: Doug Wegscheid
FRC #3620 (The Average Joes)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: St Joseph
Posts: 330
fovea1959 will become famous soon enough
Re: Getting camera feed while doing vision

has anyone find a particularly small/light switch that seems adaptable for FRC?
  #8   Spotlight this post!  
Unread 24-01-2016, 19:20
adciv adciv is offline
One Eyed Man
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Southern Maryland
Posts: 478
adciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to all
Re: Getting camera feed while doing vision

I haven't tried this, but this one seems to meet a few requirements, including able to run off the existing VREG
http://www.trendnet.com/products/unm...abs-solution02
__________________
Quote:
Originally Posted by texarkana View Post
I would not want the task of devising a system that 50,000 very smart people try to outwit.
  #9   Spotlight this post!  
Unread 24-01-2016, 11:19
Fauge7 Fauge7 is offline
Head programmer
FRC #3019 (firebird robotics)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Scottsdale
Posts: 195
Fauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to all
Re: Getting camera feed while doing vision

Quote:
Originally Posted by fovea1959 View Post
Fauge7: how do you network a Jetson, an Axis, and a roboRio with the new radio? Only 2 ports?
a simple network switch, my team is not using a coprocessor as they are simply not needed for our use.
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 03:00.

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