mirror of
https://github.com/bjoernellens1/cps_rmp220_support.git
synced 2025-02-22 14:06:47 +00:00
Update encoder_odom_publisher.py
increased covariance
This commit is contained in:
parent
5dc18212ea
commit
9e6053754b
@ -104,12 +104,19 @@ class EncoderOdometry:
|
|||||||
|
|
||||||
# Include Covariance Matrix
|
# Include Covariance Matrix
|
||||||
# Include covariance
|
# Include covariance
|
||||||
odom.pose.covariance = [0.01, 0, 0, 0, 0, 0,
|
# odom.pose.covariance = [0.01, 0, 0, 0, 0, 0,
|
||||||
0, 0.01, 0, 0, 0, 0,
|
# 0, 0.01, 0, 0, 0, 0,
|
||||||
0, 0, 0.01, 0, 0, 0,
|
# 0, 0, 0.01, 0, 0, 0,
|
||||||
0, 0, 0, 0.01, 0, 0,
|
# 0, 0, 0, 0.01, 0, 0,
|
||||||
0, 0, 0, 0, 0.01, 0,
|
# 0, 0, 0, 0, 0.01, 0,
|
||||||
0, 0, 0, 0, 0, 0.01]
|
# 0, 0, 0, 0, 0, 0.01]
|
||||||
|
|
||||||
|
odom.pose.covariance = [0.1, 0, 0, 0, 0, 0, # Higher uncertainty in x
|
||||||
|
0, 0.1, 0, 0, 0, 0, # Higher uncertainty in y
|
||||||
|
0, 0, 0.2, 0, 0, 0, # Higher uncertainty in z (less typical for most robots)
|
||||||
|
0, 0, 0, 0.5, 0, 0, # Higher uncertainty in roll
|
||||||
|
0, 0, 0, 0, 0.5, 0, # Higher uncertainty in pitch
|
||||||
|
0, 0, 0, 0, 0, 0.5] # Higher uncertainty in yaw
|
||||||
|
|
||||||
# Publish odometry to /odom_new
|
# Publish odometry to /odom_new
|
||||||
rospy.logdebug("Publishing Odometry message.")
|
rospy.logdebug("Publishing Odometry message.")
|
||||||
|
Loading…
Reference in New Issue
Block a user