To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.robolabOpen lugnet.robotics.rcx.robolab in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / ROBOLAB / 105
104  |  106
Subject: 
Re: Rotation Sensor
Newsgroups: 
lugnet.robotics.rcx.robolab
Date: 
Sun, 17 Jun 2001 20:10:34 GMT
Viewed: 
4692 times
  
Which command are you refering to?  "Wait for Rotation" is positive-only I
think, whereas "Angle Sensor Fork" and "Angle Container" can both deal with
negatives.  To make a "wait for" out of a fork, you would put a Jump in the
branch of the fork that represented the value that you are *not* waiting for.
Then put a Land before the fork.  When the desired value is reached, it will
continue on past the fork.  To make a "wait for" out of an angle contianer, put
a "wait for container" right after the "angle container".

In lugnet.robotics.rcx.robolab, Robert Fay writes:
I am very new to Robolab. I have version 2.0 and I am wondering if the
rotation sensor can be programmed to react to a negative number? It seems to
ignore the negative sign and react to it as a positive.

--
Bob Fay
rfay@we.mediaone.net

http://bobfay.50megs.com/index.html
http://www.geocities.com/Heartland/Bluffs/7900/



Message has 1 Reply:
  Re: Rotation Sensor
 
Ben, Thanks for the response. I was interested in the "Wait for Rotation". I was not able to duplicate your suggestion, but I learned a great deal trying. Robolab is a very interesting approach to programming. I am glad that I have your book to lean (...) (23 years ago, 19-Jun-01, to lugnet.robotics.rcx.robolab)

Message is in Reply To:
  Rotation Sensor
 
I am very new to Robolab. I have version 2.0 and I am wondering if the rotation sensor can be programmed to react to a negative number? It seems to ignore the negative sign and react to it as a positive. -- Bob Fay rfay@we.mediaone.net (URL) (23 years ago, 16-Jun-01, to lugnet.robotics.rcx.robolab)

3 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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