From: Erik Andresen Date: Mon, 22 May 2017 19:08:02 +0000 (+0200) Subject: fix spelling error X-Git-Url: https://defiant.homedns.org/gitweb/?p=ros_wild_thumper.git;a=commitdiff_plain;h=d481fbda755da5e7ab18f63f0f3fa1a1841b4622;hp=f69047e2f52a6e05b95f13c2d0aa55d53de98e4d fix spelling error --- diff --git a/scripts/tinkerforge_imu2.py b/scripts/tinkerforge_imu2.py index fa00c26..2cf42b2 100755 --- a/scripts/tinkerforge_imu2.py +++ b/scripts/tinkerforge_imu2.py @@ -52,18 +52,18 @@ class ImuBrickv2: msg.angular_velocity.x = angular_velocity[0]/16.0 msg.angular_velocity.y = angular_velocity[1]/16.0 msg.angular_velocity.z = angular_velocity[2]/16.0 - # Observed angular velocity variance: 0.006223 (10k samples), => round up to 0.01 + # Observed angular velocity variance: 0.006223 (10k samples), => round up to 0.02 msg.angular_velocity_covariance = [ - 0.01, 0 , 0, - 0 , 0.01, 0, - 0 , 0 , 0.01 + 0.02, 0 , 0, + 0 , 0.02, 0, + 0 , 0 , 0.02 ] msg.linear_acceleration.x = linear_acceleration[0]/100.0 msg.linear_acceleration.y = linear_acceleration[1]/100.0 msg.linear_acceleration.z = linear_acceleration[2]/100.0 # Observed linear acceleration variance: 0.001532 (10k samples) - # Calculation for variance raken from razor imu: + # Calculation for variance taken from razor imu: # nonliniarity spec: 1% of full scale (+-2G) => 0.2m/s^2 # Choosing 0.2 as std dev, variance = 0.2^2 = 0.04 msg.linear_acceleration_covariance = [