To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 796 (-20)
  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)
 
  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)
 
  Re: NQC & Rotation Sensor
 
(...) Do you have the sensor at a place where one rotation of the sensor = 360 degrees of whatever you're turning? I'd suggest putting it somewhere where it rotates a lot more times than the actual turntable. (You need a touch sensor for 0 this way, (...) (24 years ago, 26-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC & Rotation Sensor
 
(...) Dave, Thanks for the reply, I had a bad feeling it would be this way. If that wasn't bad enough it keeps losing 2 points when stepped from 0 to 16 and back again... Most annoying. I'm going to move to a touch sensor bump mode... This way my (...) (24 years ago, 26-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC & Rotation Sensor
 
(...) The reset is a consequence of one of the bytecodes used to configure the sensor. I don't see a way to work around it. (...) This will have the same problem - in fact the generated code is probably identical (except for perhaps order) to just (...) (24 years ago, 26-Sep-00, to lugnet.robotics.rcx.nqc)
 
  NQC & Rotation Sensor
 
I have this program that monitors the location of a camera mount in a 360 degree turn. (0 and 16 are 0, 8 is 180 etc) However whenever I use SetSensor(SENSOR_2, SENSOR_ROTATION); it blanks the current sensor value when the program is restarted. This (...) (24 years ago, 25-Sep-00, to lugnet.robotics.rcx.nqc)
 
  WinNQC version 1.01
 
When RcxCC's source was opened, I found it wasn't written by C++, so I thought I need to write a new windows tool for NQC, after 3 weeks, I got the first baby. I want to introduce you this new NQC tool - WinNQC, this is a Win32 GUI application, it (...) (24 years ago, 20-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: Can't get Linux NQC to compile/Run
 
(...) Ok, here is the scoop. I've done the following tests... Installed Red Hat 6.2 Both rpm's worked just fine. (pre compiled & source) Installed Mandrake 7.1 as a 'Developer' (w/ Extension CD) Pre Compiled rpm failed. Same error. Compiled rpm (...) (24 years ago, 15-Sep-00, to lugnet.off-topic.geek, lugnet.robotics.rcx.nqc)
 
  Re: Can't get Linux NQC to compile/Run
 
(...) [ -> followup-top .off-topic.geek ] (24 years ago, 15-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: Can't get Linux NQC to compile/Run
 
(...) If you can get me an account on a Mandrake box, I'll build an RPM for you and put it on my page. (24 years ago, 15-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: Can't get Linux NQC to compile/Run
 
(...) Not after doing an upgrade, but I'd mucked so much around with the system I think I corrupted it. I downloaded and installed Red Hat 6.2 and the pre-compiled version ran. I haven't tried the source compile yet. (I can't get the ftp, telnet & x (...) (24 years ago, 15-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: Can't get Linux NQC to compile/Run
 
(...) So Dean, does the package rebuild after installing this? (24 years ago, 15-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: Can't get Linux NQC to compile/Run
 
(...) Wonderful. Which means it's in the "RPMS2" directories on FTP mirrors, which I didn't think to look in. So, there's the answer! (24 years ago, 14-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: Can't get Linux NQC to compile/Run
 
(...) *Open mouth* *Insert foot* *Recheck CDs* ht@katzenminze%pts/2 (21:01) ~ > rpm -qf /usr/include/g++-3/vector.h libstdc++-devel-2.95.2-7mdk ht@katzenminze%pts/2 (21:01) ~ > l1 /misc/cd/Mandrake/RPMS/libstd* /misc/cd/Mandrake/RP...k.i586.rpm (...) (24 years ago, 14-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: Can't get Linux NQC to compile/Run
 
(...) But that's not libstdc++-devel... (24 years ago, 14-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: Can't get Linux NQC to compile/Run
 
(...) Fresh install. To be sure, the package is right on the primary "install" CD: ht@katzenminze%pts/2 (17:54) ~ > ll /misc/cd/Mandrake/RPMS/libstd* /misc/cd/Mandrake/RP...k.i586.rpm I used the official ISO images from Mandrake. Regards, Hakan (...) (24 years ago, 14-Sep-00, 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