To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / *5660 (-20)
  Re: threads - bug in the firmware?
 
(...) As pointed by Albert Huang, you cannot call kill() with an "invalid" pid. Actually, the comment above kill() in tm.c says: //! kill a process /*! \param pid must be valid process ID, or undefined behaviour will result! The function updates (...) (23 years ago, 16-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: threads
 
two of your threads terminate shortly after being started (...) as far as I know, legOS provides no functionality for determining whether or not a thread is alive or not. You need to keep track of this yourself (e.g. using a variable/flag that gets (...) (23 years ago, 16-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: threads - bug in the firmware?
 
Hi again I have now totally stripped down my code to a minimum and I am still having problems with the code hanging up. I can see nowhere where there can be a fault. I am a long way from being an expert, but is it possible there is a bug in the (...) (23 years ago, 16-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: Cygwin problems
 
Ben I recommend you read the Howto from the sourceforge docs section, or even better buy the Extreme Mindstorms book (Extreme Mindstorms; D. Baum, M. Gasperi, R. Hempel, L. Villa; Apress; ISBN: 1893115844 ) . Both give a good explanation of legOS. (...) (23 years ago, 16-Jan-02, to lugnet.robotics.rcx.legos)
 
  Cygwin problems
 
Hi all, i am having problems with cygwin. It doesnt help that i dont know what all these linux commands mean but i will explain my problems now. I have intstalled all the software to my system ok and the linux emulator seems to work fine(i can use (...) (23 years ago, 16-Jan-02, to lugnet.robotics.rcx.legos)
 
  SDK 2.0
 
Hi everybody. Does anyone downloaded the new SDK 2.0 for RIS2.0? When i try to download the zip file, everything seems to work, but when i launch the EXE inside i get an error message "Corrupt Cabinet file" The download address is: (URL) in advance. (...) (23 years ago, 16-Jan-02, to lugnet.robotics.rcx)
 
  Re: threads
 
Thanks Albert (...) still (...) How do I check this? There are no other tasks that can kill threads apart from this one. I also checked process IDs after creation and before killing. Best regards, mike (23 years ago, 16-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: newbie again part 2
 
(...) You could try David Baum's (creator of NQC) simulator, found here: (URL) is 'very alpha', meaning that it's in its early stages of development and uses Java, so be ready to ask more questions :) Good luck and hope you get your RCX soon! Robert (...) (23 years ago, 16-Jan-02, to lugnet.robotics.rcx.nqc)
 
  newbie again part 2
 
Another doubt: When I'm programming with NQC, is there a way to run the program (simulate its behavior actualy) without the RCX (because I don't have it yet)? Thanks, -- Paula Berger E-mail: pberger@terra.com.br paula@inf.pucrs.br ICQ#: 71133278 (23 years ago, 16-Jan-02, to lugnet.robotics.rcx.nqc)
 
  Re: threads
 
some suggestions: 1) random_delay = random()/1000000; LegOS uses 16 bit integers, meaning the largest value an integer can have is something like 65535. The above statement is meaningless 2) (...) If you kill a thread, make sure it's still a valid (...) (23 years ago, 15-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: newbie question
 
(...) Chris, if you start it in 'Programmer' mode and double-click (say) 'Inventor 4' you will open a new file complete with the 'Begin' and 'End' icons. If you pull down the 'Help' menu and click on 'Show Context Help' a screen will open that (...) (23 years ago, 15-Jan-02, to lugnet.robotics.rcx.robolab)
 
  newbie again
 
Hi everybody, a need some explanation about NQC. What I have to do is this: I have Lego Dacta's Control Lab (#9701) and I want to program it using NQC. I know now that I need to buy the RCX in order to do that, but is there anything else? What is (...) (23 years ago, 15-Jan-02, to lugnet.robotics.rcx.nqc)
 
  LNP Routing daemon with tcp/ip for RCX/legOS, Cybermaster/NQC
 
Dear NG, i try to develop a LNP routing daemon (LNPoI - Lego Network Protocol over Internet)and i think this peace of software can be also usefull to other people using legOS, RCX and Cybermasters (!). For now it´s only available as a binarie file (...) (23 years ago, 15-Jan-02, to lugnet.robotics.rcx.legos)
 
  Question about NQC code
 
Hi, I created the following light searching program: #define speed 2 #define inaccuracy 2 int lightstrength, max, min; task main() { SetSensor(SENSOR_2,S...OR_LIGHT); start searchforlight_a; } task searchforlight_a() { lightstrength = (...) (23 years ago, 15-Jan-02, to lugnet.robotics.rcx.nqc)
 
  Re: BricxCC
 
(...) that's a good point, especially for larger programs ! Stef Mientki (23 years ago, 15-Jan-02, to lugnet.robotics.rcx.nqc)
 
  newbie question
 
I have just got Robolab 2.5 and forgot to order user guides with it. Is it just me, or is it not entirely intuitive? I cannot yet find a way of starting a new project without first opening an existing one - am I missing something? (I have bought it (...) (23 years ago, 13-Jan-02, to lugnet.robotics.rcx.robolab)
 
  Re: threads
 
Hi again, I'm now totally stuck with this problem. I've spent all day at it, stepping through the code line by line with key presses. I've marked the point that the code appears to hang in left_control_task (). Someone please help, please. Thanks (...) (23 years ago, 15-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: Some remarks / questions about Brixcc
 
(...) Sorry about the mixup. I thought I'd tried capturing non-compiler errors with a redirect and it hadn't worked. But trying it just now it definitely does work. BricxCC is already capturing the compiler errors via the -E option. I am trying to (...) (23 years ago, 15-Jan-02, to lugnet.robotics.rcx.nqc)
 
  BricxCC
 
Hi John, I just got a new computer and tested your program on a AMD 1.333GHz Athon (Thunderbird). It works just great! I thank you for the adjustments/adds in your program as I requested. There is just one question left. Since I use to Delphi, I (...) (23 years ago, 15-Jan-02, to lugnet.robotics.rcx.nqc)
 
  Re: Some remarks / questions about Brixcc
 
(...) Error messages go to one of two places. Errors from the compiler default to stderr but can be redirected with the -E option (-Efoo would sent them to a file named "foo"). Other errors (problem communicating with the RCX, illegal command line, (...) (23 years ago, 15-Jan-02, to lugnet.robotics.rcx.nqc)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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