|
| | CGraphSlamEngine_ROS (ros::NodeHandle *nh, const std::string &config_file, const std::string &rawlog_fname="", const std::string &fname_GT="", mrpt::graphslam::CWindowManager *win_manager=NULL, mrpt::graphslam::deciders::CNodeRegistrationDecider< GRAPH_t > *node_reg=NULL, mrpt::graphslam::deciders::CEdgeRegistrationDecider< GRAPH_t > *edge_reg=NULL, mrpt::graphslam::optimizers::CGraphSlamOptimizer< GRAPH_t > *optimizer=NULL) |
| |
| void | initClass () |
| | Initialize object instance. More...
|
| |
| void | setupComm () |
| | Wrapper method around the protected setup* class methods. More...
|
| |
| virtual | ~CGraphSlamEngine_ROS () |
| |
| virtual bool | _execGraphSlamStep (mrpt::obs::CActionCollectionPtr &action, mrpt::obs::CSensoryFramePtr &observations, mrpt::obs::CObservationPtr &observation, size_t &rawlog_entry) |
| |
| | CGraphSlamEngine (const std::string &config_file, const std::string &rawlog_fname="", const std::string &fname_GT="", mrpt::graphslam::CWindowManager *win_manager=NULL, mrpt::graphslam::deciders::CNodeRegistrationDecider< GRAPH_t > *node_reg=NULL, mrpt::graphslam::deciders::CEdgeRegistrationDecider< GRAPH_t > *edge_reg=NULL, mrpt::graphslam::optimizers::CGraphSlamOptimizer< GRAPH_t > *optimizer=NULL) |
| |
| void | computeMap () const |
| |
| void | computeMap () const |
| |
| bool | execGraphSlamStep (mrpt::obs::CObservationPtr &observation, size_t &rawlog_entry) |
| |
| void | generateReportFiles (const std::string &output_dir_fname_in) |
| |
| global_pose_t | getCurrentRobotPosEstimation () const |
| |
| void | getDeformationEnergyVector (std::vector< double > *vec_out) const |
| |
| const GRAPH_t & | getGraph () const |
| |
| bool | getGraphSlamStats (std::map< std::string, int > *node_stats, std::map< std::string, int > *edge_stats, mrpt::system::TTimeStamp *timestamp=NULL) |
| |
| void | getMap (mrpt::maps::COccupancyGridMap2DPtr map, mrpt::system::TTimeStamp *acquisition_time=NULL) const |
| |
| void | getMap (mrpt::maps::COctoMapPtr map, mrpt::system::TTimeStamp *acquisition_time=NULL) const |
| |
| void | getMap (mrpt::maps::COccupancyGridMap2DPtr map, mrpt::system::TTimeStamp *acquisition_time=NULL) const |
| |
| void | getMap (mrpt::maps::COctoMapPtr map, mrpt::system::TTimeStamp *acquisition_time=NULL) const |
| |
| virtual void | getNodeIDsOfEstimatedTrajectory (std::set< mrpt::utils::TNodeID > *nodes_set) const |
| |
| void | getParamsAsString (std::string *params_out) const |
| |
| std::string | getParamsAsString () const |
| |
| std::string | getRawlogFname () |
| |
| virtual void | getRobotEstimatedTrajectory (typename GRAPH_t::global_poses_t *graph_poses) const |
| |
| bool | isPaused () const |
| |
| bool | isPaused () const |
| |
| void | loadParams (const std::string &fname) |
| |
| void | pauseExec () |
| |
| void | pauseExec () |
| |
| void | printParams () const |
| |
| void | resumeExec () const |
| |
| void | resumeExec () const |
| |
| void | save3DScene (const std::string *fname_in=NULL) const |
| |
| void | saveGraph (const std::string *fname_in=NULL) const |
| |
| void | togglePause () |
| |
| void | togglePause () |
| |
| virtual | ~CGraphSlamEngine () |
| |
|
| virtual bool | _execGraphSlamStep (mrpt::obs::CActionCollection::Ptr &action, mrpt::obs::CSensoryFrame::Ptr &observations, mrpt::obs::CObservation::Ptr &observation, size_t &rawlog_entry) |
| |
| void | readParams () |
| | Read the problem configuration parameters. More...
|
| |
| void | readROSParameters () |
| | Read configuration parameters from the ROS parameter server. More...
|
| |
| virtual void | usePublishersBroadcasters () |
| | Provide feedback about the SLAM operation. More...
|
| |
|
Methods for setting up topic subscribers, publishers, and corresponding services
- See also
- setupComm
|
| virtual void | setupSubs () |
| |
| virtual void | setupPubs () |
| |
| virtual void | setupSrvs () |
| |
| void | alignOpticalWithMRPTFrame () |
| |
| void | computeSlamMetric (mrpt::utils::TNodeID nodeID, size_t gt_index) |
| |
| void | decimateLaserScan (mrpt::obs::CObservation2DRangeScan &laser_scan_in, mrpt::obs::CObservation2DRangeScan *laser_scan_out, const int keep_every_n_entries=2) |
| |
| void | dumpVisibilityErrorMsg (std::string viz_flag, int sleep_time=500) |
| |
| void | execDijkstraNodesEstimation () |
| |
| void | getDescriptiveReport (std::string *report_str) const |
| |
| virtual mrpt::poses::CPose3D | getLSPoseForGridMapVisualization (const mrpt::utils::TNodeID nodeID) const |
| |
| virtual mrpt::poses::CPose3D | getLSPoseForGridMapVisualization (const mrpt::utils::TNodeID nodeID) const |
| |
| void | initClass () |
| |
| void | initCurrPosViewport () |
| |
| void | initEstimatedTrajectoryVisualization () |
| |
| void | initGTVisualization () |
| |
| void | initIntensityImageViewport () |
| |
| void | initIntensityImageViewport () |
| |
| void | initMapVisualization () |
| |
| void | initMapVisualization () |
| |
| void | initOdometryVisualization () |
| |
| void | initRangeImageViewport () |
| |
| void | initRangeImageViewport () |
| |
| void | initResultsFile (const std::string &fname) |
| |
| mrpt::opengl::CSetOfObjectsPtr | initRobotModelVisualization () |
| |
| mrpt::opengl::CSetOfObjectsPtr | initRobotModelVisualization () |
| |
| mrpt::opengl::CSetOfObjectsPtr | initRobotModelVisualizationInternal (const mrpt::poses::CPose2D &p_unused) |
| |
| mrpt::opengl::CSetOfObjectsPtr | initRobotModelVisualizationInternal (const mrpt::poses::CPose3D &p_unused) |
| |
| mrpt::opengl::CSetOfObjectsPtr | initRobotModelVisualizationInternal (const mrpt::poses::CPose2D &p_unused) |
| |
| mrpt::opengl::CSetOfObjectsPtr | initRobotModelVisualizationInternal (const mrpt::poses::CPose3D &p_unused) |
| |
| void | initSlamMetricVisualization () |
| |
| void | initVisualization () |
| |
| void | initVisualization () |
| |
| virtual void | monitorNodeRegistration (bool registered=false, std::string class_name="Class") |
| |
| void | queryObserverForEvents () |
| |
| mrpt::opengl::CSetOfObjectsPtr | setCurrentPositionModel (const std::string &model_name, const mrpt::utils::TColor &model_color=mrpt::utils::TColor(0, 0, 0), const size_t model_size=1, const pose_t &init_pose=pose_t()) |
| |
| virtual void | setObjectPropsFromNodeID (const mrpt::utils::TNodeID nodeID, mrpt::opengl::CSetOfObjectsPtr &viz_object) |
| |
| virtual void | setObjectPropsFromNodeID (const mrpt::utils::TNodeID nodeID, mrpt::opengl::CSetOfObjectsPtr &viz_object) |
| |
| void | toggleEstimatedTrajectoryVisualization () |
| |
| void | toggleEstimatedTrajectoryVisualization () |
| |
| void | toggleGTVisualization () |
| |
| void | toggleGTVisualization () |
| |
| void | toggleMapVisualization () |
| |
| void | toggleMapVisualization () |
| |
| void | toggleOdometryVisualization () |
| |
| void | toggleOdometryVisualization () |
| |
| void | updateAllVisuals () |
| |
| void | updateAllVisuals () |
| |
| virtual void | updateCurrPosViewport () |
| |
| virtual void | updateCurrPosViewport () |
| |
| void | updateEstimatedTrajectoryVisualization (bool full_update=false) |
| |
| void | updateEstimatedTrajectoryVisualization (bool full_update=false) |
| |
| void | updateGTVisualization () |
| |
| void | updateGTVisualization () |
| |
| void | updateIntensityImageViewport () |
| |
| void | updateIntensityImageViewport () |
| |
| void | updateMapVisualization (const std::map< mrpt::utils::TNodeID, mrpt::obs::CObservation2DRangeScanPtr > &nodes_to_laser_scans2D, bool full_update=false) |
| |
| void | updateMapVisualization (const std::map< mrpt::utils::TNodeID, mrpt::obs::CObservation2DRangeScanPtr > &nodes_to_laser_scans2D, bool full_update=false) |
| |
| void | updateOdometryVisualization () |
| |
| void | updateOdometryVisualization () |
| |
| void | updateRangeImageViewport () |
| |
| void | updateRangeImageViewport () |
| |
| void | updateSlamMetricVisualization () |
| |
| void | updateSlamMetricVisualization () |
| |
|
| static void | readGTFile (const std::string &fname_GT, std::vector< mrpt::poses::CPose2D > *gt_poses, std::vector< mrpt::system::TTimeStamp > *gt_timestamps=NULL) |
| |
| static void | readGTFile (const std::string &fname_GT, std::vector< mrpt::poses::CPose3D > *gt_poses, std::vector< mrpt::system::TTimeStamp > *gt_timestamps=NULL) |
| |
| static void | readGTFile (const std::string &fname_GT, std::vector< mrpt::poses::CPose3D > *gt_poses, std::vector< mrpt::system::TTimeStamp > *gt_timestamps=NULL) |
| |
| static void | readGTFile (const std::string &fname_GT, std::vector< mrpt::poses::CPose2D > *gt_poses, std::vector< mrpt::system::TTimeStamp > *gt_timestamps=NULL) |
| |
| static void | readGTFileRGBD_TUM (const std::string &fname_GT, std::vector< mrpt::poses::CPose2D > *gt_poses, std::vector< mrpt::system::TTimeStamp > *gt_timestamps=NULL) |
| |
| static void | readGTFileRGBD_TUM (const std::string &fname_GT, std::vector< mrpt::poses::CPose2D > *gt_poses, std::vector< mrpt::system::TTimeStamp > *gt_timestamps=NULL) |
| |
| static double | accumulateAngleDiffs (const mrpt::poses::CPose2D &p1, const mrpt::poses::CPose2D &p2) |
| |
| static double | accumulateAngleDiffs (const mrpt::poses::CPose3D &p1, const mrpt::poses::CPose3D &p2) |
| |
| static double | accumulateAngleDiffs (const mrpt::poses::CPose2D &p1, const mrpt::poses::CPose2D &p2) |
| |
| static double | accumulateAngleDiffs (const mrpt::poses::CPose3D &p1, const mrpt::poses::CPose3D &p2) |
| |
| static mrpt::system::TTimeStamp | getTimeStamp (const mrpt::obs::CActionCollectionPtr action, const mrpt::obs::CSensoryFramePtr observations, const mrpt::obs::CObservationPtr observation) |
| |
| static const std::string | header_sep |
| |
| static const std::string | report_sep |
| |
template<class GRAPH_t = typename mrpt::graphs::CNetworkOfPoses2DInf>
class mrpt::graphslam::CGraphSlamEngine_ROS< GRAPH_t >
Class template that provides a wrapper around the MRPT CGraphSlamEngine class template and implements methods for interacting with ROS.
Definition at line 25 of file CGraphSlamEngine_ROS.h.