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 / *2850 (-20)
  Re: legOS battery life code
 
Sorry! I forgot to post the code. Here it is: #include <dsensor.h> #include <dlcd.h> #include <conio.h> int get_battery_mv() { long b; int mv; b = BATTERY; b = ds_scale(b) * 0xABD4L; mv = b / 0x618L; return mv; } int main(int ac, char **av) { int b; (...) (24 years ago, 5-Jul-00, to lugnet.robotics.rcx.legos)
 
  legOS battery life code
 
Hello, I recently received some code in the mail that when compiled and uploaded to the RCX is supposed to give you the battery life. But when I go to compile it, legOS/util/makelx gives me the following error message: single byte different at (...) (24 years ago, 5-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Interactive Robots
 
(...) Quite good. Fantastic site, I have just spend a relaxing 30 minutes browsing it. Keep up the good work. Scott A (...) (24 years ago, 5-Jul-00, to lugnet.robotics.rcx)
 
  Re: temperature sensor problem
 
(...) No problem. Most of the other environments hide this sort of thing programmer, but this relies on the fact that the programming environment knows how each sensor is going to be used. I didn't think this fit with the C philosophy*, so (...) (24 years ago, 4-Jul-00, to lugnet.robotics.rcx.nqc)
 
  Re: VB Upload Problem
 
Well, Chris verifies that he uses variable 23, 24, and 25 to log values in ROBOLAB, and that he also puts in random stuff such as which sensor it is, etc. in the beginning of the datalog. But this still leaves the problem of how to clear the (...) (24 years ago, 3-Jul-00, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
 
  Re: temperature sensor problem
 
ahhh... there it is. page 312. thanks. :) i think i saw that 3-digit stuff before and i forgot about it. and thanks for the idea about the until. -ben (...) of (...) (24 years ago, 3-Jul-00, to lugnet.robotics.rcx.nqc)
 
  Re: temperature sensor problem
 
Ben, Internally, the RCX only works with integers, but .1 degree resolution was desired for temperature sensors, so the sensor values are actually measured in .1 degree increments. A reading of 70 degrees F is stored as 700, not 70. If you change (...) (24 years ago, 3-Jul-00, to lugnet.robotics.rcx.nqc)
 
  temperature sensor problem
 
It's probably something simple and i'm about to embarrass myself, but I'm trying to write the equivalent of an RCX Code temperature sensor watcher with NQC. The motors don't seem to shut off, even when the temperature gets less than 70... (I added (...) (24 years ago, 3-Jul-00, to lugnet.robotics.rcx.nqc)
 
  Re: rotation sensor problem, again...
 
I had the same problem and I solved it with a msleep(50). msleep(10) is not enough. (...) (24 years ago, 3-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: battery life indicator
 
if((BATTERY/0x0016)<700) dlcd_show(LCD_BATTERY_X); I always put this line on my programs. BATTERY/0x0016 gives the value in V*100 of all batteries open circuit voltage. <700 is the limit for rotation sensors to work (all the other sensors have (...) (24 years ago, 3-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: interrupts for buttons
 
Sorry about the long delay, I've been away. Demo.c is inaccessable because it was written for 0.1.7 and I've not yet had the time to update it. Unfortunately, this is going to be a semi-major task and so will probably be one of the last things to (...) (24 years ago, 2-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Call for Mac programmers
 
(...) I've posted the source code for MacNQC (sorry it took so long): (URL) there are any serious takers for continuing MacNQC development, please let me know. About the only thing I'd be concerned about is that the project should stay MPL'ed. Dave (...) (24 years ago, 1-Jul-00, to lugnet.robotics.rcx.nqc)  
 
  Re: running the motors underwater
 
(...) The main problem is that the motor isn't water prof. It's rusting inside and or the grease is breaking down. The motor will heat up while in use. This would cause a sealed motor to push the air past the rotating axle. Ok, now when the motor (...) (24 years ago, 29-Jun-00, to lugnet.robotics.rcx)
 
  running the motors underwater
 
A few years ago some kids I was working with were trying to outfit a LEGO boat with a paddle wheel and micromotor. While they were working, one kid got the idea that he was going to put a propellor onto one of the 4200 rpm motors, add wheels, and (...) (24 years ago, 29-Jun-00, to lugnet.robotics.rcx)
 
  Re: java/RCX combo
 
I'm currently trying to recreate the JavaOne Mindstorms demo which Sun used in 1999 to show off its Jini(tm) capabilities. Will let you know once I succeed - at the moment the problems are more related to Java(tm) than anything else. -thomas (24 years ago, 28-Jun-00, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
 
  Re: Making LegOS under Win98
 
Hi All I was wondering if anyone has some sample LNP applications posted anywhere, or if there is any sample code and/or docs online. I'm having abi tof difficulty diving into it, so to speak ;-) Colin Ryan (24 years ago, 28-Jun-00, to lugnet.robotics.rcx.legos)
 
  NQC Programmer's Guide Updated
 
A major overhaul of the NQC Programmer's Guide has been compelted. Since the guide applies to NQC 2.2, and NQC 2.2 is still in beta, the guide is in beta as well: (URL) those of you waiting to try out NQC with the Scout or RCX2, the new guide should (...) (24 years ago, 28-Jun-00, to lugnet.robotics.rcx.nqc)  
 
  Interactive Robots
 
I have been playing around with building more rounded robots using building techniques usually seen in lugnet.build.arch.* I have constructed two rather nice looking examples that have some rudementary interaction. If either robot detects the other (...) (24 years ago, 28-Jun-00, to lugnet.robotics.rcx)
 
  internet project, anyone?
 
I'm working on an internet communication project that requires both parties to have ROBOLAB 2.01 and the Technic 8094. (i can get you robolab 2.01 if you need it) If you are interested in trying this out with me, let me know... i realize this is a (...) (24 years ago, 27-Jun-00, to lugnet.robotics.rcx.robolab, lugnet.robotics, lugnet.robotics.rcx)
 
  interrupts for buttons
 
I'm trying to connect the Run button to an "event function" so that I can shut down my system nice and clean instead of the evil kill that is happening right now. It seems I can't access demo.c that is in the HOWTO, so I'm not sure how I'd do this. (...) (24 years ago, 27-Jun-00, to lugnet.robotics.rcx.legos)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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