Hi there!
I’ve just started programming my RoboCore. I need to use lego motor mindstorm, example program like motor_simple works perfectly but motor_angle doesn’t work at all.
Link to motor_angle:
https://husarion.com/examples/#hFramework__Motors_motor_angle
What I need to do is:
- begin at 0 degrees position
- turn 180 deegrees left
- go back to 0
- turn 180 deegrees right
Using only
“hMot3.rotRel(500, 200, false, INFINITE);”
makes my motor rotate forever - no matter what I change in this method.
I tried changing power and time to make my motor turn 180 degrees but it’s not precise at all. Furthermore it deregulates very easily.
I’m looking for help
Thanks!