|
Re: Updating Speed Using Ultrasonic Sensors
You might be better off overriding the set method of your motor controller. If you do it there, you only have to do it once, and not worry about it anywhere else.
You may also want to only reduce the throttle if the applied voltage will push you towards the wall, but allow full throttle to push you away from the wall.
__________________
If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
|