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 / *210 (-20)
  RE: SENSOR_READ doesn't return 0
 
(...) There are indeed many ways to skin a cat...in the end , the effect is the same, but I'm always curious to see how others do things. How many FORTH programmers does it take to screw in a light bulb? Just one, but he has to be the fellow that (...) (25 years ago, 16-Apr-99, to lugnet.robotics.rcx.pbforth)
 
  RE: Useful constants
 
(...) I have a 4Ah lead acid battery for mine too! Remember to fuse it just in case... Cheers, Ralph Hempel - P.Eng ---...--- Check out pbFORTH for LEGO Mindstorms at: (URL) ---...--- Reply to: rhempel at bmts dot com ---...--- (25 years ago, 16-Apr-99, to lugnet.robotics.rcx.pbforth)
 
  Re: legOS Network Protocol
 
(...) I am not in position right now, time-wise, to contribute to the LNP, but I am very interested, and may have time to contribute soon. In the mean time, I'd like to keep up with the project. I don't know if you realize, Jacob, but if you prefer (...) (25 years ago, 15-Apr-99, to lugnet.robotics.rcx.legos)
 
  Re: SENSOR_READ doesn't return 0
 
Actually, whils I am re-coding things, is there any reason why you didn't do DELAY like this? : DELAY ( 100msec timer -- ) 0 OVER TIMER_SET SWAP ( timer ticks ) BEGIN OVER TIMER_GET OVER > ( timer ticks time>ticks ) UNTIL 2DROP ; I have produced an (...) (25 years ago, 15-Apr-99, to lugnet.robotics.rcx.pbforth)
 
  Re: Useful constants
 
(...) That is what I intended them for, I just thought that if I put them up here it would save some typing for someone else. I intend my IDE to detect if they are already in the RCX when it starts up, and download them if necessary. The IDE (...) (25 years ago, 15-Apr-99, to lugnet.robotics.rcx.pbforth)
 
  Re: legOS Network Protocol
 
This would almost have to be a UDP like protocol just because the RCX has such limited resources and the complexity of adding transmision control to the protocol would be nasty. I really hate news groups, I like having messages sent to me directly. (...) (25 years ago, 15-Apr-99, to lugnet.robotics.rcx.legos)
 
  Rotation sensor help
 
I need some help with legOS and rotation sensors. I compiled and downloaded the demo/rotation-sensor.c program. The behaviour I get on my RCX is not what I expected. When I turn the sensor clockwise, the LCD toggles between 0 and -1, while (...) (25 years ago, 15-Apr-99, to lugnet.robotics.rcx.legos)
 
  RE: Ir transmission
 
(...) Alas, I only used the firmware timers available as core RCX firmware calls. I can look through Kekoa's disassembly to see if there are higher resolution timers available ( I think the motor timers might be useful ) In general, NQC hooks in (...) (25 years ago, 15-Apr-99, to lugnet.robotics.rcx.pbforth)
 
  RE: Useful constants
 
(...) <snipped constant descriptions> John, These constants are indeed useful, but would make the resulting srec file pretty big. I have tried to make a TCL script to allow a sort of macro substitution. You can always load the constants after the (...) (25 years ago, 15-Apr-99, to lugnet.robotics.rcx.pbforth)
 
  RE: SENSOR_READ doesn't return 0
 
(...) John, Thanks a lot for this catch. Sounds a lot like the email I exchanged with Kekoa regarding power down mode and external stacks, but that's another story... Cheers, Ralph Hempel - P.Eng ---...--- Check out pbFORTH for LEGO Mindstorms at: (...) (25 years ago, 15-Apr-99, to lugnet.robotics.rcx.pbforth)
 
  RE: SENSOR_READ doesn't return 0
 
(...) OOPS, that SHOULD read 0x0080 since the mode is a BYTE value. Overzealous urge to get content into the website is to blame. For the light sensor, I generally use the percent of scale mode. My website has a page on tricks with the light sensor (...) (25 years ago, 15-Apr-99, to lugnet.robotics.rcx.pbforth)
 
  Re: legOS Network Protocol
 
(...) Sounds good. Does it provide a stream interface or datagrams only? My faulty memory suggests that it might be the latter. If the network implementation supports packet reassembly (packets larger than MTU), there may not be a need for a stream (...) (25 years ago, 14-Apr-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS Network Protocol
 
(...) I too may be interested in this, although probably only the higher level stuff ie I'm not too sure how good I'd be at interfacing with the IR. Anyway, I had a look around and I found some references on a protocol layered on top of IP called (...) (25 years ago, 14-Apr-99, to lugnet.robotics.rcx.legos)
 
  Re: Ir transmission
 
(...) Perhaps EMIT? would do (...) I'm nearly done with my NQC to pbFORTH port of the IR proximity detector, but I'm stuck where I have at present got a 30ms delay (Sleep(3) in NQC). I expect it isn't critical but the current detector works so well (...) (25 years ago, 14-Apr-99, to lugnet.robotics.rcx.pbforth)
 
  Useful constants
 
\ I still need to figure out how the datalog and transfer progress \ segments work, I'll be spending some time inside Kehoa's disassembly I \ think BASE @ HEX ( codes for POWER_GET ) 4000 CONSTANT pwrOnOffButtonState 4001 CONSTANT (...) (25 years ago, 14-Apr-99, to lugnet.robotics.rcx.pbforth)
 
  Re: firmdl error
 
(...) [Luis sent me the .srec file so I could take a look at it.] The problem is the length of the first line of the srec file. The first line is 80 characters long, which is too long. The cryptic error message is because the line passed into the (...) (25 years ago, 14-Apr-99, to lugnet.robotics.rcx.legos)
 
  Re: SENSOR_READ doesn't return 0
 
..and now I have the answer, after extensive grepping around Kekoa's disassembly and the pbFORTH .ASM files. SENSOR_READ should return only the bottom byte, the call to 0x14C0 only returns a byte so the high byte contains garbage (actually it seems (...) (25 years ago, 13-Apr-99, to lugnet.robotics.rcx.pbforth)
 
  firmdl error
 
Can anyone here help me out with this error? I have no idea where to even begin. When downloading my binary (light-brait-with-debug.srec) I get the following error message: [usr@cs liv]# legOS-0.1.7/util/firmdl light-brait-with-debug.srec (...) (25 years ago, 13-Apr-99, to lugnet.robotics.rcx.legos)
 
  Re: SENSOR_READ doesn't return 0
 
More information: (...) CONSTANT is working - easy to check by doing RawLight . which prints 1 (...) This last line is the problem, if I use a SENSOR_MODE of 80 as in TRACKER.TXT then I get a SENSOR_READ of 0, if I use SENSOR_MODE 0 then I never get (...) (25 years ago, 13-Apr-99, to lugnet.robotics.rcx.pbforth)
 
  Re: SENSOR_READ doesn't return 0
 
(...) I am just dabbling at the moment, trying a few words to try and get them debugged. In order to fully port the SpeedBot (currently in NQC) I'll need multitasking... (...) Oh, good - I wondered if I'd got versions mixed up somewhere. It would be (...) (25 years ago, 13-Apr-99, to lugnet.robotics.rcx.pbforth)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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