Skip to content
Snippets Groups Projects
Commit 7f797134 authored by daviddudas's avatar daviddudas
Browse files

Fix odometry covariances

parent b915bdcc
No related branches found
No related tags found
No related merge requests found
......@@ -13,19 +13,19 @@ from math import sin, cos
from mecanum_drive.pose import Pose
from mecanum_drive import odometry
ODOM_POSE_COVARIANCE = [1e-3, 0, 0, 0, 0, 0,
0, 1e-3, 0, 0, 0, 0,
0, 0, 1e6, 0, 0, 0,
0, 0, 0, 1e6, 0, 0,
0, 0, 0, 0, 1e6, 0,
0, 0, 0, 0, 0, 1e3]
ODOM_TWIST_COVARIANCE = [1e-3, 0, 0, 0, 0, 0,
0, 1e-3, 0, 0, 0, 0,
0, 0, 1e6, 0, 0, 0,
0, 0, 0, 1e6, 0, 0,
0, 0, 0, 0, 1e6, 0,
0, 0, 0, 0, 0, 1e3]
ODOM_POSE_COVARIANCE = [1, 0, 0, 0, 0, 0,
0, 1, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 99999.0, 0, 0,
0, 0, 0, 0, 99999.0, 0,
0, 0, 0, 0, 0, 1]
ODOM_TWIST_COVARIANCE = [1, 0, 0, 0, 0, 0,
0, 1, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 99999.0, 0, 0,
0, 0, 0, 0, 99999.0, 0,
0, 0, 0, 0, 0, 1]
class OdometryNode:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment