node_constants.h
Go to the documentation of this file.
1 /*
2  * Copyright 2016 The Cartographer Authors
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_NODE_CONSTANTS_H
18 #define CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_NODE_CONSTANTS_H
19 
20 #include <string>
21 #include <vector>
22 
23 namespace cartographer_ros {
24 
25 // Default topic names; expected to be remapped as needed.
26 constexpr char kLaserScanTopic[] = "scan";
27 constexpr char kMultiEchoLaserScanTopic[] = "echoes";
28 constexpr char kPointCloud2Topic[] = "points2";
29 constexpr char kImuTopic[] = "imu";
30 constexpr char kOdometryTopic[] = "odom";
31 constexpr char kNavSatFixTopic[] = "fix";
32 constexpr char kLandmarkTopic[] = "landmark";
33 constexpr char kFinishTrajectoryServiceName[] = "finish_trajectory";
34 constexpr char kOccupancyGridTopic[] = "map";
35 constexpr char kScanMatchedPointCloudTopic[] = "scan_matched_points2";
36 constexpr char kSubmapListTopic[] = "submap_list";
37 constexpr char kSubmapQueryServiceName[] = "submap_query";
38 constexpr char kStartTrajectoryServiceName[] = "start_trajectory";
39 constexpr char kWriteStateServiceName[] = "write_state";
40 constexpr char kTrajectoryNodeListTopic[] = "trajectory_node_list";
41 constexpr char kLandmarkPosesListTopic[] = "landmark_poses_list";
42 constexpr char kConstraintListTopic[] = "constraint_list";
43 constexpr double kConstraintPublishPeriodSec = 0.5;
44 
45 constexpr int kInfiniteSubscriberQueueSize = 0;
47 
48 // For multiple topics adds numbers to the topic name and returns the list.
49 std::vector<std::string> ComputeRepeatedTopicNames(const std::string& topic,
50  int num_topics);
51 
52 } // namespace cartographer_ros
53 
54 #endif // CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_NODE_CONSTANTS_H
constexpr char kLandmarkTopic[]
constexpr int kLatestOnlyPublisherQueueSize
constexpr char kFinishTrajectoryServiceName[]
constexpr char kImuTopic[]
constexpr char kLaserScanTopic[]
std::vector< std::string > ComputeRepeatedTopicNames(const std::string &topic, const int num_topics)
constexpr double kConstraintPublishPeriodSec
constexpr char kScanMatchedPointCloudTopic[]
constexpr char kStartTrajectoryServiceName[]
constexpr char kWriteStateServiceName[]
constexpr char kOdometryTopic[]
constexpr char kOccupancyGridTopic[]
constexpr char kMultiEchoLaserScanTopic[]
constexpr char kTrajectoryNodeListTopic[]
constexpr char kSubmapQueryServiceName[]
constexpr char kLandmarkPosesListTopic[]
constexpr char kPointCloud2Topic[]
std::string topic
constexpr char kSubmapListTopic[]
constexpr int kInfiniteSubscriberQueueSize
constexpr char kNavSatFixTopic[]
constexpr char kConstraintListTopic[]


cartographer_ros
Author(s): The Cartographer Authors
autogenerated on Mon Feb 28 2022 22:06:05