Robotics StackExchange | Archived questions

How to provide variance field in sensor_msgs/FluidPressure messages?

I'm writing a ROS driver for a pressure sensor and while I really only need to publish the 'pressure' field, I'd like to also fill out the other field which is 'variance' for the sake of completeness. I wanted to know if this is something that pressure sensors typically provide on their own or if this would be something that my ROS driver would have to calculate? What, if anything, is this field useful for?

If it's something I have to calculate, is it simply the average of the squared differences from the mean?

Asked by Ricardo Angeli on 2019-05-16 08:55:09 UTC

Comments

Answers