RelativeHumidity.msg file is taken directly from the default ROS2 sensor_msgs.
The operative relative humidity range has default values seeing many researched sensors don't specify it, might be unnecessary.
The accuracy values are set as an average as many researched sensors specify a single value for when inside and outside "ideal" rh and temp ranges but others have multiple (as in +-1% between 10-20ºC, +-2% between 20-30ºC and +-3% over 30ºC).
Values referencing ranges of relative humidity (in specs) possibly don't need to be floating point values, most datasheets show integer values.
A single (handheld) sensor was found while researching that permitted adjusting the measurement time, could be implemented by adding the amount of time to the RelativeHumidity.msg and a way to change that value. Maybe taking the measurements on-demand (receiving that value) instead of continuously? The measurement times tend to be long enough for this (commonly taking multiple seconds to complete).
RelativeHumidity.msg file is taken directly from the default ROS2 sensor_msgs.
The operative relative humidity range has default values seeing many researched sensors don't specify it, might be unnecessary.
The accuracy values are set as an average as many researched sensors specify a single value for when inside and outside "ideal" rh and temp ranges but others have multiple (as in +-1% between 10-20ºC, +-2% between 20-30ºC and +-3% over 30ºC).
Values referencing ranges of relative humidity (in specs) possibly don't need to be floating point values, most datasheets show integer values.
A single (handheld) sensor was found while researching that permitted adjusting the measurement time, could be implemented by adding the amount of time to the RelativeHumidity.msg and a way to change that value. Maybe taking the measurements on-demand (receiving that value) instead of continuously? The measurement times tend to be long enough for this (commonly taking multiple seconds to complete).