Go to Post It makes me wish I would have paid attention in my physics class... - jwallace15 [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-07-2016, 00:56
cpapplefamily cpapplefamily is offline
Registered User
FRC #3244 (Granite City Gearheads)
Team Role: Mentor
 
Join Date: May 2015
Rookie Year: 2015
Location: Minnesota
Posts: 243
cpapplefamily has a spectacular aura aboutcpapplefamily has a spectacular aura about
Vision co-processor Location

I been testing some vision using a second laptop on the network wifi running Grip and has been the most successful experience. I tried on roborio and on the driverstation of runing GRIP with undesirable results. So tonight I ordered a Kangaroo mini PC. I wonder do we need to put a network switch on the robot with the Kangaroo or can we install the switch and Kangaroo on the driverstation table. I like the switch and kangaroo on the driverstation table is there reason not to do this? I figured that to be FRC event legal it can't be wifi.
Reply With Quote
  #2   Spotlight this post!  
Unread 06-07-2016, 01:21
billbo911's Avatar
billbo911 billbo911 is online now
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,353
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Vision co-processor Location

Quote:
Originally Posted by cpapplefamily View Post
I been testing some vision using a second laptop on the network wifi running Grip and has been the most successful experience. I tried on roborio and on the driverstation of runing GRIP with undesirable results. So tonight I ordered a Kangaroo mini PC. I wonder do we need to put a network switch on the robot with the Kangaroo or can we install the switch and Kangaroo on the driverstation table. I like the switch and kangaroo on the driverstation table is there reason not to do this? I figured that to be FRC event legal it can't be wifi.
You are correct, it can not be WiFi during FIRST events and likely not during off season events either.

May teams including Citrus Circuits used a Kangaroo this year. I believe they ran it on-board the robot.
With the current radio, there is a second port that allows the co-processor to connect. Alternatively you can put a switch on the robot to allow connecting the Kangaroo and a programming laptop to the RoboRio at the same time.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote
  #3   Spotlight this post!  
Unread 06-07-2016, 01:22
Jaci's Avatar
Jaci Jaci is offline
Registered User
AKA: Jaci R Brunning
FRC #5333 (Can't C# | OpenRIO)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Perth, Western Australia
Posts: 253
Jaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond repute
Re: Vision co-processor Location

Quote:
Originally Posted by cpapplefamily View Post
I been testing some vision using a second laptop on the network wifi running Grip and has been the most successful experience. I tried on roborio and on the driverstation of runing GRIP with undesirable results. So tonight I ordered a Kangaroo mini PC. I wonder do we need to put a network switch on the robot with the Kangaroo or can we install the switch and Kangaroo on the driverstation table. I like the switch and kangaroo on the driverstation table is there reason not to do this? I figured that to be FRC event legal it can't be wifi.
You can use both the Kangaroo and Switch on the driver station as long as it is in accordance to the driver station rules in the manual. Personally, I would advise putting the coprocessor on the robot itself to avoid FMS bandwidth restrictions. If you do put it on the robot, be sure to pay attention to the FRC regulations for wiring auxiliary processors, i.e. they cannot directly control actuators, and the RoboRIO's ethernet connection must go directly to the router without an intermediate switch.
__________________
Jacinta R

Curtin FRC (5333+5663) : Mentor
5333 : Former [Captain | Programmer | Driver], Now Mentor
OpenRIO : Owner

Website | Twitter | Github
jaci.brunning@gmail.com
Reply With Quote
  #4   Spotlight this post!  
Unread 06-07-2016, 07:00
cpapplefamily cpapplefamily is offline
Registered User
FRC #3244 (Granite City Gearheads)
Team Role: Mentor
 
Join Date: May 2015
Rookie Year: 2015
Location: Minnesota
Posts: 243
cpapplefamily has a spectacular aura aboutcpapplefamily has a spectacular aura about
Re: Vision co-processor Location

I understand the FMS limit idea. Two hurtles we have, one we are using an IP camera so not enough ports on curent switch, two robot weight current bot weight is 119.999lbs.
Reply With Quote
  #5   Spotlight this post!  
Unread 06-07-2016, 07:16
Jaci's Avatar
Jaci Jaci is offline
Registered User
AKA: Jaci R Brunning
FRC #5333 (Can't C# | OpenRIO)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Perth, Western Australia
Posts: 253
Jaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond repute
Re: Vision co-processor Location

Quote:
Originally Posted by cpapplefamily View Post
I understand the FMS limit idea. Two hurtles we have, one we are using an IP camera so not enough ports on curent switch, two robot weight current bot weight is 119.999lbs.
For issue #1:
You can setup your extra switch to attach to the second port on the router. This will provide you with ports for your coprocessor, camera and any other ethernet devices on your robot.

For issue #2:
Weight when it comes to stuff like this is a fairly non-issue. Any reasonable coprocessor and/or switch will not weigh anything more than a pound or two, which even then is on the heavier side of the spectrum when it comes to coprocessor selection.
__________________
Jacinta R

Curtin FRC (5333+5663) : Mentor
5333 : Former [Captain | Programmer | Driver], Now Mentor
OpenRIO : Owner

Website | Twitter | Github
jaci.brunning@gmail.com
Reply With Quote
  #6   Spotlight this post!  
Unread 06-07-2016, 07:25
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: Vision co-processor Location

Quote:
Originally Posted by cpapplefamily View Post
two robot weight current bot weight is 119.999lbs.
Helium balloon to reduce robot weight?

As to your original question. We placed a 5 port switch on the robot this year and attached it to the 2nd port on the radio. Other options include USB to Ethernet adapter or Ethernet emulation over USB and connecting the kangaroo board directly to the RoboRIO. You can then attach the network camera directly to the Kangaroo. I do recommend developing a way to use USB cameras in the long run.

If you can't run the Kangaroo on the robot, I recommend using the driver station as your co-processor, assuming it has the power to do so. Do be sure to take into account network lag in your control loops.
__________________
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.

Last edited by adciv : 06-07-2016 at 07:37.
Reply With Quote
  #7   Spotlight this post!  
Unread 06-07-2016, 07:36
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,575
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Vision co-processor Location

Completely agree that the robot side is preferable due to significant expansion of data speed, and reduced latency. In recent years, we've used USB cameras directly connected to a pi for vision processing. If you want to take it to the extreme, only the extracted information (e.g. height, width, and center of goal) needs to go on the network at all.

If you do opt to put vision code on the driver station side, it may be just as effective and much more convenient to install it directly on the driver station computer, especially if you're using a laptop significantly more powerful than the classmate.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
Reply With Quote
  #8   Spotlight this post!  
Unread 06-07-2016, 10:44
billbo911's Avatar
billbo911 billbo911 is online now
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,353
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Vision co-processor Location

Quote:
Originally Posted by GeeTwo View Post
.. If you want to take it to the extreme, only the extracted information (e.g. height, width, and center of goal) needs to go on the network at all...
If you know how you will be using the data, you could even calculate distance to the target and number of degrees to center of target. Then just send that data. What you choose to send on the network, or via serial of one flavor or another, is all dependent on what data you want, and how you want the data delivered.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote
  #9   Spotlight this post!  
Unread 06-07-2016, 11:22
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,575
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Vision co-processor Location

Quote:
Originally Posted by billbo911 View Post
If you know how you will be using the data, you could even calculate distance to the target and number of degrees to center of target. Then just send that data. What you choose to send on the network, or via serial of one flavor or another, is all dependent on what data you want, and how you want the data delivered.
On the contrary, if you just send the target location, you will actually be more re-usable. We used our 2013 vision code for targeting in 2014 with minimal modification to the code on the pi; I suspect that we could have simply transferred the pi from one robot to the other. (And yes, the team-specific code was and still is in a publically accessible github repository.)
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.

Last edited by GeeTwo : 06-07-2016 at 11:24.
Reply With Quote
  #10   Spotlight this post!  
Unread 07-07-2016, 17:41
snekiam snekiam is offline
Registered User
FRC #3322 (Eagle Imperium)
Team Role: Programmer
 
Join Date: Dec 2015
Rookie Year: 2010
Location: SE Michigan
Posts: 88
snekiam has a spectacular aura aboutsnekiam has a spectacular aura aboutsnekiam has a spectacular aura about
Re: Vision co-processor Location

Quote:
Originally Posted by cpapplefamily View Post
one we are using an IP camera so not enough ports on curent switch.
We used this switch this year with no problems whatsoever. It is 5v, so just power it from the VRM.

Quote:
Originally Posted by cpapplefamily View Post
, two robot weight current bot weight is 119.999lbs.
A raspberry pi is 0.0683433 pounds. I do not see that putting you over the weight limit, and even if it did, shortening all your wires and zip ties would probably put you back under it. The switch does weigh a little more than the pi, but still not enough to really make a huge difference in your overall bot weight. Overall solution shouldn't be more than a pound.
Reply With Quote
  #11   Spotlight this post!  
Unread 12-07-2016, 19:53
cpapplefamily cpapplefamily is offline
Registered User
FRC #3244 (Granite City Gearheads)
Team Role: Mentor
 
Join Date: May 2015
Rookie Year: 2015
Location: Minnesota
Posts: 243
cpapplefamily has a spectacular aura aboutcpapplefamily has a spectacular aura about
Re: Vision co-processor Location

Quote:
Originally Posted by billbo911 View Post
You are correct, it can not be WiFi during FIRST events and likely not during off season events either.

May teams including Citrus Circuits used a Kangaroo this year. I believe they ran it on-board the robot.
With the current radio, there is a second port that allows the co-processor to connect. Alternatively you can put a switch on the robot to allow connecting the Kangaroo and a programming laptop to the RoboRio at the same time.
The Kangaroo does not have a ethernet port? What gives?
Reply With Quote
  #12   Spotlight this post!  
Unread 12-07-2016, 20:03
cad321 cad321 is online now
Jack of all trades, Master of none
AKA: Brian Wagg
FRC #2386 (Trojans)
Team Role: Alumni
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Burlington, Ontario
Posts: 323
cad321 is just really nicecad321 is just really nicecad321 is just really nicecad321 is just really nice
Re: Vision co-processor Location

Quote:
Originally Posted by cpapplefamily View Post
The Kangaroo does not have a ethernet port? What gives?
Most teams will buy a usb to ethernet adapter to solve this issue. Another option might be this new option from kangaroo. It come with an ethernet port built in.
Reply With Quote
  #13   Spotlight this post!  
Unread 12-07-2016, 23:24
cpapplefamily cpapplefamily is offline
Registered User
FRC #3244 (Granite City Gearheads)
Team Role: Mentor
 
Join Date: May 2015
Rookie Year: 2015
Location: Minnesota
Posts: 243
cpapplefamily has a spectacular aura aboutcpapplefamily has a spectacular aura about
Re: Vision co-processor Location

Quote:
Originally Posted by cad321 View Post
Most teams will buy a usb to ethernet adapter to solve this issue. Another option might be this new option from kangaroo. It come with an ethernet port built in.
yep getting one on order.
Reply With Quote
  #14   Spotlight this post!  
Unread 12-07-2016, 23:53
cpapplefamily cpapplefamily is offline
Registered User
FRC #3244 (Granite City Gearheads)
Team Role: Mentor
 
Join Date: May 2015
Rookie Year: 2015
Location: Minnesota
Posts: 243
cpapplefamily has a spectacular aura aboutcpapplefamily has a spectacular aura about
Re: Vision co-processor Location

I wonder if there will ever be different docks available to break out more options.
Reply With Quote
  #15   Spotlight this post!  
Unread 13-07-2016, 13:12
cpapplefamily cpapplefamily is offline
Registered User
FRC #3244 (Granite City Gearheads)
Team Role: Mentor
 
Join Date: May 2015
Rookie Year: 2015
Location: Minnesota
Posts: 243
cpapplefamily has a spectacular aura aboutcpapplefamily has a spectacular aura about
Re: Vision co-processor Location

I'm going to give this a try. Solves two current issues. 1 no ethernet on Kangaroo. 2 using an IP camera, roborio, and co-proccessor with last year's radio. I say last year's because who knows what will be in store for us next year.

https://www.amazon.com/gp/aw/d/B00SA..._st_dp_summary
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


All times are GMT -5. The time now is 17:19.

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