Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Example of Vision Processing Avaliable Upon Request (http://www.chiefdelphi.com/forums/showthread.php?t=110531)

Iaquinto.Joe 28-04-2013 23:36

Re: Example of Vision Processing Avaliable Upon Request
 
Quote:

Originally Posted by jacob9706 (Post 1268729)
Even with the battery dropping to 8 volts at times we never had an issue with the vision machine, the c-Rio will "crap out" before the O-DROID U2.

Honestly something needs to change about this. We lost several matches because our fully charged battery has ran out of juice at the end of the match.

jacob9706 28-04-2013 23:42

Re: Example of Vision Processing Avaliable Upon Request
 
Quote:

Originally Posted by Iaquinto.Joe (Post 1268851)
Honestly something needs to change about this. We lost several matches because our fully charged battery has ran out of juice at the end of the match.

We have never had a problem during a match. ALWAYS CHARGE YOUR BATTERIES BETWEEN MATCHES and NEVER put a bad battery in the rotation. We always buy new batteries each year and remove the bad ones for practice things.

Joe Ross 29-04-2013 00:06

Re: Example of Vision Processing Avaliable Upon Request
 
Quote:

Originally Posted by jacob9706 (Post 1268729)
The second processor (O-DROID U2) runs on 12 volts so it is just plugged directly into the power distribution board. Even with the battery dropping to 8 volts at times we never had an issue with the vision machine, the c-Rio will "crap out" before the O-DROID U2.

The cRIO power supply on the PDB will boost the battery voltage and operate down to 4.5 volts. At that point, the battery is very dead. Looking at the O-DROID U2 specs, it says it uses a 5v power supply. Do you know what kind of power circuitry the O-DROID U2 uses? It seems unlikely that it operates below 4.5 volts.

Quote:

Originally Posted by Iaquinto.Joe (Post 1268851)
Honestly something needs to change about this. We lost several matches because our fully charged battery has ran out of juice at the end of the match.


Rather then divert this thread, It would be good if you started a new thread and posted your driver station logs in it. The cRIO power supply operates down to 4.5 volts, as does the Radio. The Digital sidecar would be the first thing to turn off, but only momentarily until the battery voltage returns to normal. It seems likely that something else, like a loose wire or a bad battery caused the problems.

William Kunkel 05-05-2013 10:57

Re: Example of Vision Processing Avaliable Upon Request
 
With regards to image processing on a co-processor, one of the biggest obstacles my team had was getting the information from the co-processor to the cRIO. Network socket documentation for C++ on the cRIO is flaky at best. Does anyone have experience/example code for communicating between a C++ or Python co-processor and a cRIO running C++?

wet_colored_arc 05-05-2013 21:06

Re: Example of Vision Processing Avaliable Upon Request
 
Quote:

Originally Posted by MaraschinoPanda (Post 1272440)
With regards to image processing on a co-processor, one of the biggest obstacles my team had was getting the information from the co-processor to the cRIO. Network socket documentation for C++ on the cRIO is flaky at best. Does anyone have experience/example code for communicating between a C++ or Python co-processor and a cRIO running C++?

Does Virtuald's link help? http://firstforge.wpi.edu/sf/projects/robotpy

I am interested to see where this thread goes. I do mechanical mentoring but python hobbyist.

jacob9706 05-05-2013 21:18

Re: Example of Vision Processing Avaliable Upon Request
 
Quote:

Originally Posted by MaraschinoPanda (Post 1272440)
With regards to image processing on a co-processor, one of the biggest obstacles my team had was getting the information from the co-processor to the cRIO. Network socket documentation for C++ on the cRIO is flaky at best. Does anyone have experience/example code for communicating between a C++ or Python co-processor and a cRIO running C++?

We ended up implementing our own network table class based on their documentation.Our Implementation. On line 63 of this we instantiate our network object and on line 265 to 367 we set a couple of values for the robot to read.

I believe the documentation came from.
Documentation

I recently started to mess with creating a custom dashboard from scratch and was able to get the network tables from here running with little hastle on linux from Here. I would recommend this because they are derived directly from the robot c++ implementation (from my understanding) and seem much more stable then the version we created and used on our robot.

sparkytwd 09-05-2013 17:45

Re: Example of Vision Processing Avaliable Upon Request
 
For powering the ODroid, we used this: http://www.pololu.com/catalog/product/2177 a 3A 5V Buck regulator. It's connected directly to the power distribution board, so we're not using the cRio regulator. It was made by using a multi-meter to determine plug polarity of the AC adapter, then splicing the barrel jack end onto the output of the regulator.

We also had some camera stability issues with them occasionally having driver issues, which we believed was caused by drawing too much power. This was solved with another 3A 5V Buck regulator and an external usb hub.

safiq10 05-09-2013 21:40

Re: Example of Vision Processing Avaliable Upon Request
 
AWESOME


All times are GMT -5. The time now is 21:35.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi