Problem with steering drive

45 views
Skip to first unread message

carballo2109

unread,
Jun 8, 2014, 6:28:50 PM6/8/14
to nxt-p...@googlegroups.com
Hi, I'm riding a car with lego and I've put a steering system, exactly this: http://www.nxtprograms.com/steering_rover/steps.html 

But when it comes to control the motor does not rotate correctly, sometimes turns too and other falls short, I do it as follows: 

motorA.turn (100, 30) 
time.sleep (1) 
motorA.turn (-100, 30) 

And do not understand why does not behave as expected. 
Help please. 

I apologize if it is not well understood the text, I'm using google translator because my English is very bad. 

Greetings, thanks.

John Brohan

unread,
Jun 9, 2014, 2:15:24 AM6/9/14
to nxt-p...@googlegroups.com

use gears make the motor rotate many revolutions to drive the steering.
John

--
You received this message because you are subscribed to the Google Groups "nxt-python" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nxt-python+...@googlegroups.com.
To post to this group, send email to nxt-p...@googlegroups.com.
Visit this group at http://groups.google.com/group/nxt-python.
For more options, visit https://groups.google.com/d/optout.

carballo2109

unread,
Jun 9, 2014, 7:45:03 PM6/9/14
to nxt-p...@googlegroups.com
Okay, thanks, but in the end I got correct motor rotation using get_tacho() and tacho_count, but if I should use gears. 

Greetings, thanks.
Reply all
Reply to author
Forward
0 new messages