To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / *1524 (-40)
  Re: Fixed-point Math
 
(...) By all means go ahead. I can write up some explanation as to what they are and how they work, too, once I find time. Also, nobody seems willing/able to write anything about semaphores, so when I write that up I'll see about a little blurb on (...) (24 years ago, 16-Nov-00, to lugnet.robotics.rcx.legos)
 
  Re: Fixed-point Math
 
Mike- If you want to, I'd be happy (later- busy this week) to mirror those on the sourceforge site. They look quite useful, and I'll be sure to mention those in the HOWTO (whenever I next have time for that. :| Luis (...) ---...--- "Nobody ever said (...) (24 years ago, 16-Nov-00, to lugnet.robotics.rcx.legos)
 
  I'm back!
 
I just saw four messages of mine (sent over the course of three days) show up simultaneously in my inbox. I guess my connection to lugnet is happy once again. I did get an error report on one of them, and it looked like some mail server in the (...) (24 years ago, 15-Nov-00, to lugnet.robotics.rcx.legos)
 
  Re: Math
 
(...) Most math functions aren't available. They would require so much computing power, and so few people would use them, that they probably aren't worth the code space in the kernel. You could probably find some sample implementations of pow and (...) (24 years ago, 12-Nov-00, to lugnet.robotics.rcx.legos)
 
  Fixed-point Math
 
I'm not sure if this will make it to the list, but we'll see. I sent out a message twice and it still hasn't shown up. Anyway, I have uploaded my fixed-point math routines to my web site. This includes simple stuff like multiplication and division, (...) (24 years ago, 14-Nov-00, to lugnet.robotics.rcx.legos)
 
  Re: Math
 
I sent this before, but it never made it through. My apologies if this ends up being posted twice. (...) (24 years ago, 13-Nov-00, to lugnet.robotics.rcx.legos)
 
  Re: Strange problem using 2 active sensors at the same time with 0.2.4
 
(...) I don't have a solution, but I thought I'd throw in my experiences. I curently have a robot that uses two rotation sensors, and I've never had trouble with them under either 0.2.3 or 0.2.4. I looked through your code briefly and couldn't find (...) (24 years ago, 15-Nov-00, to lugnet.robotics.rcx.legos)
 
  Strange problem using 2 active sensors at the same time with 0.2.4
 
Hello In a actual project, i'm using the following setup: Input: 1 Rotation sensor (steering) 2 nc 3 Rotation sensor (distance measuring) Output: A drive motor B nc C steering motor If more than one sensor is set to active, only the first (steering) (...) (24 years ago, 14-Nov-00, to lugnet.robotics.rcx.legos)
 
  Re: Math
 
I received the following comments and code from Mike Ash, whose Lugnet 'connection' appears not to be working at present. Big thanks Mike. I've yet to try it, but it looks OK in theory. (...) Most math functions aren't available. They would require (...) (24 years ago, 14-Nov-00, to lugnet.robotics.rcx.legos)
 
  Re: Math
 
Mike, You may have to look at writing your own. I know there's a libmint (integer math) library, but I'm currently at work, and can't check what else is there. Maybe need a libm to put all math functins in?? ROSCO mike mcfarlane (...) (24 years ago, 12-Nov-00, to lugnet.robotics.rcx.legos)
 
  Math
 
Hi What math functions are available under legOS? I can get the usual +-/ and * to work, but not powers or square roots. Are these math functions available and what others e.g. sine, cosine etc? I thought it would be standard C stuff like pow and (...) (24 years ago, 12-Nov-00, to lugnet.robotics.rcx.legos)
 
  Re: lnp doc
 
I just dropped a class that was killing me, so I mayt have time to fix that this weekend. Thanks for holding out :) Luis (...) ---...--- "Nobody ever said that democracy was simple or efficient." Florida Election Board Member Bob Crawford. ---...--- (24 years ago, 10-Nov-00, to lugnet.robotics.rcx.legos)
 
  Re: lnp doc
 
(...) You bet! The legOS HOWTO (URL) now has a LNP section. Unfortunately the table of contents is currently broken, so you'll have to hit Next a lot. The URL to the LNP section is (URL). (24 years ago, 10-Nov-00, to lugnet.robotics.rcx.legos)
 
  lnp doc
 
Hi there, I'm quite now on legOS (compiled my first program yesterday), and I'm trying to find a way of using lnp. Is there any HOWTO or reference for the RCX side/the host side ? Thanx in advance. (24 years ago, 10-Nov-00, to lugnet.robotics.rcx.legos)
 
  Re: Difficulty Activating Sensors in v0.2.4
 
