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 / 521
    problem building bugbot3.nqc in cybermaster —Jose Antonio Vacas
   When I try to compila bugbot3.nqc (the code of the Dave's wonderfull book) using my cybermaster as target, the compiler return twice the following error: SENSOR_TOUCH not defined I used the command line nqc -TCM bugbot3.nqc with NQC 2.3 thanks in (...) (25 years ago, 3-Apr-00, to lugnet.robotics.rcx.nqc)
   
        Re: problem building bugbot3.nqc in cybermaster —Dave Baum
   (...) Just delete the SetSensor() lines. CyberMaster only supports touch sensors, so the entire sensor configuration thing isn't needed...in fact CyberMaster doesn't support some of those bytecodes (which is why many of the constants and functions (...) (25 years ago, 3-Apr-00, to lugnet.robotics.rcx.nqc)  
   
        Re: problem building bugbot3.nqc in cybermaster —Kevin Reid
   (...) Why not do something like this? #ifdef __RCX SetSensor(...) ; #endif (25 years ago, 8-Apr-00, to lugnet.robotics.rcx.nqc)
 

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