|
Re: Apparent Infinite Loop When Calling AxisCamera.getInstance()
Just using a webbrower can you connect to the camera from the driverstation?
Is the camera set to enable anonymous viewing?
I don't use the WPI libraries to access the camera, but if I recall correctly, in the past (2011, 2012) the WPI library used to take about 10-12 seconds to initalize a connection to the camera, and it would block robot functionality while this was being done.
I am not sure, if this has been fixed or rectified in recent versions of WPILib.
What if you reset your camera to the default IPgiven to it using the axis camera tool. Does the code work then?
__________________
Controls Engineer, Team 2168 - The Aluminum Falcons
[2016 Season] - World Championship Controls Award, District Controls Award, 3rd BlueBanner
-World Championship- #45 seed in Quals, World Championship Innovation in Controls Award - Curie
-NE Championship- #26 seed in Quals, winner(195,125,2168)
[2015 Season] - NE Championship Controls Award, 2nd Blue Banner
-NE Championship- #26 seed in Quals, NE Championship Innovation in Controls Award
-MA District Event- #17 seed in Quals, Winner(2168,3718,3146)
[2014 Season] - NE Championship Controls Award & Semi-finalists, District Controls Award, Creativity Award, & Finalists
-NE Championship- #36 seed in Quals, SemiFinalist(228,2168,3525), NE Championship Innovation in Controls Award
-RI District Event- #7 seed in Quals, Finalist(1519,2168,5163), Innovation in Controls Award
-Groton District Event- #9 seed in Quals, QuarterFinalist(2168, 125, 5112), Creativity Award
[2013 Season] - WPI Regional Winner - 1st Blue Banner
Last edited by NotInControl : 25-02-2014 at 13:39.
|