To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 13375
    Using Vision Command as a Smart Sensor —Michael Gasperi
   Vision Command offers very limited control of the RCX. It would be nice if you could use VC as a smart sensor from a more convention RCX program with full control. After following the work of Rainer Balzerowski, I've got a pretty simple way to do (...) (24 years ago, 6-Dec-00, to lugnet.robotics, lugnet.robotics.vc) ! 
   
        Re: Using Vision Command as a Smart Sensor —Robert G. Fay
     I always find myself confused when I mess with programming. I have no clue as to downloading the test program into slot 1 of the RCX. What would be the equivalent NQC program for this. test program{ main{ display message forever{} } } -- Bob Fay (...) (24 years ago, 6-Dec-00, to lugnet.robotics, lugnet.robotics.vc)
    
         Re: Using Vision Command as a Smart Sensor —Robert G. Fay
     I made this work with some motor commands. Very cool! This is something I hoped would be developed with Vision Command. Thanks for the posting. -- Bob Fay rfay@we.mediaone.net The Shop (URL) Fay" <rfay@we.mediaone.net> wrote in message (...) (24 years ago, 6-Dec-00, to lugnet.robotics, lugnet.robotics.vc)
    
         Re: Using Vision Command as a Smart Sensor —Michael Gasperi
     "Bob Fay" <rfay@we.mediaone.net> wrote in message news:G55s5H.CHz@lugnet.com... (...) Were you able to make it work with NQC? If it was, I'd like to see the code. Despite the association with my friend Dave Baum, I don't use NQC. (24 years ago, 6-Dec-00, to lugnet.robotics, lugnet.robotics.vc)
    
         Re: Using Vision Command as a Smart Sensor —Robert G. Fay
      I just used one Message. I still don't know how to do your test program. This will start and stop the motor as long as motion is detected in area 2. task main() { while(true) { if (Message()== 2) { OnFwd(OUT_A); Wait(100); Off(OUT_A); } } } -- Bob (...) (24 years ago, 6-Dec-00, to lugnet.robotics, lugnet.robotics.vc)
    
         Re: Using Vision Command as a Smart Sensor —Rainer Balzerowski
     In lugnet.robotics, Michael Gasperi writes: hoped would be developed with Vision Command. Thanks for the posting. (...) Hi folks, i do it in a task like this : int global_message; task Read_VC_Messages () { int j; int local_message = 0; (...) (24 years ago, 6-Dec-00, to lugnet.robotics, lugnet.robotics.vc)
    
         Re: Using Vision Command as a Smart Sensor —Michael Gasperi
     "Rainer Balzerowski" <balze2@gmx.net> wrote in message news:G55v2z.LqB@lugnet.com... (...) or (...) for one (...) I didn't realize VC tried to compensate for the RCX program. I'll fix that comment. Do you think the Spin Left 1.0s command in the (...) (24 years ago, 6-Dec-00, to lugnet.robotics, lugnet.robotics.vc)
    
         Re: Using Vision Command as a Smart Sensor —Robert G. Fay
      This works for me. NQC task main() { while(true) { SetUserDisplay(Message(),0); } } -- Bob Fay rfay@we.mediaone.net The Shop (URL) Gasperi" <gasperi@alynk.com> wrote in message news:G55vn0.D3@lugnet.com... (...) command (...) that (...) the (...) (24 years ago, 6-Dec-00, to lugnet.robotics, lugnet.robotics.vc)
    
         Re: Using Vision Command as a Smart Sensor —Robert G. Fay
      This works for me. NQC task main() { while(true) { SetUserDisplay(Message(),0); } } -- Bob Fay rfay@we.mediaone.net The Shop (URL) Gasperi" <gasperi@alynk.com> wrote in message news:G55vn0.D3@lugnet.com... (...) command (...) that (...) the (...) (24 years ago, 6-Dec-00, to lugnet.robotics, lugnet.robotics.vc)
    
         Re: Using Vision Command as a Smart Sensor —Rainer Balzerowski
     (...) I didn't check this out yet, but i guess it does !!?!! (...) Nice to hear ! Thanks ! Rainer (24 years ago, 6-Dec-00, to lugnet.robotics, lugnet.robotics.vc)
    
         Re: Using Vision Command as a Smart Sensor —Michael Gasperi
      Rainer Balzerowski <balze2@gmx.net> wrote in message news:G55w18.1Ip@lugnet.com... (...) It does slow down VC a little to leave the 1.0 seconds in the Spin Left. You really notice it if you put long numbers like 100 seconds in. I've incorporated (...) (24 years ago, 7-Dec-00, to lugnet.robotics, lugnet.robotics.vc)
   
        Re: Using Vision Command as a Smart Sensor —Dean Husby
     (...) Nice page. It's such a shame that LEGO didn't think to just allow a person to use the MSG's when a zone is active... That's one huge oversight... Dean -- Coin-Op's For Sale!: (URL) Lego Workshop: (URL) Lego Club: (URL) (24 years ago, 7-Dec-00, to lugnet.robotics, lugnet.robotics.vc)
   
        Re: Using Vision Command as a Smart Sensor —Steve Barile
   Thanks for this thread it really came in usfull today! I used Dean Husby suggestion for linking to all 4 program areas and it was very easy and cool! I had one issue that I thought I'd share. Maybe this can be added to the web page (see URL below). (...) (23 years ago, 23-Jan-02, to lugnet.robotics, lugnet.robotics.vc)
 

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