To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.nxtOpen lugnet.robotics.nxt in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / NXT / 749
748  |  750
Subject: 
RE: determine the degree of turning by using ultrasonic sensor
Newsgroups: 
lugnet.robotics.nxt
Date: 
Tue, 22 May 2007 22:34:49 GMT
Viewed: 
21814 times
  
Found it...

  RotateMotor(OUT_C, 100, turn);
  x = MotorRotationCount(OUT_C);

--E
-----Original Message-----
From: news-gateway@lugnet.com [mailto:news-gateway@lugnet.com] On Behalf Of
Elizabeth Mabrey
Sent: Tuesday, May 22, 2007 12:57 PM
To: lugnet.robotics.nxt@lugnet.com
Subject: determine the degree of turning by using ultrasonic sensor

Is it quick way to determining the # of degree or some value which will help
to calculate the distance travelled. more or less like the  x=
rotation-click..



Is it a way to read how much the  motor has turned from a certain point.

-       Reset motor/sensor

-      Turn motor until sensor sees an obstacle

-      Get the value from either the sensor or the motor to help me to
determining how much it has turned.





--
MIME ATTACHMENTS DISCARDED:

1.  Content-Type: text/html;
    charset="us-ascii"
    Content-Transfer-Encoding: quoted-printable
    Content-Length: 4023



Message is in Reply To:
  determine the degree of turning by using ultrasonic sensor
 
Is it quick way to determining the # of degree or some value which will help to calculate the distance travelled. more or less like the x= rotation-click.. Is it a way to read how much the motor has turned from a certain point. - Reset motor/sensor (...) (17 years ago, 22-May-07, to lugnet.robotics.nxt)

3 Messages in This Thread:


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

Custom Search

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