(...) Jochen, you're right on target! I put them into one of my sub-routines and it worked fine. I appreciate everyone else's help as well. Thanks, -- Gary Mayer (24 years ago, 9-Nov-00, to lugnet.robotics.rcx.legos)
 
  [ANN] leJOS: Replacement firmware for the RCX
 
The first beta release of leJOS is out at (URL) leJOS is a Java based replacement firmware for the RCX, forked out of TinyVM ((URL) practically all of its features, plus: - There is a Windows version (CygWin not required). - Much faster Sensor API. (...) (24 years ago, 7-Nov-00, to lugnet.robotics.rcx.java, lugnet.robotics.rcx.legos, lugnet.robotics)  
 
  Re: Difficulty Activating Sensors in v0.2.4
 
(...) You have to use the commands inside of a method, e.g. in the main method. I just tried it and get the exactly the same error messages if I don't put these calls inside a method. If you think you put them in a method, make sure that you don't (...) (24 years ago, 7-Nov-00, to lugnet.robotics.rcx.legos)
 
  Re: Difficulty Activating Sensors in v0.2.4
 
(...) Warnings tell, that lines 120,etc are the declaration part of the program and you just redeclare ds_active and similiar functions. My advice is to look for a missing or redundant brace before these lines. -- Marek mbrudka@elka.pw.edu.pl (24 years ago, 6-Nov-00, to lugnet.robotics.rcx.legos)
 
  Re: Difficulty Activating Sensors in v0.2.4
 
(...) Which Cygwin solution? i.e., what version of gcc? (to check, run gcc --version) (...) All that code looks perfectly fine to me. In fact, it looks like it matches line by line that I compiled yesterday with no problem. Could you post the entire (...) (24 years ago, 6-Nov-00, to lugnet.robotics.rcx.legos)
 
  Difficulty Activating Sensors in v0.2.4
 
I'm using LegOS 0.2.4 on Windows 2000 (Cygwin solution). I receive errors when I try to compile any code that activates a sensor. I've looked at both old references and new as well as the old Dave Baum book. At first, I thought it may just be the (...) (24 years ago, 6-Nov-00, to lugnet.robotics.rcx.legos)
 
  MindStorms Price Reduced at Future Shop
 
For anyone up here in Canada, Future Shop has the MindStorms 1.5 set for $250 CDN. This beats the usual MSRP of $300 everywhere else I've seen. Enjoy.... -Roy (24 years ago, 6-Nov-00, to lugnet.market.buy-sell-trade, lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: Still JAVA and LNP....
 
(...) There is no way to passively listen to the world. This is good for batteries but bad in all other ways. So, your listening code should send a keep-alive on a regular basis to keep the tower from dying. No way around it :| Luis ---...--- "It's (...) (24 years ago, 3-Nov-00, to lugnet.robotics.rcx.legos)
 
  Re: Still JAVA and LNP....
 
Umm in response to my own message, would someone be so kind as to explain the following <g> : // return (short)(a + (b << 8)); return (short)(a % 256); If I use the bottom line, discounting variable b, then my checksum is correct...otherwise it (...) (24 years ago, 3-Nov-00, to lugnet.robotics.rcx.legos)
 
  Still JAVA and LNP....
 
hey all :) Sorry to bother again, but after limited uccess with getting JAVA to cope with LNP, I've run into some (hopefully) simple problems, I'm having major problems with the checksum routine, this routine give me huge integer nnumbers rather (...) (24 years ago, 3-Nov-00, to lugnet.robotics.rcx.legos)
 
  Re: ttyS1 corrupted after using legos
 
(...) Frank, I'm also using Linux (Red Hat), and had a similar problem. After using the IR tower, my modem wouldn't work on the same serial port. I solved the problem by not sharing the serial port 8?) which also allows me to connect while using the (...) (24 years ago, 2-Nov-00, to lugnet.robotics.rcx.legos)
 
  Re: ttyS1 corrupted after using legos
 
(...) Is the only program you are using to download things firmdl3? (...) Try also stty -a < /dev/ttyS0 and/or stty -a < /dev/ttyS1. (...) As far as I know, firmdl3 does not download .lx files. I think there is a separate program for that. dll (...) (24 years ago, 2-Nov-00, to lugnet.robotics.rcx.legos)
 
  ttyS1 corrupted after using legos
 
Hi there, I donwloaded, compiled and used legOS 2.4 which worked all very fine. But since then, I cannot use the serial port anymore that I connected the IR-tower to. Maybe anyone has encountered the same problem and knows a solution:) I am no (...) (24 years ago, 2-Nov-00, to lugnet.robotics.rcx.legos)
 
  LNP and the LEGO remote
 
