ResultSimulation class
A single simulation run (the full state not just pose).
Contents
This should match the recording logic that is in the ov_msckf::
Constructors, destructors, conversion operators
- ResultSimulation(std::string path_est, std::string path_std, std::string path_gt)
- Default constructor that will load our data from file.
Public functions
- void plot_state(bool doplotting, double max_time = INFINITY)
- Will plot the state error and its three sigma bounds.
- void plot_timeoff(bool doplotting, double max_time = INFINITY)
- Will plot the state imu camera offset and its sigma bound.
- void plot_cam_instrinsics(bool doplotting, double max_time = INFINITY)
- Will plot the camera calibration intrinsics.
- void plot_cam_extrinsics(bool doplotting, double max_time = INFINITY)
- Will plot the camera calibration extrinsic transform.
Function documentation
ov_eval:: ResultSimulation:: ResultSimulation(std::string path_est,
std::string path_std,
std::string path_gt)
Default constructor that will load our data from file.
| Parameters | |
|---|---|
| path_est | Path to the estimate text file |
| path_std | Path to the standard deviation file |
| path_gt | Path to the groundtruth text file |
Assert they are of equal length
void ov_eval:: ResultSimulation:: plot_state(bool doplotting,
double max_time = INFINITY)
Will plot the state error and its three sigma bounds.
| Parameters | |
|---|---|
| doplotting | True if you want to display the plots |
| max_time | Max number of second we want to plot |
void ov_eval:: ResultSimulation:: plot_timeoff(bool doplotting,
double max_time = INFINITY)
Will plot the state imu camera offset and its sigma bound.
| Parameters | |
|---|---|
| doplotting | True if you want to display the plots |
| max_time | Max number of second we want to plot |
void ov_eval:: ResultSimulation:: plot_cam_instrinsics(bool doplotting,
double max_time = INFINITY)
Will plot the camera calibration intrinsics.
| Parameters | |
|---|---|
| doplotting | True if you want to display the plots |
| max_time | Max number of second we want to plot |
void ov_eval:: ResultSimulation:: plot_cam_extrinsics(bool doplotting,
double max_time = INFINITY)
Will plot the camera calibration extrinsic transform.
| Parameters | |
|---|---|
| doplotting | True if you want to display the plots |
| max_time | Max number of second we want to plot |