Subject:
|
Re: NBC with NXT - crash!
|
Newsgroups:
|
lugnet.robotics.nxt
|
Date:
|
Fri, 27 Oct 2006 21:24:39 GMT
|
Viewed:
|
12248 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
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:
![](/news/x.gif) | | 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: ![NBC with NXT - crash! -Ross Crawford (21-Oct-06 to lugnet.robotics.nxt)](/news/x.gif) ![](/news/246.gif) ![Re: NBC with NXT - crash! -John Hansen (21-Oct-06 to lugnet.robotics.nxt)](/news/x.gif) ![](/news/46.gif) ![Re: NBC with NXT - crash! -Ross Crawford (21-Oct-06 to lugnet.robotics.nxt)](/news/x.gif)
![](/news/x.gif) ![](/news/68.gif) ![You are here](/news/here.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|