From: Erik Andresen Date: Wed, 13 Jul 2016 08:01:31 +0000 (+0200) Subject: motor_ctrl: pid tuning data and added helper script X-Git-Url: https://defiant.homedns.org/gitweb/?p=ros_wild_thumper.git;a=commitdiff_plain;h=dc43ace40c91efd3f0ed892898d5e1d62c2f2fd9 motor_ctrl: pid tuning data and added helper script --- diff --git a/data/motor_ctrl_pid_values.ods b/data/motor_ctrl_pid_values.ods index a02ecc9..3f10ca9 100644 Binary files a/data/motor_ctrl_pid_values.ods and b/data/motor_ctrl_pid_values.ods differ diff --git a/scripts/get_velocity.py b/scripts/get_velocity.py index 4f8a77e..0370983 100755 --- a/scripts/get_velocity.py +++ b/scripts/get_velocity.py @@ -13,4 +13,4 @@ for line in f: continue l.append(float(line)) -print "avg=%.2f, var=%f" % (sum(l)/len(l), np.var(l)) +print "avg = %.2f, var = %f" % (sum(l)/len(l), np.var(l))