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 / *3305 (-20)
  Re: The datalog
 
Um, OK, but since Perl is a bit out of my league, I think that I will hold it there. But maybe I'll learn Perl in the future, who knows? Do you think it could be done in AppleScript? (Is MacNQC scriptable, BTW?) Guess there's an easy way to check (...) (24 years ago, 1-Oct-00, to lugnet.robotics.rcx.nqc)
 
  Re: The datalog
 
(...) Sure, you could do that. You'd need to write a perl script or something to control the process. (24 years ago, 1-Oct-00, to lugnet.robotics.rcx.nqc)
 
  Re: The datalog
 
So I can just return the datalog to the computer, not have NQC choose different programs to download depending on what the datalog reads? BTW, in firware version 2, the RCX can read from the datalog, but what does that mean in reality? Can it decide (...) (24 years ago, 1-Oct-00, to lugnet.robotics.rcx.nqc)
 
  Re: The datalog
 
(...) yes (...) NQC programs do not run on the host computer. They only run on the target (RCX/Cybermaster/Scout). The NQC command can read the datalog (printing it to stdout) and download programs, but to do something intelligent you'd need another (...) (24 years ago, 30-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: Scout poweroff time out?
 
(...) Possible, yes, but I'd prefer not to. The command line is already too complex. I might consider adding the information as part of the regular program download message (with the battery level). For devices other than Scout, there isn't a fixed (...) (24 years ago, 30-Sep-00, to lugnet.robotics.rcx.nqc, lugnet.robotics.scout)
 
  Re: Scout poweroff time out?
 
(...) You know, I tried that. It didn't work. But then I'm using my new editor (that I'm working on) and had forgotten to set the brick type with EACH command to NQC. I only had it set to compile/Download. So the scout wouldn't be 'unlocked' until I (...) (24 years ago, 30-Sep-00, to lugnet.robotics.rcx.nqc, lugnet.robotics.scout)
 
  The datalog
 
Can I have the computer read the datalog after a program is finished, and then, depending on what the datalog reads, have it download a different program to the RCX? My idea would be to make a robot that stores it's movement, and thhen have the (...) (24 years ago, 30-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: Scout's Built-In 29 Subroutines & NQC?
 
(...) In the old Scout API there were two calls: #define local(n) (@((n) + 10)) void Call(const int n) { asm { 0x17, n }; } You can enable the API by adding -D__SCOUT_COMPAT on the command line, or just copy the above two lines into your program. (...) (24 years ago, 30-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: Scout poweroff time out?
 
(...) I just verified that both of these work. I'll fix the API for the next NQC release, but in the meantime, you can always add the following functions to your Scout programs: void SetSleepTime(const int t) { asm { 0xb1, t }; } void SleepNow() { (...) (24 years ago, 30-Sep-00, to lugnet.robotics.rcx.nqc, lugnet.robotics.scout)
 
  Re: Scout poweroff time out?- Update
 
(...) After a *FEW* hours playing with this thing I've found out the following... It's built in shutdown is set for 15 minutes. Sending an IR code seems to reset this counter. So far I cannot find any way to keep it alive on it's own. If anyone (...) (24 years ago, 30-Sep-00, to lugnet.robotics.rcx.nqc, lugnet.robotics.scout)
 
  Scout's Built-In 29 Subroutines & NQC?
 
I've been re-reading the Scout SDK and came across the following: "Program Block Library (subroutines) The Scout has an extensive subroutine library of general-purpose functions that can help reduce the size of downloaded user programs. Many of the (...) (24 years ago, 30-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: Scout poweroff time out?
 
(...) Looking at the Scout SDK, I think it does support the same sleep time command as the RCX - although perhaps not from within a program. There are two things to try: nqc -sleep 0 or add the following function to your program and call it (with (...) (24 years ago, 30-Sep-00, to lugnet.robotics.rcx.nqc, lugnet.robotics.scout)
 
  Re: New Kernel Documentation
 
There is now a .pdf version (which maintains the tables) available at (URL) I tried ps2ascii, but it didn't seem to work. pstotext does work, but the many (very nice) tables get lost. If it weren't for that, I would have converted it all to sgml/xml (...) (24 years ago, 30-Sep-00, to lugnet.robotics.rcx.legos)
 
  Re: New Kernel Documentation
 
Dave, I tried ps2ascii, but it didn't seem to work. The only thing I can suggest is to download a copy of GhostScript / GhostView. If you're using a common Linux distro you've probably already got it - if you're using Windoze, it's really easy to (...) (24 years ago, 30-Sep-00, to lugnet.robotics.rcx.legos)
 
  Re: New Kernel Documentation
 
I have just skimmed through this document and it is AWESOME!! In case you ran into the same problem as I did and was not able to view Post Script files, check out this URL: (URL) a Utility call Ghost Script that allows even Winblows users to view (...) (24 years ago, 30-Sep-00, to lugnet.robotics.rcx.legos, lugnet.robotics)
 
  Re: New Kernel Documentation
 
Is it possible to put up a non-Post Script version? I don't have a viewer that can display this type of document. Perhaps a plain .txt or .html version? Thanks Dave (...) (24 years ago, 29-Sep-00, to lugnet.robotics.rcx.legos)
 
  Scout poweroff time out?
 
I've just finished a very cool Camera mount that can be controlled via the web. (Linux, NQC & PHP) I've decided to use my scout because it's so limited. I've noticed one point and can't seem to see away way around this. I'm hoping someone can help. (...) (24 years ago, 29-Sep-00, to lugnet.robotics.rcx.nqc, lugnet.robotics.scout)
 
  new legOS HOWTO and note from our sponsors
 
This is just a minor update to the HOWTO- it discusses the new C++ support in CVS, how to access CVS, and links to the new kernel documentation. As usual, it can be found here: (URL) plug: I'd like to note that the past several releases of the HOWTO (...) (24 years ago, 29-Sep-00, to lugnet.robotics.rcx.legos, lugnet.robotics)
 
  New Kernel Documentation
 
Stig Nielsson has written excellent documentation on the internals of the kernel. I learned a heck of a lot going through it- I think this makes Stig our new designated kernel expert :) Anyway, you can read it here: (URL) you have any comments or (...) (24 years ago, 29-Sep-00, to lugnet.robotics.rcx.legos, lugnet.robotics)  
 
  Dave Baum's scanbot w/ bumper?
 
I was programming a "scanbot" from the Definitive Guide and wanted to install a bumper as I noticed the robot would run into things periocically while "searching" for the light. I wrote some code as follows: void check_bump { if (BUMP == 1) { (...) (24 years ago, 27-Sep-00, to lugnet.robotics.rcx)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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