Luis previously wrote: > I'd actually really like to include Chris's patch in the official tree, > but I'm informed by folks with more clue about the networking stuff than > me that switching the parity bit would probably break some LNP stuff. I (...) (24 years ago, 1-Nov-00, to lugnet.robotics.rcx.legos)
 
  Re: text location for apps and q?
 
Hello, (...) No they don't have a separate address space. I think the limit is 19456 bytes for the kernel, and this is caused by a limitation of the ROM, which is used to download the firmware (kernel). It loads it to the address range 8000-cc00. (...) (24 years ago, 30-Oct-00, to lugnet.robotics.rcx.legos)
 
  new legOS documentation
 
Thanks to the efforts of a number of people, there is a raft of new documents up at the legOS site. Because of the growing amount of documentation, I've organized a new page to keep track of all the available docs: (URL) things up there now: *LegOS (...) (24 years ago, 29-Oct-00, to lugnet.robotics.rcx.legos, lugnet.robotics)  
 
  Re: LNP + Java
 
Ciaran- To the best of my knowledge, no one has written such an interface. If you want to tackle it yourself, I'd suggest looking at pyLNP (URL) and the two Java interfaces that my lego + linux howto will soon list: (URL) imagine that with the (...) (24 years ago, 29-Oct-00, to lugnet.robotics.rcx.legos)
 
  LNP + Java
 
Simple question, has anyone out there written, or begun writing an LNP interface object for java ? I'd like the development environment I'm writing to keep control of my little Genetic Program RCX to be less platform specific than linux or windows, (...) (24 years ago, 29-Oct-00, to lugnet.robotics.rcx.legos)
 
  Re: 0.2.4 API (Long)
 
I'll look at this and probably post it tomorrow (very, very long day, which you'd think would be surprising on a Saturday :| On first glance, it looks like a very useful document. Unfortunately, the autogenerated API docs have become more and more (...) (24 years ago, 29-Oct-00, to lugnet.robotics.rcx.legos)
 
  0.2.4 API (Long)
 
I put together a .html document that sums up the User Level functions (as opposed to the internal/Kernel housekeeping functions), Constants, and Macros. I forwarded it to Luis, maybe he'll put it up later on LegOS.Sourforge.net In the meantime, I (...) (24 years ago, 28-Oct-00, to lugnet.robotics.rcx.legos)
 
  Re: text location for apps and q?
 
(...) Ok, but why? Again, if you're just having fun, go for it, but don't expect it to be useful. Personally, the current interface is simple and highly functional, and a change to a file paradigm would just make it more complicated with no benefit. (...) (24 years ago, 27-Oct-00, to lugnet.robotics.rcx.legos)
 
  Re: text location for apps and q?
 
(...) But also for luis, it's not just about performance, it's about interface. of course there's always hack value, but it also might be useful. like many people would expect printf() or write() to stdout instead of cputs(). i don't think there's a (...) (24 years ago, 27-Oct-00, to lugnet.robotics.rcx.legos)
 
  Re: text location for apps and q?
 
(...) for the output device thing, the lcd isn't the only device. sensors and motors are also can be implemented as files. (...) well it's still just an idea, maybe the fork() will turn out as rfork(). doesn't really matter now. but see my other (...) (24 years ago, 27-Oct-00, to lugnet.robotics.rcx.legos)
 
  Re: text location for apps and q?
 
Yeah. I have to agree with Ross. Increased unix-ness would be nice, but additional complexity with no actual performance gain most definitely is not. That said, like the remote patch that I'll post sometime this weekend, I'll take patches for (...) (24 years ago, 26-Oct-00, to lugnet.robotics.rcx.legos)
 
  Re: text location for apps and q?
 
(...) Well, as someone else has said in this thread, if you're doing it for fun, or to learn more about memory management / file systems, etc, then got for it. But I wouldn't expect much of it to be included in the official versions - you've got to (...) (24 years ago, 26-Oct-00, to lugnet.robotics.rcx.legos)
 
  Re: text location for apps and q?
 
(...) You can't implement a true fork() anyway, since you don't have memory management and therefore can't copy the address space of the parent process. John A. Tamplin LiveOnTheNet.COM, Inc. jat@LiveOnTheNet.COM 2104 West Ferry Way 256/705-7007 - (...) (24 years ago, 26-Oct-00, to lugnet.robotics.rcx.legos)


Next Page:  5 more | 10 more | 20 more | 40 more

Redisplay Messages:  All | Compact

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