<\/a><\/p>\n <\/p>\n
Looking at the above programs, you might think the robots would act identically. The vehicle should travel in a curved path (because only one motor is used) to its target destination, lying one rotation away.<\/p>\n
<\/p>\n
The Motor block program video shows that the car is unable to stop directly at the pedestrian. Instead, the vehicle knocks the figure over and then corrects its motion to the one-rotation point. It ends up at the same final position as the vehicle programmed by the Move block, but only after this correction. As you can see in the “jerky” motion of the car, the motor does not slow near the target distance. The motor returns to the correct target position only after the rotation sensors have measured slightly more than the one-rotation duration.<\/p>\n
In the case of the Move block program, the vehicle is able to slow its motor when it senses the nearing of the target distance of one rotation. When the program executes, you can actually hear the slowing of the motor. The vehicle gradually decreases its speed and then and stops directly at the LEGO person. No correction factor is necessary as the Move block programs the NXT to utilize a control algorithm.<\/p>\n
Article and models by Ciera Maffei<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"If you are programming a robot with NXT-G, you may be wondering what’s the difference between the Motor and Move blocks? The answer to this question has a significant impact on how your robot will move. The LEGO MINDSTORMS Education NXT software (NXT-G) includes these two blocks for motor control. While the Motor and Move […]<\/p>\n","protected":false},"author":29,"featured_media":14325,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38],"tags":[134,146,145,132,69],"_links":{"self":[{"href":"http:\/\/legoeng.local\/wp-json\/wp\/v2\/posts\/1101"}],"collection":[{"href":"http:\/\/legoeng.local\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/legoeng.local\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/legoeng.local\/wp-json\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"http:\/\/legoeng.local\/wp-json\/wp\/v2\/comments?post=1101"}],"version-history":[{"count":1,"href":"http:\/\/legoeng.local\/wp-json\/wp\/v2\/posts\/1101\/revisions"}],"predecessor-version":[{"id":14326,"href":"http:\/\/legoeng.local\/wp-json\/wp\/v2\/posts\/1101\/revisions\/14326"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/legoeng.local\/wp-json\/wp\/v2\/media\/14325"}],"wp:attachment":[{"href":"http:\/\/legoeng.local\/wp-json\/wp\/v2\/media?parent=1101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/legoeng.local\/wp-json\/wp\/v2\/categories?post=1101"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/legoeng.local\/wp-json\/wp\/v2\/tags?post=1101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}