Robotics StackExchange | Archived questions

Odometry without covariance

Hello,

Is there anyway to send the odometry message without covariance? I followed the http://wiki.ros.org/navigation/Tutorials/RobotSetup/Odom tutorial to write a odometry transmitter on my platform (TM4C123) following http://wiki.ros.org/rosserial_tivac and the problem is these devices can only do 512 bytes serial buffer.

So both the odometry message object, and the twist object as covariance arrays of float[36]. which takes most of the space in the serial packet.

Is there anyway to use odometry without the covariance array? i just dont want to serialize that part of the message?

Best regards, C.

Asked by wintermute on 2018-11-30 13:48:25 UTC

Comments

ROS is about using standardized messages, so I guess the answer is no. But you could for example use your own odom message and later convert it to nav_msgs/Odometry.

Asked by Humpelstilzchen on 2018-12-01 11:42:04 UTC

You can always create your own message type that doesn't include that information.

Asked by stevemacenski on 2018-12-04 12:53:11 UTC

Answers