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 / *4575 (-20)
  code
 
Hi,I'm trying to run 2 infinate loops at the same time. Is this possible? this is an example of what I'm trying to do. thanks #include <unistd.h> #include <dmotor.h> #include <dsensor.h> #include <conio.h> #include <time.h> pid_t fun_a; pid_t fun_c; (...) (23 years ago, 19-Apr-01, to lugnet.robotics.rcx.legos)
 
  Re: H8/300 Assembler/C interface
 
(...) Yeah, you are right. My bad. -Kekoa (23 years ago, 19-Apr-01, to lugnet.robotics.rcx)
 
  RE: H8/300 Assembler/C interface
 
(...) Not necessarily, that's why I'm asking. If the caller cleans up the stack, then the function just does an RTS and the caller adjusts the stack because it knows how much stuff was pushed on. For programs with lots of calls, this generates extra (...) (23 years ago, 19-Apr-01, to lugnet.robotics.rcx)
 
  Re: H8/300 Assembler/C interface
 
(...) Also: - caller cleans up parameters on stack - stack pointer is r7 The caller must clean up stack parameters b/c the return address is pushed after parameters are. -Kekoa (23 years ago, 18-Apr-01, to lugnet.robotics.rcx)
 
  Re: H8/300 Assembler/C interface
 
(...) Somebody correct me if I'm wrong. I just compiled some programs to check this. I believe that maybe the *ROM* calling convection is as Ralph described, but almost definitely the GCC calling convention is: - r0, r1, r2 hold parameters from left (...) (23 years ago, 18-Apr-01, to lugnet.robotics.rcx)
 
  RE: RCX+PC=Rubik's Cube Solver
 
(...) DUDE! These are unbelievable......I would never even consider doing something like this due to other time constraints like partners and kids. These are amazing - a must see and candidate for Site of the Week, no? Cheers, Ralph Hempel (23 years ago, 18-Apr-01, to lugnet.robotics, lugnet.robotics.rcx)
 
  RCX+PC=Rubik's Cube Solver
 
All -- There's recently been some discussion in the Mindstorms Forums about the feasibility of producing an RCX-based Rubik's Cube solver. I am happy to report that I have finished a functional "late beta" version. You can see it at (URL) are (...) (23 years ago, 18-Apr-01, to lugnet.robotics, lugnet.robotics.rcx) !! 
 
  Re: Declarations in header files
 
(...) "extern inline" means that we are defining an inline function, but if the inline function is not used, there is also an externally defined function with the same purpose. So, if you compile without optimization, it acts like "extern void (...) (23 years ago, 18-Apr-01, to lugnet.robotics.rcx.legos)
 
  Data-transfering RCX -> PC in LeJOS
 
I'm trying to transfer some log-data from the RCX to the PC, using the "Serial.sendPacket(byte[] aBuffer, int aOffset, int aLen)", but it does not seem to work with a packet-length bigger than approx.. 24 bytes. The packet is constructed as a (...) (23 years ago, 18-Apr-01, to lugnet.robotics.rcx.java)
 
  H8/300 Assembler/C interface
 
Does anyone know offhand what the calling convention between C/C++ and H8/300 assembler is using the GNU tools? The assumptions I'm making are as follows: R7 is the stack pointer R6 is the first (leftmost) parameter passed and the result R0-5 are (...) (23 years ago, 18-Apr-01, to lugnet.robotics.rcx)
 
  NQC and Fixed Point Values
 
My recent project, with NQC, has started to demand calculations with fractional numbers. In an effort to do this, I have quickly come to know the sorted world of floating points, BCDs, 1 – 2 s complement etc. I realize the only way to go about all (...) (23 years ago, 18-Apr-01, to lugnet.robotics.rcx.nqc)
 
  Re: Using 'containers' in Robolab
 
Thanks to you and Ben Irwin for your replies. After considerable beating my head against the wall I found my mistake: For the value in the angle container I had a constant instead of 'value of port 2' modifier. I surely will not forget that one. (...) (23 years ago, 18-Apr-01, to lugnet.robotics.rcx.robolab)
 
  Re: Electrical Data Link between 2 RCXs
 
It's me again with some improvements for an "Electrical Data Link between 2 RCX". In the current version I changed the default condition of the link to "high" (in the transmitter: OFF(OUT_B)) so that the receiver has a 1 at its sensor input. So, you (...) (23 years ago, 17-Apr-01, to lugnet.robotics.rcx.nqc)
 
  RE: New RcxCC revision posted
 
Hi, Ok, so, I got home, downloaded the .zip, installed it on my "LegoStation" (a 486 with RCX2 on COM2 and CyberMaster on COM3) over the last version. I think this was the "3.2 May 16th" Version. Started up, defined the window sizes and positions (...) (23 years ago, 17-Apr-01, to lugnet.robotics.rcx.nqc)
 
  error from makelx: address out of bounds
 
Hallo! My question again: I tried to declare sensors global, out of main(): Motor motor(Motor::B); LightSensor s(LightSensor::S3,false); int main(){ ... } make reports an error: /home/micha/legOS/util/makelx test.ds1 test.ds2 test.lx test.ds1: (...) (23 years ago, 17-Apr-01, to lugnet.robotics.rcx.legos)
 
  Re: New RcxCC revision posted
 
(...) Be sure to use the most recent version to test the startup options. I tested it the other day and it seemed slightly broken but the last round of fixes which I uploaded on Saturday may have fixed the problems. I'll be doing some more testing (...) (23 years ago, 16-Apr-01, to lugnet.robotics.rcx.nqc)
 
  Re: Dropping your RCX on the floor...
 
"Tobias Möller" <tobias.moller@telia.com> wrote in message news:39DDEC5A.24DD89...lia.com... (...) didn't... Heh, this reminds me of when I first opened my RCX set. I hadn't used lego for years, and was working as a programmer, and thought, (...) (23 years ago, 16-Apr-01, to lugnet.robotics.rcx)
 
  Re: RoboLab prg size limit?
 
(...) There are some minor bugs in Robolab 1.5, so I always use version 2.01 or higher. If you email me the program, I would be happy to play with it. (23 years ago, 16-Apr-01, to lugnet.robotics.rcx.robolab)
 
  Re: Using 'containers' in Robolab
 
(...) What version of Robolab are you using? I use Robolab 2.01 and have not had the problems you are describing. As an example of using the Angle Sensor, I tried the program: Empty Container - Blue Zero Angle Sensor - Port 1 Wait 2 Play Sound 5 (...) (23 years ago, 16-Apr-01, to lugnet.robotics.rcx.robolab)
 
  RE: Internet Controlled Robots
 
What a strange coincident. I had just posted the message when I went to my mailbox to find an examination copy of your text. I immediately checked to see if your text included any information and of course found it. You text is wonderful and as I (...) (23 years ago, 16-Apr-01, to lugnet.robotics.rcx.robolab, lugnet.robotics.edu, lugnet.robotics)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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