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 / 2370 (-20)
  Re: [long] Interrupt programming, buggy code
 
Hi Benjamin, When you declare your ISR as an interrupt_handler, GCC terminates the function with an "rte" instead of an "rts". The ROM code that dispatches the interrupt to your function is already doing the rte so your function should not. Here's (...) (21 years ago, 2-Mar-04, to lugnet.robotics.rcx)
 
  Re: [long] Interrupt programming, buggy code
 
(...) All I can give you is guesses. There are pleny of gurus here who will know the answer. Do you know if the display_debug() routine or any of the things it uses depends on the interrupts you are taking over? If default interrupt handler provides (...) (21 years ago, 2-Mar-04, to lugnet.robotics.rcx)
 
  RE: [long] Interrupt programming, buggy code
 
Having fun yet :-) There are a few things you might want to keep in mind when writing ISRs for the RCX... First, avoid calling into the ROM from an interrupt handler. You never know how long they take, and you may in fact be hitting another OCIA (...) (21 years ago, 2-Mar-04, to lugnet.robotics.rcx)
 
  [long] Interrupt programming, buggy code
 
Hi all, I am currently programming the Lego RCX at low-level (plain C) using the GCC cross-compiler for Hitachi H8/300 and Kekoa Proudfoot's LibRCX. In fact, I'm designing exercises for students that learn micro-controller programming. Therefore, I (...) (21 years ago, 2-Mar-04, to lugnet.robotics.rcx)
 
  Re: Get/SetCommTimeouts
 
"Dick Swan" <dickswan@sbcglobal.net> wrote in message (...) I kind of suspected that .. but was not sure. I looked in the source of NQC and brickOS (and some programs I found on the Web) and they all seemed to use these functions regardless. But I (...) (21 years ago, 1-Mar-04, to lugnet.robotics.rcx)
 
  Re: Get/SetCommTimeouts
 
"Shashank Date" <sdate@everestkc.net> wrote in message news:Htuzyn.6qG@lugnet.com... (...) parameters. I (...) The "SetCommTimeout" function only applies to "COMx" serial ports. You are trying to use it on a USB port! (21 years ago, 29-Feb-04, to lugnet.robotics.rcx)
 
  Get/SetCommTimeouts
 
I am trying to write a C program (using VC++ 6.0) to talk to RCX 2.0 on my Win XP (Home Ed) box. Everything seems to be OK except the get/set of Communication parameters. I cannot understand why. I have attached the minimal C program which does (...) (21 years ago, 29-Feb-04, to lugnet.robotics.rcx)
 
  Re: Digitrax DZ123
 
(...) [snip] (...) Hi All, I'm following up on my earlier post (above). I purchased some of these DZ123 decoders and finally got around to installing a couple of them. Street price for me ended up being about $16 (US) each. Installation went (...) (21 years ago, 17-Feb-04, to lugnet.trains, lugnet.robotics.rcx, FTX)
 
  Re: RCXCC and Visual NQC 2001
 
(...) BricxCC works with XP and both IR towers. The USB tower works with XP. You can get just the USB tower from Pitsco, but I do not know if you can get just the USB tower from LEGO. If you get the USB tower from Pitsco you will need to download (...) (21 years ago, 17-Feb-04, to lugnet.robotics.rcx)
 
  Re: RCXCC and Visual NQC 2001
 
(...) Does any program work with XP and the serial tower? I did download BricxCC and it worked, did not try to use any IR tower. Does the USB tower work with XP? Also can I get just the USB tower from LEGO? Thanks and sorry for all the questions. (...) (21 years ago, 17-Feb-04, to lugnet.robotics.rcx, FTX)
 
  Re: multiple motors
 
(...) Actually, I think what he's suggesting is a pretty good idea. I usually test most of my sumo robots this way. Place the robot next to a wall. If you don't want to damage a wall with a big, powerful robot, :) use a book held against the floor (...) (21 years ago, 16-Feb-04, to lugnet.robotics.rcx)
 
  Re: multiple motors
 
(...) My main concern isn't spending money on batteries, that's just something that popped in my head when I was listing our questions I had about the 6 motor solution. My main concern is getting half-way through the tear-down/rebuild process only (...) (21 years ago, 16-Feb-04, to lugnet.robotics.rcx)
 
  Re: multiple motors
 
(...) Thanks Brian, I doubt I will attempt your suggested test of driving into a wall (this scares me very much!) but I hear what you are saying. Based on Steve's reply, I have decided that 6 motors pushing is better than 4. Since I have already (...) (21 years ago, 16-Feb-04, to lugnet.robotics.rcx)
 
  Re: multiple motors
 
(...) It's been my experience that a robot with 6 motors will push harder than a robot with 4 motors. (...) If you're concerned about spending money on batteries, your best bet is to go with a 2 motor robot. If you want to build a really strong sumo (...) (21 years ago, 16-Feb-04, to lugnet.robotics.rcx)
 
  Re: multiple motors
 
(...) Great. My method was to combine the motor outputs down to two axles (left & right) and then do the gearing down/up. I also played with running the "boost" motors at a different gear ratio than the other four, but wasn't sure it would help (...) (21 years ago, 16-Feb-04, to lugnet.robotics.rcx)
 
  Re: multiple motors
 
(...) Okay I've done it. I have the drive train all figured out with the exact gearing I wanted. Now the question to answer before I totally tear down and rebuild a complete robot is; will adding an additional 2 motors to help in forward and reverse (...) (21 years ago, 16-Feb-04, to lugnet.robotics.rcx)
 
  Re: multiple motors
 
(...) Now that is conveinient! ;) (...) I am messing around with this idea hoping to get the gear ratio I want (2:5). I currently have 16t on the motors driving 40t on the drive axle. I haven't come up with a good way to incorporate the differential (...) (21 years ago, 15-Feb-04, to lugnet.robotics.rcx)
 
  Re: multiple motors
 
(...) ... (...) Jona, Take a look at Fingers from Sumo-bot 4 (on YOUR web site :) :) (URL) a pretty good picture from the bottom. (URL) robot uses 4 motors (two RCX outputs) to drive 6 wheels. That's kind of the opposite of what you want, but it may (...) (21 years ago, 15-Feb-04, to lugnet.robotics.rcx)
 
  Re: multiple motors
 
In lugnet.robotics.rcx, Steve Hassenplug wrote: <SNIP> (...) </SNIP> So Steve (or Brian or anyone else reading this), have you actually built the drive train you describe? And if so, can you share the specifics of the gearing and configuration of (...) (21 years ago, 15-Feb-04, to lugnet.robotics.rcx)
 
  Re: RCXCC and Visual NQC 2001
 
(...) require the Spirit OCX control (which may be why RcxCC didn't work). And with the latest NQC 3.0 beta (3.0 a2) you can take advantage of such cool things as pointers, integrated Spybotics API, and extended support for writable sources. (...) (21 years ago, 13-Feb-04, to lugnet.robotics.rcx)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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