#include <ros/ros.h>
#include <ros/publisher.h>
#include <ros/subscriber.h>
#include <rtabmap_ros/MapData.h>
#include <rtabmap_ros/Info.h>
#include <rtabmap_ros/MsgConversion.h>
#include <rtabmap_ros/AddLink.h>
#include <rtabmap_ros/GetMap.h>
#include <rtabmap/core/Rtabmap.h>
#include <rtabmap/core/Memory.h>
#include <rtabmap/core/VWDictionary.h>
#include <rtabmap/core/util3d.h>
#include <rtabmap/core/RegistrationVis.h>
#include <rtabmap/utilite/UStl.h>
#include <message_filters/subscriber.h>
#include <message_filters/synchronizer.h>
#include <message_filters/sync_policies/exact_time.h>
Go to the source code of this file.
Typedefs | |
typedef message_filters::sync_policies::ExactTime< rtabmap_ros::MapData, rtabmap_ros::Info > | MyInfoMapSyncPolicy |
Functions | |
int | main (int argc, char **argv) |
void | mapDataCallback (const rtabmap_ros::MapDataConstPtr &mapDataMsg, const rtabmap_ros::InfoConstPtr &infoMsg) |
Variables | |
ros::ServiceClient | addLinkSrv |
bool | g_localizationMode = false |
ros::ServiceClient | getMapSrv |
std::map< int, rtabmap::SensorData > | localData |
rtabmap::Rtabmap | loopClosureDetector |
rtabmap::RegistrationVis | reg |
typedef message_filters::sync_policies::ExactTime<rtabmap_ros::MapData, rtabmap_ros::Info> MyInfoMapSyncPolicy |
Definition at line 59 of file ExternalLoopDetectionExample.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 153 of file ExternalLoopDetectionExample.cpp.
void mapDataCallback | ( | const rtabmap_ros::MapDataConstPtr & | mapDataMsg, |
const rtabmap_ros::InfoConstPtr & | infoMsg | ||
) |
Definition at line 74 of file ExternalLoopDetectionExample.cpp.
ros::ServiceClient addLinkSrv |
Definition at line 61 of file ExternalLoopDetectionExample.cpp.
bool g_localizationMode = false |
Definition at line 72 of file ExternalLoopDetectionExample.cpp.
ros::ServiceClient getMapSrv |
Definition at line 62 of file ExternalLoopDetectionExample.cpp.
std::map<int, rtabmap::SensorData> localData |
Definition at line 65 of file ExternalLoopDetectionExample.cpp.
rtabmap::Rtabmap loopClosureDetector |
Definition at line 68 of file ExternalLoopDetectionExample.cpp.
Definition at line 70 of file ExternalLoopDetectionExample.cpp.