Basic movement, ActivityBot keeps "clicking" with slight movement
dakotaknut
Posts: 9
in Robotics
Hello,
I have a question about basic movement of the ActivityBot.
I have put together a small program to have the robot "turn right", pause 2 secs, "turn left", pause 2 secs, and then "turn around".
After each movement completes the robot sits and kind of makes a slight grinding noise as it keeps moving a little.
It looks like it is left with some residual turning that was just completed.
For turning right for example I call
drive_goto(26,-26);
followed by
drive_goto(0,0);
when that didn't work I put a pause in between the two "drive" calls of 250.
when that didn't work I closed with a drive_speed(0,0); wondering if it was differently somehow.
I am wondering how to get it to move and come to a resting stop.
My next question will be how to determine if I have made a 90degree turn? I suppose that is part of the cool challenge.
thank you much
I have a question about basic movement of the ActivityBot.
I have put together a small program to have the robot "turn right", pause 2 secs, "turn left", pause 2 secs, and then "turn around".
After each movement completes the robot sits and kind of makes a slight grinding noise as it keeps moving a little.
It looks like it is left with some residual turning that was just completed.
For turning right for example I call
drive_goto(26,-26);
followed by
drive_goto(0,0);
when that didn't work I put a pause in between the two "drive" calls of 250.
when that didn't work I closed with a drive_speed(0,0); wondering if it was differently somehow.
I am wondering how to get it to move and come to a resting stop.
My next question will be how to determine if I have made a 90degree turn? I suppose that is part of the cool challenge.
thank you much
Comments
I was heading in a direction with that sentence, then changed my mind but my fingers were already way out front.
I should have done a better job of proof reading the post.
You need to calibrate the servo motors to set the null points. The when you tell it to stop, it should stop and stay stopped.
-Phil