 | | 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. (...) (26 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() { (...) (26 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 (...) (26 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 (...) (26 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 (...) (26 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 (...) (26 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 (...) (26 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 (...) (26 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 (...) (26 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. (...) (26 years ago, 29-Sep-00, to lugnet.robotics.rcx.nqc, lugnet.robotics.scout)
|
| |
 | | does anyone have the new motors yet?
|
|
I'm interested in hearing people's experience with the 8279 4 WD X-Track or the 5221 Motor Pack. (26 years ago, 29-Sep-00, to lugnet.robotics, lugnet.technic)
|
| |
 | | 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 (...) (26 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 (...) (26 years ago, 29-Sep-00, to lugnet.robotics.rcx.legos, lugnet.robotics)
|
| |
 | | VLL, Scout, MicroScout
|
|
OK, it's Friday afternoon, and precious little work is going on, so....I just tried an interesting experiment. I took a photodarlington transistor and stuck it into the light output of the Scout. I put the leads of the tranny in series with one side (...) (26 years ago, 29-Sep-00, to lugnet.robotics)
|
| |
 | | Technical specifications
|
|
Hi! I'd like to know where I can find technical specifications like torque, voltage, speed, size, weight, prize, etc... I've tried some sites like www.lego.com or www.lugnet.com, but I can't find what I'm looking for. Perhaps I'm not looking right. (...) (26 years ago, 29-Sep-00, to lugnet.robotics)
|
| |
 | | Re: Advanced programming with Vision Command
|
|
(...) ARGH ! Kekoa Proudfoot of course PROUDFOOT !! Sorry Kekoa ! (...) Rainer again (Hamburg - Germany) (26 years ago, 29-Sep-00, to lugnet.robotics)
|
| |
 | | Re: Advanced programming with Vision Command
|
|
(...) You're right ! I'm wrong :-( ! This alive message is requested by the VC-software and automatically replied from the RCX (probably request opcode 10/18 from PC and replie opcode e7/ef from RCX). See the great RCX Internal page of Kekoa (...) (26 years ago, 29-Sep-00, to lugnet.robotics)
|
| |
 | | PWM decoding
|
|
I sent this email a while back but didn't get any response so I'm trying again. What I am after is a way to decode the pwm output of a standard radio control receiver (the same signals sent to the servos) into a numerical form that can be used (...) (26 years ago, 29-Sep-00, to lugnet.robotics.handyboard)
|
| |
 | | Relative Distance sensor
|
|
Techno-stuff is pleased to announce availability of the new Infra-Red Relative Distance indicator. This is similar to an IRPD, except it returns eight different values, depending on the distance. Maximum range is about two feet. It measures the (...) (26 years ago, 29-Sep-00, to lugnet.robotics)
|
| |
 | | flow control with Switch
|
|
I try to use a "switch" instead o using alot of "if... else". I use the one like a normal C compiler, but it doesn´t work. What can I do?. Daniel (26 years ago, 29-Sep-00, to lugnet.robotics.handyboard)
|