View Single Post
  #7   Spotlight this post!  
Unread 05-02-2015, 00:25
faust1706's Avatar
faust1706 faust1706 is offline
Registered User
FRC #1706 (Ratchet Rockers)
Team Role: College Student
 
Join Date: Apr 2012
Rookie Year: 2011
Location: St Louis
Posts: 498
faust1706 is infamous around these partsfaust1706 is infamous around these parts
Re: Vision Assistance

Glad to hear you got it working.

The way my team sends it to the cRio, now roborio, is through the network on the robot via udp.

Crude diagram found here: http://ratchetrockers1706.org/team/t...robot-control/

Sample c++ code that @cmastudios wrote for this year that sends the values we want to the roborio can be found here: https://github.com/rr1706/vision2015

more precisely: udpsender.cpp and .hpp.

I have not personally looked at his code for this year. He is a brilliant student and one day when I was lecturing to the new programmers about c++ basics, he said he has a working udp sender and I have full faith that it works.
__________________
"You're a gentleman," they used to say to him. "You shouldn't have gone murdering people with a hatchet; that's no occupation for a gentleman."

Last edited by faust1706 : 05-02-2015 at 01:08.
Reply With Quote