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 / 10805
    Re: Rotation Sensors - slightly dissapointed... —Stefan Elsner
   Did you have a ClearSensor() after every rotating back to 0? Stefan Rebel Transcanner <hendryjr@oxford.net> wrote in message news:Fq3Cz4.1so@lugnet.com... (...) 0, (...) (24 years ago, 24-Feb-00, to lugnet.robotics)
   
        Re: Rotation Sensors - slightly dissapointed... —Iain Hendry
   Stefan Elsner wrote in message ... (...) ...No, and that wouldn't do any good, because the error occurs before it returns home - and if it's already at 0 (home) then clearing it isn't going to make it any "homier" (^: The only practical solution I (...) (24 years ago, 24-Feb-00, to lugnet.robotics)
   
        Re: Rotation Sensors - slightly dissapointed... —Stefan Elsner
    I think that motors need time to stop. If you rotate a motor backwards until the Sensor shows 0, then turn it off, it might go to -2 until it is fully stopped. So if you do a ClearSensor() afterwards your motor is off by two counts and your code (...) (24 years ago, 25-Feb-00, to lugnet.robotics)
   
        Re: Rotation Sensors - slightly dissapointed... —Iain Hendry
   Stefan Elsner wrote in message ... (...) I developed a vector-based code in which I set a variable to the location I want the motor to spin to, and mount the sensor directly on the gearmotor. The idea is I can implement this code into any of my (...) (24 years ago, 25-Feb-00, to lugnet.robotics)
 

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