From b1b6caf47ca7b1ef200e97047f070626aab403c5 Mon Sep 17 00:00:00 2001 From: Patrick Goebel Date: Sun, 6 Dec 2015 16:16:11 -0800 Subject: [PATCH] Fixed a couple of comment typos in base_controller.py --- .../src/ros_arduino_python/base_controller.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ros_arduino_python/src/ros_arduino_python/base_controller.py b/ros_arduino_python/src/ros_arduino_python/base_controller.py index 813e873..46d19ed 100755 --- a/ros_arduino_python/src/ros_arduino_python/base_controller.py +++ b/ros_arduino_python/src/ros_arduino_python/base_controller.py @@ -68,7 +68,7 @@ class BaseController: self.t_delta = rospy.Duration(1.0 / self.rate) self.t_next = now + self.t_delta - # internal data + # Internal data self.enc_left = None # encoder readings self.enc_right = None self.x = 0 # position in xy plane @@ -80,7 +80,7 @@ class BaseController: self.v_des_right = 0 self.last_cmd_vel = now - # subscriptions + # Subscriptions rospy.Subscriber("cmd_vel", Twist, self.cmdVelCallback) # Clear any old odometry info @@ -131,7 +131,7 @@ class BaseController: self.then = now dt = dt.to_sec() - # calculate odometry + # Calculate odometry if self.enc_left == None: dright = 0 dleft = 0