![]() |
Vision Code crashing
I think I ran across this before here on CD, but I couldn't find the thread once this happened.
We are using the CircleTrackerDemo project with Java to drive our robot. Apart from changing the drivetrain settings, it is unmodified. At first it worked perfectly, but after a small robot demolition derby (people need to think, but they prefer not to,) it no longer works. The code appears to work as long as the trigger (which activates the tracking) is pressed. There appears to be a separate (program, not CD) thread that runs the vision code. However, for unknown reasons, it is crashing now. We also had communications issues (which developed overnight,) so we checked the dip switches and re-imaged the cRio. Not, communication appears fine, but the camera still only functions when the joystick trigger is pressed. Here's the last output from NetBeans: Code:
[cRIO] * Loading StartupDlls: FRC_JavaVM |
Re: Vision Code crashing
I would like to add that we've done more testing, and LabVIEW's vision code works fine. We will probably switch to LabVIEW, at least until the Java code works (I'll keep checking for updates.)
I hope this gets fixed. |
| All times are GMT -5. The time now is 09:41. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi