src/orientation_sensor.cpp
AttitudeValues::AttitudeValues(OrientationSensor* orientation_sensor,
                               uint report_interval_ms, String config_path)
    : Sensor(config_path),
      orientation_sensor_{orientation_sensor},
      report_interval_ms_{report_interval_ms} {
  load_configuration();
  save_mag_cal_ = 0;
}
/**
 * @brief Constructor sets up the frequency of output and the Signal K path.
 *
 * @param orientation_sensor Pointer to the physical sensor's interface
 * @param report_interval_ms Interval between output reports
 * @param config_path RESTful path by which reporting frequency can be
 * configured.
 */
@brief Constructor sets up the frequency of output and the Signal K path.
@param orientation_sensor Pointer to the physical sensor's interface
@param report_interval_ms Interval between output reports
@param config_path RESTful path by which reporting frequency can be
configured.
@brief Constructor sets up the frequency of output and the Signal K path . @param orientation_sensor Pointer to the physical sensor ' s interface @param report_interval_ms Interval between output reports @param config_path RESTful path by which reporting frequency can be configured .
AttitudeValues::AttitudeValues(OrientationSensor* orientation_sensor,
                               uint report_interval_ms, String config_path)
    : Sensor(config_path),
      orientation_sensor_{orientation_sensor},
      report_interval_ms_{report_interval_ms} {
  load_configuration();
  save_mag_cal_ = 0;
}
AttitudeValues :: AttitudeValues ( OrientationSensor * orientation_sensor , uint report_interval_ms , String config_path ) : Sensor ( config_path ) , orientation_sensor_ { orientation_sensor } , report_interval_ms_ { report_interval_ms } { load_configuration ( ) ; save_mag_cal_ = 0 ; }
@brief Constructor sets up the frequency of output and the Signal K path.
@brief Constructor sets up the frequency of output and the Signal K path .