To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.nxtOpen lugnet.robotics.nxt in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / NXT / 202
201  |  203
Subject: 
Re: NBC with NXT - crash!
Newsgroups: 
lugnet.robotics.nxt
Date: 
Fri, 27 Oct 2006 21:24:39 GMT
Viewed: 
12540 times
  
In lugnet.robotics.nxt, Ross Crawford wrote:
Hi, I wrote the following program, and it causes my NXT to crash! If I remove
the ReadSensor() call from thread check_sensors, it doesn't crash. If I put a
call to ReadSensor() in thread main, it doesn't crash. I tried putting mutexes
around all the motor calls, but it still crashes. Can anybody explain why?

Note: My NXTdefs.h contains some macros which I've added, but nothing out of the
ordinary. I included my ReadSensor macro in the listing.

Well, I had to replace the batteries yesterday, and with the new batteries this
no longer crashes! Seems weird to me, but there you are. Has anybody else seen
weird behaviour with their NXT when the batteries are running low?

ROSCO



Message is in Reply To:
  NBC with NXT - crash!
 
Hi, I wrote the following program, and it causes my NXT to crash! If I remove the ReadSensor() call from thread check_sensors, it doesn't crash. If I put a call to ReadSensor() in thread main, it doesn't crash. I tried putting mutexes around all the (...) (18 years ago, 21-Oct-06, to lugnet.robotics.nxt)

4 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in NXT programmable brick

 
Verified and Trusted Team of Hackers
19 minutes ago
Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR