Odometry Publisher which can be attached to any entity in order to periodically publish 2D or 3D odometry data in the form of gz::msgs::Odometry messages. more
<!-- add to model --><pluginfilename="gz-sim-odometry-publisher-system"name="gz::sim::systems::OdometryPublisher"><odom_frame>vehicle/odom</odom_frame><robot_base_frame>base_link</robot_base_frame></plugin>
<pluginfilename="gz-sim-odometry-publisher-system"name="gz::sim::systems::OdometryPublisher"><!-- Use 3D odometry --><dimensions>3</dimensions><!-- Publishing frequency --><odom_publish_frequency>50</odom_publish_frequency><!-- Optional custom topics --><!-- <odom_topic>/my_robot/odom</odom_topic> <odom_covariance_topic>/my_robot/odom_with_covariance</odom_covariance_topic> --><!-- Add Gaussian noise: standard deviation in meters/rad --><gaussian_noise>0.05</gaussian_noise></plugin>
gztopic--echo-t/model/my_bot/odometry_with_covariance
# just the covariance part 6*6 matrix only the diagonal file with σ²covariance{data:0.0025
data:0data:0data:0data:0data:0data:0data:0.0025
data:0data:0data:0data:0data:0data:0data:0.0025
data:0data:0data:0data:0data:0data:0data:0.0025
data:0data:0data:0data:0data:0data:0data:0.0025
data:0data:0data:0data:0data:0data:0data:0.0025
}