Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Gradual stop without an encoder (http://www.chiefdelphi.com/forums/showthread.php?t=130669)

GuyM142 27-09-2014 16:07

Gradual stop without an encoder
 
Hey guys,
I'm trying to write autonomous code for our practice robot.
It's very simple and all it does is moving forward and shooting.
The problem is that it doesn't have an encoder and when we try to set the chassis' motors to constant power for a certain time the stop is too abrupt.

How can we make the robot drive forward and stop gradually like a PID encoder drive does?

Tom Line 27-09-2014 16:45

Re: Gradual stop without an encoder
 
Decrease the drive power in steps.

faust1706 27-09-2014 22:18

Re: Gradual stop without an encoder
 
To expand on the previous post, make it an equation that approves (and reaches) 0. You could start at 100 power forward, and every .25 seconds, drop 50 motor power. You get the idea.

ajlapp 28-09-2014 10:10

Re: Gradual stop without an encoder
 
Do you have your speed controllers set to coast or brake?

If they are on coast then the robot should gracefully come to a stop, unless you have a lot of drivetrain drag.


All times are GMT -5. The time now is 08:58.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi