Go to the documentation of this file.
3 #include "nav_msgs/GetMap.h"
7 int main(
int argc,
char **argv)
17 std::string laserTopic;
18 n.param(
"laser_topic", laserTopic, std::string(
"scan"));
22 std::string mapService;
23 n.param(
"map_service", mapService, std::string(
"get_map"));
28 if(mapClient.
call(srv))
int main(int argc, char **argv)
void convertMap(const nav_msgs::OccupancyGrid &map_msg)
void process(const sensor_msgs::LaserScan::ConstPtr &scan)
bool waitForExistence(ros::Duration timeout=ros::Duration(-1))
ROSCPP_DECL void init(const M_string &remappings, const std::string &name, uint32_t options=0)
ROSCPP_DECL void spinOnce()
bool call(const MReq &req, MRes &resp, const std::string &service_md5sum)
tf::StampedTransform getMapToOdometry()
nav2d_localizer
Author(s): Sebastian Kasperski
autogenerated on Wed Mar 2 2022 00:37:18