Go to Post Wait, robot? We've been working on building a team. - rtfgnow [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 23-01-2010, 14:51
flameout flameout is offline
AKA Ryan Van Why
FRC #0957 (SWARM)
Team Role: Alumni
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Oregon
Posts: 168
flameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to all
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
[cRIO] 
[cRIO] 
[cRIO] [OTA Server] Version: 2010 FRC, Dec 30 2009, 15:22:08
[cRIO] 
[cRIO] [OTA Server] Starting...
[cRIO] 
[cRIO] [OTA Command Server] In serverSocketListener()
[cRIO] 
[cRIO] [OTA Redirector] In serverSocketListener()
[cRIO] 
[cRIO] task 0x215a590 (t2) deleted: errno=0 (0) status=0 (0)
[cRIO] 
[cRIO] Welcome to LabVIEW Real-Time 8.6.1f2
[cRIO] 
[cRIO] NI-VISA Server 4.5 started successfully.
[cRIO] task 0xe62058 (t1) deleted: errno=1835009 (0x1c0001) status=1 (0x1)
[cRIO] [OTA Server] Restarting Java VM
[cRIO] 
[cRIO] Bootstrap suite loaded
[cRIO] In Startup
[cRIO] Looking for implementation class com.sun.squawk.platform.posix.vxworks.natives.SelectImpl
[cRIO] FPGA Hardware GUID: 0xad9a5591cc64e4df756d77d1b57a549e
[cRIO] FPGA Software GUID: 0xad9a5591cc64e4df756d77d1b57a549e
[cRIO] IterativeRobot Constructor Start
[cRIO] IterativeRobot Constructor Finish
[cRIO] IterativeRobot startCompetition() Start
[cRIO] task 0x2158710 (FRC_cameraTask) deleted: errno=0 (0) status=0 (0)
[cRIO] Default RobotIterativeBase::DisabledInit() method running
[cRIO] Disabled_Init() completed
[cRIO] Default RobotIterativeBase::DisabledInit() method running
[cRIO] Disabled_Init() completed
Does anyone have an idea what's happening? Thank you for any help.
Reply With Quote
  #2   Spotlight this post!  
Unread 26-01-2010, 21:27
flameout flameout is offline
AKA Ryan Van Why
FRC #0957 (SWARM)
Team Role: Alumni
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Oregon
Posts: 168
flameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to all
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.
Reply With Quote
Reply


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nonexistent Vision Code linkhyrule5 NI LabVIEW 6 12-01-2010 00:48
Not Really Working Vision Code linkhyrule5 NI LabVIEW 0 07-01-2010 18:45
DS crashing ThisAintJeff FRC Control System 3 14-12-2009 14:48
Max Crashing SGK 3D Animation and Competition 11 02-02-2003 20:51


All times are GMT -5. The time now is 22:43.

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