JaiaBot  1.20.0
JaiaBot micro-AUV software
conductivity.h
Go to the documentation of this file.
1 #ifndef JAIABOT_UNITS_CONDUCTIVITY_H
2 #define JAIABOT_UNITS_CONDUCTIVITY_H
3 
4 #include <boost/units/systems/si/conductivity.hpp>
5 #include <boost/units/systems/si/prefixes.hpp>
6 
7 namespace jaiabot
8 {
9 namespace units
10 {
11 // 1 uS/cm = 10^-4 S/m
12 typedef boost::units::make_scaled_unit<
13  boost::units::si::conductivity,
14  boost::units::scale<10, boost::units::static_rational<-4>>>::type microsiemens_per_cm_unit;
15 
17 
18 } // namespace units
19 } // namespace jaiabot
20 
21 #endif
static const microsiemens_per_cm_unit microsiemens_per_cm
Definition: conductivity.h:16
boost::units::make_scaled_unit< boost::units::si::conductivity, boost::units::scale< 10, boost::units::static_rational<-4 > > >::type microsiemens_per_cm_unit
Definition: conductivity.h:14