View unanswered posts | View active topics It is currently Fri Nov 21, 2014 11:18 pm






Reply to topic  [ 5 posts ] 
CRASH!!! 
Author Message
Expert
User avatar

Joined: Sat Sep 20, 2008 12:16 pm
Posts: 106
Location: Curently fighting aliens on P3X-828
Post CRASH!!!
RobotC crashed while I was running a small test/scout robot based on the design of the Spybotics Technojaw T55. The NXT froze, and robotC stoped responding to my input. I don't know why it did that.

_________________
:downloading:
Sorry, your program could not be downloaded. Please reboot your computer.
FTC Team #2959 Team Smash Bros CLICK HERE.(or click www)
Quote:
What the world needs is more geniuses with humility, there are so few of us left.

Agreed


Wed Oct 22, 2008 10:23 am
Profile WWW
Site Admin
Site Admin

Joined: Wed Jan 24, 2007 10:42 am
Posts: 613
Post Re: CRASH!!!
Can you post your source code?

We need more information than "it just crashed" to help. Did your NXT power off, did the battery get too low? Did your BT adapter abruptly get disconnected?

_________________
Timothy Friez
ROBOTC Developer - SW Engineer
tfriez@robotc.net


Wed Oct 22, 2008 1:38 pm
Profile
Expert
User avatar

Joined: Sat Sep 20, 2008 12:16 pm
Posts: 106
Location: Curently fighting aliens on P3X-828
Post Re: CRASH!!!
The problem is that I don't have any info besides the source code and what happened in detail, and the source code probably won't help knowing that it's just standard stuff.
What happened was that while I was driving the robot, the controls stuck in the debug window, and the robot started running off. When I looked at the NXT screen, it had froze. It hasn't done that since.

_________________
:downloading:
Sorry, your program could not be downloaded. Please reboot your computer.
FTC Team #2959 Team Smash Bros CLICK HERE.(or click www)
Quote:
What the world needs is more geniuses with humility, there are so few of us left.

Agreed


Wed Oct 22, 2008 8:48 pm
Profile WWW
Site Admin
Site Admin

Joined: Wed Jan 24, 2007 10:42 am
Posts: 613
Post Re: CRASH!!!
If I were to guess, I would say that it was the FANTOM driver (LEGO/NI's communication driver for NXT communication) went into a "time-out" mode because the BT link got lost to the NXT.

Basically... the NXT dropped the BT somehow, Fantom was in the middle of connecting... then locked up because it couldn't find the NXT anymore... and then ROBOTC "froze"... ROBOTC would have come back alive after about 30 seconds, once Fantom finally timed out fully and returned to ROBOTC that it had.

If it keeps happening, we can investigate it a little more using the message log... but I think may just be the joys of using BT and having it disconnect.

On a side note, I hear Newegg is having a sale on USB extension cables... :D

_________________
Timothy Friez
ROBOTC Developer - SW Engineer
tfriez@robotc.net


Wed Oct 22, 2008 9:57 pm
Profile
Expert
User avatar

Joined: Sat Sep 20, 2008 12:16 pm
Posts: 106
Location: Curently fighting aliens on P3X-828
Post Re: CRASH!!!
USB has it's own problems, like the tether/cable that is required for the link.
btw I got a serial port PCMCIA card from Newegg for 2 lego spybots that we have ordered for X-mass off of ebay. G60 and S70.

_________________
:downloading:
Sorry, your program could not be downloaded. Please reboot your computer.
FTC Team #2959 Team Smash Bros CLICK HERE.(or click www)
Quote:
What the world needs is more geniuses with humility, there are so few of us left.

Agreed


Thu Oct 23, 2008 3:03 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.