mirror of
https://github.com/bjoernellens1/cps_rmp220_support.git
synced 2025-01-18 15:46:59 +00:00
update
This commit is contained in:
parent
e7c3bd50ed
commit
2b406cf7a7
@ -37,6 +37,14 @@ def odom_callback(msg):
|
||||
odom_normalized.pose.covariance = msg.pose.covariance
|
||||
odom_normalized.twist = msg.twist # Copy twist data
|
||||
|
||||
# Include covariance
|
||||
odom_normalized.pose.covariance = [0.01, 0, 0, 0, 0, 0,
|
||||
0, 0.01, 0, 0, 0, 0,
|
||||
0, 0, 0.01, 0, 0, 0,
|
||||
0, 0, 0, 0.01, 0, 0,
|
||||
0, 0, 0, 0, 0.01, 0,
|
||||
0, 0, 0, 0, 0, 0.01]
|
||||
|
||||
# Publish normalized odom
|
||||
pub.publish(odom_normalized)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user