View Single Post
  #1   Spotlight this post!  
Unread 27-09-2014, 16:07
GuyM142's Avatar
GuyM142 GuyM142 is offline
Registered User
AKA: Guy
FRC #3339 (BumbleBee)
Team Role: Mentor
 
Join Date: Jul 2013
Rookie Year: 2012
Location: Israel
Posts: 157
GuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really nice
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?
__________________
2016-2017 - Programming Mentor
Curie Sub-Division Champions with 694, 379 & 1511
2015 - Team Captain & Head of Programming Crew
Carson Sub-Division Champions with 1325, 20 & 1711
First ever Israeli team on Einstein
2014 - Team Captain & Head of Programming Crew
2013 - Head of Programming Crew
2012 - Member of Programming Crew
Reply With Quote