To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 3705
3704  |  3706
Subject: 
Threaded LNP problems
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Fri, 19 Mar 2004 11:12:34 GMT
Reply-To: 
patves-7@student.luth.IHATESPAMse
Viewed: 
4755 times
  
Hi,

I've written a small program with a few rcx's moving around trying to
communicate with  each other through IR. Every Robot is supposed to send
it's lnp address every 100ms in a seperate thread, listen for other robots
in another thread and move around in a third thread.

The program works fine as long as the robot is in a follow line mode. But
when It enters a random movement phase receiving messages stop working,
send still works though. I've read that there were supposed to be some
trouble using lnp with threads, is this still true ?

I'm using brickOS-2.6.09 and I can submit the code if someone wants to take
a look at it.

//Patrik



1 Message in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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