|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Camera tracking code not working in our own program, but works in CircleTrackerDemo
Our team is able to get the tracking code to work when it is in the CircleTrackerDemo code, but when we put it in our own code along with the other stuff, it doesn't work and we get this error. Any ideas?
Code:
Uncaught exception in Thread.run(): [cRIO] on thread edu.wpi.first.wpilibj.templates.RobotTemplate - main [cRIO] java.lang.IllegalArgumentException: MIDlet class specified, edu.wpi.first.wpilibj.templates.RobotTemplate, was not found [cRIO] at java.lang.Throwable.<init>(88) [cRIO] at java.lang.Throwable.<init>(102) [cRIO] at java.lang.Exception.<init>(53) [cRIO] at java.lang.RuntimeException.<init>(58) [cRIO] at java.lang.IllegalArgumentException.<init>(54) [cRIO] at com.sun.squawk.imp.MIDletMainWrapper.main(94) [cRIO] in virtual method #95 of com.sun.squawk.Klass(bci=25) [cRIO] at com.sun.squawk.Isolate.run(1554) [cRIO] at java.lang.Thread.run(231) [cRIO] in virtual method #47 of com.sun.squawk.VMThread(bci=42) [cRIO] in static method #3 of com.sun.squawk.VM(bci=6) |
|
#2
|
|||
|
|||
|
Re: Camera tracking code not working in our own program, but works in CircleTrackerDe
Could be any number of things. Would be nice if we could see the code you are using
|
|
#3
|
|||
|
|||
|
Re: Camera tracking code not working in our own program, but works in CircleTrackerDe
Just figured out stuff. I actually put my code into the trackerdemo code and it worked fine. So now we're good. Thanks though!
|
|
#4
|
|||||
|
|||||
|
Re: Camera tracking code not working in our own program, but works in CircleTrackerDe
This took a good whole day for us to figure out, too. I thought there was a way to import the same code into our own program, but I guess not. Anyway, good to know that you've found the answer!
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Code downloaded but not working... :( | pudgeball | C/C++ | 4 | 28-01-2010 11:04 |
| Camera moving but not tracking | ijk90825 | Programming | 3 | 31-01-2009 14:40 |
| Camera tracking but not moving | penguain | NI LabVIEW | 9 | 30-01-2009 10:10 |
| Camera Tracking not working? | NinJA999 | C/C++ | 0 | 25-01-2009 15:28 |
| Camera locked in "tracking", but not tracking | geeknerd99 | Programming | 1 | 18-02-2007 22:47 |