Go to Post It is a difficult balancing act - we're engineers because we like to solve problems, and to take a step back and let someone else solve it, with what may be a poorer solution, is darn hard. - 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 27-03-2016, 09:34
jreneew2's Avatar
jreneew2 jreneew2 is offline
Alumni of Team 2053 Tigertronics
AKA: Drew Williams
FRC #2053 (TigerTronics)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Vestal, NY
Posts: 195
jreneew2 has a spectacular aura aboutjreneew2 has a spectacular aura aboutjreneew2 has a spectacular aura about
Re: Help with coding CPP and OpenCv

I can grab the file tomorrow. Basically we ssh into the raspberry pi through the robot radio then edit the files via the command line. We use systemctl to run a bash script that sets up the library path and then runs the program at startup of the pi.
  #2   Spotlight this post!  
Unread 27-03-2016, 09:39
ProfessorAlekM ProfessorAlekM is offline
Registered User
FRC #6190
 
Join Date: Jan 2016
Location: Canton, Michigan
Posts: 32
ProfessorAlekM has a little shameless behaviour in the past
Re: Help with coding CPP and OpenCv

Quote:
Originally Posted by jreneew2 View Post
I can grab the file tomorrow. Basically we ssh into the raspberry pi through the robot radio then edit the files via the command line. We use systemctl to run a bash script that sets up the library path and then runs the program at startup of the pi.
Making your Co-Processor run it's tracking software at startup seems to be the way to go.

We used a BeagleBone Black for vision on our robot. Apparently the FMS won't let you ssh in when you are connected to it.

I didn't have time to try, but can you ssh in if you change the ssh port to one of the available ports for UDP with the roboRIO?
  #3   Spotlight this post!  
Unread 27-03-2016, 10:28
jreneew2's Avatar
jreneew2 jreneew2 is offline
Alumni of Team 2053 Tigertronics
AKA: Drew Williams
FRC #2053 (TigerTronics)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Vestal, NY
Posts: 195
jreneew2 has a spectacular aura aboutjreneew2 has a spectacular aura aboutjreneew2 has a spectacular aura about
Re: Help with coding CPP and OpenCv

I can try, but I don't think it matters that much because you wouldn't need to ssh in while connected to the FMS. All we need to do is connect to the robot over Ethernet during the field calibration time, and change the RGB threshold values that it sees. This is really fast with grip because you save an image onto the pi at boot up of the pi and download it onto your pc to run grip on it. Then change the values accordingly.
  #4   Spotlight this post!  
Unread 27-03-2016, 18:37
axton900's Avatar
axton900 axton900 is offline
Programming Co-Captain
FRC #1403 (Cougar Robotics)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2015
Location: New Jersey USA
Posts: 45
axton900 has a spectacular aura aboutaxton900 has a spectacular aura aboutaxton900 has a spectacular aura about
Re: Help with coding CPP and OpenCv

Thanks!
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 17:01.

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