#include </home/runner/work/mars_lib/mars_lib/source/mars/include/mars/sensors/gps_w_vel/gps_w_vel_sensor_state_type.h>
◆ GpsVelSensorStateType()
mars::GpsVelSensorStateType::GpsVelSensorStateType |
( |
| ) |
|
|
inline |
29 {
33 }
BaseStates(int cov_size)
Definition base_states.h:27
Eigen::Vector3d p_gw_w_
Definition gps_w_vel_sensor_state_type.h:25
Eigen::Quaterniond q_gw_w_
Definition gps_w_vel_sensor_state_type.h:26
EIGEN_MAKE_ALIGNED_OPERATOR_NEW Eigen::Vector3d p_ig_
Definition gps_w_vel_sensor_state_type.h:24
◆ get_csv_state_header_string()
static std::string mars::GpsVelSensorStateType::get_csv_state_header_string |
( |
| ) |
|
|
inlinestatic |
36 {
37 std::stringstream os;
38 os << "t, ";
39 os << "p_ig_x, p_ig_y, p_ig_z, ";
40 os << "p_gw_w_x, p_gw_w_y, p_gw_w_z, ";
41 os << "q_gw_w_w, q_gw_w_x, q_gw_w_y, q_gw_w_z";
42
43 return os.str();
44 }
◆ to_csv_string()
std::string mars::GpsVelSensorStateType::to_csv_string |
( |
const double & |
timestamp | ) |
const |
|
inline |
to_csv_string export state to single csv string
- Parameters
-
- Returns
- string format [p_ig p_gw_w q_gw_w]
52 {
53 std::stringstream os;
54 os.precision(17);
55 os << timestamp;
56
59 Eigen::Vector4d q_gw_w =
q_gw_w_.coeffs();
60 os << ", " << q_gw_w(3) << ", " << q_gw_w(0) << ", " << q_gw_w(1) << ", " << q_gw_w(2);
61
62 return os.str();
63 }
◆ p_ig_
EIGEN_MAKE_ALIGNED_OPERATOR_NEW Eigen::Vector3d mars::GpsVelSensorStateType::p_ig_ |
◆ p_gw_w_
Eigen::Vector3d mars::GpsVelSensorStateType::p_gw_w_ |
◆ q_gw_w_
Eigen::Quaterniond mars::GpsVelSensorStateType::q_gw_w_ |
The documentation for this class was generated from the following file: