summaryrefslogtreecommitdiff
path: root/i/marvin/src/motor/motor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'i/marvin/src/motor/motor.cc')
-rw-r--r--i/marvin/src/motor/motor.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/i/marvin/src/motor/motor.cc b/i/marvin/src/motor/motor.cc
index af3d29f..2664df0 100644
--- a/i/marvin/src/motor/motor.cc
+++ b/i/marvin/src/motor/motor.cc
@@ -30,6 +30,14 @@ Motor::Motor (void)
{
}
+/// Reset.
+void
+Motor::reset (void)
+{
+ finish_ = false;
+ asserv_.reset ();
+}
+
/// Linear and angular move. T(mm) is the linear distance. A(mm) is the
/// angular distance which means the arc length.
void