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 / *80 (-20)
  Re: Battery voltage available within NQC?
 
(...) If you REALLY wanted to do this, you could use the bytecode to broadcast the battery information to the IR tower and have a service running on the PC which would recieve the battery message and then send an appropriate message back to the RCX. (...) (26 years ago, 12-Mar-99, to lugnet.robotics.rcx.nqc)
 
  Re: Battery voltage available within NQC?
 
(...) There's a bytecode (0x30) that instructs the RCX to send the battery voltage as a response over the IR. That's what NQC and Mindstorms use to read the battery voltage. I don't think this opcode has any effect within a program, or at best it (...) (26 years ago, 12-Mar-99, to lugnet.robotics.rcx.nqc)
 
  Battery voltage available within NQC?
 
Last night I went out and bought six C cell nicads and wired them up as a power supply for my robot. What I'm wondering is this: is there some way to programmatically obtain the battery voltage, so I could make a decision based on a voltage (...) (26 years ago, 11-Mar-99, to lugnet.robotics.rcx.nqc)
 
  Re: Idle process
 
I guess my earlier posting got out after all. I got the message from the NNTP server telling me to register. That is why a slightly different version of my message appears later in the group. (...) I plan to keep the idle task, now that I understand (...) (26 years ago, 11-Mar-99, to lugnet.robotics.rcx.legos)
 
  Re: Idle process
 
(...) The idle task actually has the lowest priority in my scheme, but there was some efficiency gained in making the task list loop around. If the idle task is always there, it makes for simplified code in multitasking startup if you rely on that. (...) (26 years ago, 11-Mar-99, to lugnet.robotics.rcx.legos)
 
  Re: Idle process
 
Sorry this message is so late, I had to get registered for posting from my work address. (...) I, too, consider power saving to be a valuable (indispensible) feature. That is precisely the sort of thing that I feared I might be overlooking. Up 'till (...) (26 years ago, 11-Mar-99, to lugnet.robotics.rcx.legos)
 
  Re: Idle process
 
(...) I, too, consider power saving to be a valuable (indispensible) feature. That is precisely the sort of thing that I feared I might be overlooking. Up 'till now, I had not worked on an embedded project which would benefit from using (...) (26 years ago, 9-Mar-99, to lugnet.robotics.rcx.legos)
 
  RcxCC version 2.2 available
 
I am happy to announce the public release of version 2.2 of RCX Command Center. RCX Command Center is a Windows (95, 98, NT) program that assist you in programming the Lego MindStorms or CyberMaster Robots. It provides a higher level interface to (...) (26 years ago, 10-Mar-99, to lugnet.robotics.rcx.nqc, lugnet.robotics)
 
  Re: RcxCC for NQC 1.1?
 
I have not done extensive testing but it worked for me. Replaced nqcc.exe and nqc.h with the new versions 1.2. (...) (26 years ago, 9-Mar-99, to lugnet.robotics.rcx.nqc)
 
  New pbFORTH version
 
I've just updated the website for pbFORTH with the newest version of both the source and the srec file. (URL) Thanks to Charles Anderson for pointing out the LCD_SHOW/HIDE problem. I've added SOUND_PLAY and SOUND_GET for system sounds, the arbitrary (...) (26 years ago, 9-Mar-99, to lugnet.robotics.rcx.pbforth, lugnet.robotics)
 
  NQC 1.2 has been released
 
NQC Version 1.2 adds support for simple inline functions and basic expression evaluation. More details can be found at: (URL) (26 years ago, 9-Mar-99, to lugnet.robotics.rcx.nqc, lugnet.robotics)
 
  Re: RcxCC for NQC 1.1?
 
Can you simply replace the nqcc executable in the RcxCC directory with the new version? (...) (26 years ago, 8-Mar-99, to lugnet.robotics.rcx.nqc)
 
  Re: Idle process
 
Hi Lou, the sleep instruction effectively shuts down the CPU until the next interrupt occurs. Thus, the idle process conserves battery power if no task wishes to run. I consider this a worthwile feature. If you can do this without a dedicated idle (...) (26 years ago, 8-Mar-99, to lugnet.robotics.rcx.legos)
 
  RcxCC for NQC 1.1?
 
I just downloaded RcxCC and noticed that it is still using NQC 1.0b4 Was the RcxCC project abandoned? Why it still uses an outdated version of NQC? Are there any other good alternatives to RcxCC for the new NQC? Thanks Laurentino Martins (...) (26 years ago, 7-Mar-99, to lugnet.robotics.rcx.nqc)
 
  Idle process
 
I am reworking parts of the task scheduler in tm.c, tm.h, et al. I notice, reading the code, that there is an idle process which runs all of the time. There is a note in tm.c; "execi needs pd_idle". It appears to use it to locate the head of the (...) (26 years ago, 7-Mar-99, to lugnet.robotics.rcx.legos)
 
  Re: Compiling the compiler
 
(...) I've checked into this a little further. It comes down to something like the following: void foo(const char *p) { delete p; } On one hand, this is conceptually a violation of "constness" as a caller to foo() wouldn't know that the object (...) (26 years ago, 6-Mar-99, to lugnet.robotics.rcx.nqc)
 
  pbFORTH enhancements soon
 
Thanks to all of the mail I have received, I am going to try to get the next version of pbFORTH out this weekend. Charles Anderson pointed out a rather embarassing flaw in the LCD_SHOW and LCD_HIDE routines, thanks. I have been using Dave Baum's NQC (...) (26 years ago, 5-Mar-99, to lugnet.robotics.rcx.pbforth)
 
  Re: Compiling the compiler
 
(...) What file are you compiling when you get this error? I think the fix is to include "Symbol.h" before the array templates get instantiated, but it is curious that neither Metrowerks nor gcc complain. (...) Yes, a cast should be fine. Offhand, (...) (26 years ago, 5-Mar-99, to lugnet.robotics.rcx.nqc)
 
  Re: Compiling the compiler
 
Thanks Dave, I did however find a version of Bison and Flex to use under windows. I didn't want to install the whole cygwin distribution so I searched and found stand alone versions of that came from DJGPP. I'm still having a few minor (...) (26 years ago, 4-Mar-99, to lugnet.robotics.rcx.nqc)
 
  Re: Compiling the compiler
 
(...) You can probably use parse.tab.c instead. The whole default/parse.cpp thing is specific to Unix builds. The Mac and Windows builds are done under Metrowerks with custom Flex/Bison plugins. The output of those plugins is in nqc/lexer.cpp and (...) (26 years ago, 4-Mar-99, 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