To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 1171
    Strange happenings —Dean Husby
   I'm using NQC 2.3r1 with the following code bit. task Fidget() //The Fidget task { while (true) { Wait (FidgetTime); Fwd (OUT_B); OnFor (OUT_B,100); HeadPos = 1; Wait (FidgetTime); Rev (OUT_B); OnFor (OUT_B,100); HeadPos = 0; Wait (FidgetTime); Rev (...) (23 years ago, 12-Jul-01, to lugnet.robotics.rcx.nqc)
   
        Re: Strange happenings —Lester Witter
     (...) This almost sounds like a mechanical problem. Try the program with jsu the brick connected to motors or lights and see if you get the expected result. Lester (23 years ago, 12-Jul-01, to lugnet.robotics.rcx.nqc)
   
        Re: Strange happenings —Dave Baum
   Looks straighforward. Perhaps an NQC bug. Can you email me the complete program and also compile with the -l option and send me the listing (or if you're using an IDE, then there should be some menu choice to produce a disassembly list)? Dave Baum (...) (23 years ago, 13-Jul-01, to lugnet.robotics.rcx.nqc)
   
        Re: Strange happenings —Dean Husby
   (...) It was very odd, I've been having a lot of problems with that onfor command. I had a command that was supposed to go for 1 second. OnFor(AOUT_B,100); and it would NEVER stop. I changed it to 10 and it worked for a bit then stopped. It just (...) (23 years ago, 13-Jul-01, to lugnet.robotics.rcx.nqc)
   
        Re: Strange happenings —Dave Baum
   (...) I'll consider adding those in the next release. To be honest, its probably more work from a documentation side than from a code perspective. (...) If its working, don't bother sending the code. But if it stops working again, then send the code (...) (23 years ago, 14-Jul-01, to lugnet.robotics.rcx.nqc)
 

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