#include </home/runner/work/mars_lib/mars_lib/source/mars/include/mars/sensors/mag/mag_measurement_type.h>
◆ MagMeasurementType() [1/2]
mars::MagMeasurementType::MagMeasurementType |
( |
| ) |
|
|
default |
◆ MagMeasurementType() [2/2]
mars::MagMeasurementType::MagMeasurementType |
( |
Eigen::Vector3d |
mag_vector | ) |
|
|
inline |
30 {
31 }
EIGEN_MAKE_ALIGNED_OPERATOR_NEW Eigen::Vector3d mag_vector_
Raw magnetometer measurement [x y z].
Definition mag_measurement_type.h:25
◆ get_csv_state_header_string()
static std::string mars::MagMeasurementType::get_csv_state_header_string |
( |
| ) |
|
|
inlinestatic |
34 {
35 std::stringstream os;
36 os << "t, ";
37 os << "m_x, m_y, m_z";
38
39 return os.str();
40 }
◆ to_csv_string()
std::string mars::MagMeasurementType::to_csv_string |
( |
const double & |
timestamp | ) |
const |
|
inline |
43 {
44 std::stringstream os;
45 os.precision(17);
46 os << timestamp;
47
49
50 return os.str();
51 }
◆ mag_vector_
EIGEN_MAKE_ALIGNED_OPERATOR_NEW Eigen::Vector3d mars::MagMeasurementType::mag_vector_ |
Raw magnetometer measurement [x y z].
The documentation for this class was generated from the following file: