Helper class that will publish results onto the ROS framework.
Also save to file the current total state and covariance along with the groundtruth if we are simulating. We visualize the following things:
- State of the system on TF, pose message, and path
- Image of our tracker
- Our different features (SLAM, MSCKF, ARUCO)
- Groundtruth trajectory if we have it
- void visualize()
- Will visualize the system if we have new things.
- void visualize_odometry(double timestamp)
- Will publish our odometry message for the current timestep. This will take the current state estimate and get the propagated pose to the desired time. This can be used to get pose estimates on systems which require high frequency pose estimates.
- void visualize_final()
- After the run has ended, print results.
- void publish_state()
- Publish the current state.
- void publish_images()
- Publish the active tracking image.
- void publish_features()
- Publish current features.
- void publish_groundtruth()
- Publish groundtruth (if we have it)
- void publish_keyframe_information()
- Publish keyframe information of the marginalized pose and tracks.
- void sim_save_total_state_to_file()
- Save current estimate state and groundtruth including calibration.