Internal cleanup. (#821)

Fix lint error.
master
jie 2018-04-19 15:10:23 -07:00 committed by Wally B. Feed
parent 1dd49247a4
commit 5ce6e68dd3
18 changed files with 54 additions and 54 deletions

View File

@ -22,8 +22,8 @@
#include "cartographer/mapping/proto/pose_graph.pb.h" #include "cartographer/mapping/proto/pose_graph.pb.h"
#include "cartographer/mapping/proto/trajectory_builder_options.pb.h" #include "cartographer/mapping/proto/trajectory_builder_options.pb.h"
#ifndef CARTOGRAPHER_ROS_ASSETS_WRITER_H_ #ifndef CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_ASSETS_WRITER_H
#define CARTOGRAPHER_ROS_ASSETS_WRITER_H_ #define CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_ASSETS_WRITER_H
namespace cartographer_ros { namespace cartographer_ros {
@ -60,4 +60,4 @@ class AssetsWriter {
} // namespace cartographer_ros } // namespace cartographer_ros
#endif // CARTOGRAPHER_ROS_ASSETS_WRITER_H_ #endif // CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_ASSETS_WRITER_H

View File

@ -14,8 +14,8 @@
* limitations under the License. * limitations under the License.
*/ */
#ifndef CARTOGRAPHER_ROS_MAP_BUILDER_BRIDGE_H_ #ifndef CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_MAP_BUILDER_BRIDGE_H
#define CARTOGRAPHER_ROS_MAP_BUILDER_BRIDGE_H_ #define CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_MAP_BUILDER_BRIDGE_H
#include <memory> #include <memory>
#include <set> #include <set>
@ -113,4 +113,4 @@ class MapBuilderBridge {
} // namespace cartographer_ros } // namespace cartographer_ros
#endif // CARTOGRAPHER_ROS_MAP_BUILDER_BRIDGE_H_ #endif // CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_MAP_BUILDER_BRIDGE_H

View File

@ -14,8 +14,8 @@
* limitations under the License. * limitations under the License.
*/ */
#ifndef CARTOGRAPHER_ROS_MSG_CONVERSION_H_ #ifndef CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_MSG_CONVERSION_H
#define CARTOGRAPHER_ROS_MSG_CONVERSION_H_ #define CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_MSG_CONVERSION_H
#include "cartographer/common/port.h" #include "cartographer/common/port.h"
#include "cartographer/common/time.h" #include "cartographer/common/time.h"
@ -95,4 +95,4 @@ std::unique_ptr<nav_msgs::OccupancyGrid> CreateOccupancyGridMsg(
} // namespace cartographer_ros } // namespace cartographer_ros
#endif // CARTOGRAPHER_ROS_MSG_CONVERSION_H_ #endif // CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_MSG_CONVERSION_H

View File

@ -14,8 +14,8 @@
* limitations under the License. * limitations under the License.
*/ */
#ifndef CARTOGRAPHER_ROS_NODE_H_ #ifndef CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_NODE_H
#define CARTOGRAPHER_ROS_NODE_H_ #define CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_NODE_H
#include <map> #include <map>
#include <memory> #include <memory>
@ -212,4 +212,4 @@ class Node {
} // namespace cartographer_ros } // namespace cartographer_ros
#endif // CARTOGRAPHER_ROS_NODE_H_ #endif // CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_NODE_H

View File

@ -14,8 +14,8 @@
* limitations under the License. * limitations under the License.
*/ */
#ifndef CARTOGRAPHER_ROS_NODE_CONSTANTS_H_ #ifndef CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_NODE_CONSTANTS_H
#define CARTOGRAPHER_ROS_NODE_CONSTANTS_H_ #define CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_NODE_CONSTANTS_H
#include <string> #include <string>
#include <vector> #include <vector>
@ -51,4 +51,4 @@ std::vector<std::string> ComputeRepeatedTopicNames(const std::string& topic,
} // namespace cartographer_ros } // namespace cartographer_ros
#endif // CARTOGRAPHER_ROS_NODE_CONSTANTS_H_ #endif // CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_NODE_CONSTANTS_H

View File

@ -14,8 +14,8 @@
* limitations under the License. * limitations under the License.
*/ */
#ifndef CARTOGRAPHER_ROS_NODE_OPTIONS_H_ #ifndef CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_NODE_OPTIONS_H
#define CARTOGRAPHER_ROS_NODE_OPTIONS_H_ #define CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_NODE_OPTIONS_H
#include <string> #include <string>
#include <tuple> #include <tuple>
@ -46,4 +46,4 @@ std::tuple<NodeOptions, TrajectoryOptions> LoadOptions(
} // namespace cartographer_ros } // namespace cartographer_ros
#endif // CARTOGRAPHER_ROS_NODE_OPTIONS_H_ #endif // CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_NODE_OPTIONS_H

View File

@ -14,8 +14,8 @@
* limitations under the License. * limitations under the License.
*/ */
#ifndef CARTOGRAPHER_ROS_OFFLINE_NODE_H_ #ifndef CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_OFFLINE_NODE_H
#define CARTOGRAPHER_ROS_OFFLINE_NODE_H_ #define CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_OFFLINE_NODE_H
#include <functional> #include <functional>
#include <memory> #include <memory>
@ -35,4 +35,4 @@ void RunOfflineNode(const MapBuilderFactory& map_builder_factory);
} // namespace cartographer_ros } // namespace cartographer_ros
#endif // CARTOGRAPHER_ROS_OFFLINE_NODE_H_ #endif // CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_OFFLINE_NODE_H

View File

@ -14,8 +14,8 @@
* limitations under the License. * limitations under the License.
*/ */
#ifndef CARTOGRAPHER_ROS_PLAYABLE_BAG_H_ #ifndef CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_PLAYABLE_BAG_H
#define CARTOGRAPHER_ROS_PLAYABLE_BAG_H_ #define CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_PLAYABLE_BAG_H
#include <functional> #include <functional>
#include <queue> #include <queue>
@ -94,4 +94,4 @@ class PlayableBagMultiplexer {
} // namespace cartographer_ros } // namespace cartographer_ros
#endif // CARTOGRAPHER_ROS_PLAYABLE_BAG_H_ #endif // CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_PLAYABLE_BAG_H

View File

@ -14,8 +14,8 @@
* limitations under the License. * limitations under the License.
*/ */
#ifndef CARTOGRAPHER_ROS_ROS_LOG_SINK_H_ #ifndef CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_ROS_LOG_SINK_H
#define CARTOGRAPHER_ROS_ROS_LOG_SINK_H_ #define CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_ROS_LOG_SINK_H
#include <ctime> #include <ctime>
@ -42,4 +42,4 @@ class ScopedRosLogSink : public ::google::LogSink {
} // namespace cartographer_ros } // namespace cartographer_ros
#endif // CARTOGRAPHER_ROS_ROS_LOG_SINK_H_ #endif // CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_ROS_LOG_SINK_H

View File

@ -14,8 +14,8 @@
* limitations under the License. * limitations under the License.
*/ */
#ifndef CARTOGRAPHER_ROS_ROS_MAP_H_ #ifndef CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_ROS_MAP_H
#define CARTOGRAPHER_ROS_ROS_MAP_H_ #define CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_ROS_MAP_H
#include <string> #include <string>
@ -38,4 +38,4 @@ void WriteYaml(const double resolution, const Eigen::Vector2d& origin,
} // namespace cartographer_ros } // namespace cartographer_ros
#endif // CARTOGRAPHER_ROS_ROS_MAP_H_ #endif // CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_ROS_MAP_H

View File

@ -14,8 +14,8 @@
* limitations under the License. * limitations under the License.
*/ */
#ifndef CARTOGRAPHER_ROS_ROS_MAP_WRITING_POINTS_PROCESSOR_H_ #ifndef CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_ROS_MAP_WRITING_POINTS_PROCESSOR_H
#define CARTOGRAPHER_ROS_ROS_MAP_WRITING_POINTS_PROCESSOR_H_ #define CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_ROS_MAP_WRITING_POINTS_PROCESSOR_H
#include "cartographer/common/lua_parameter_dictionary.h" #include "cartographer/common/lua_parameter_dictionary.h"
#include "cartographer/io/file_writer.h" #include "cartographer/io/file_writer.h"
@ -62,4 +62,4 @@ class RosMapWritingPointsProcessor
} // namespace cartographer_ros } // namespace cartographer_ros
#endif // CARTOGRAPHER_ROS_ROS_MAP_WRITING_POINTS_PROCESSOR_H_ #endif // CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_ROS_MAP_WRITING_POINTS_PROCESSOR_H

View File

@ -14,8 +14,8 @@
* limitations under the License. * limitations under the License.
*/ */
#ifndef CARTOGRAPHER_ROS_SENSOR_BRIDGE_H_ #ifndef CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_SENSOR_BRIDGE_H
#define CARTOGRAPHER_ROS_SENSOR_BRIDGE_H_ #define CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_SENSOR_BRIDGE_H
#include <memory> #include <memory>
@ -97,4 +97,4 @@ class SensorBridge {
} // namespace cartographer_ros } // namespace cartographer_ros
#endif // CARTOGRAPHER_ROS_SENSOR_BRIDGE_H_ #endif // CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_SENSOR_BRIDGE_H

View File

@ -14,8 +14,8 @@
* limitations under the License. * limitations under the License.
*/ */
#ifndef CARTOGRAPHER_ROS_SPLIT_STRING_H_ #ifndef CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_SPLIT_STRING_H
#define CARTOGRAPHER_ROS_SPLIT_STRING_H_ #define CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_SPLIT_STRING_H
#include <string> #include <string>
#include <vector> #include <vector>
@ -27,4 +27,4 @@ std::vector<std::string> SplitString(const std::string& input, char delimiter);
} // namespace cartographer_ros } // namespace cartographer_ros
#endif // CARTOGRAPHER_ROS_SPLIT_STRING_H_ #endif // CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_SPLIT_STRING_H

View File

@ -14,8 +14,8 @@
* limitations under the License. * limitations under the License.
*/ */
#ifndef CARTOGRAPHER_ROS_SUBMAP_H_ #ifndef CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_SUBMAP_H
#define CARTOGRAPHER_ROS_SUBMAP_H_ #define CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_SUBMAP_H
#include <memory> #include <memory>
#include <string> #include <string>
@ -37,4 +37,4 @@ std::unique_ptr<::cartographer::io::SubmapTextures> FetchSubmapTextures(
} // namespace cartographer_ros } // namespace cartographer_ros
#endif // CARTOGRAPHER_ROS_SUBMAP_H_ #endif // CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_SUBMAP_H

View File

@ -14,8 +14,8 @@
* limitations under the License. * limitations under the License.
*/ */
#ifndef CARTOGRAPHER_ROS_TF_BRIDGE_H_ #ifndef CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_TF_BRIDGE_H
#define CARTOGRAPHER_ROS_TF_BRIDGE_H_ #define CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_TF_BRIDGE_H
#include <memory> #include <memory>
@ -48,4 +48,4 @@ class TfBridge {
} // namespace cartographer_ros } // namespace cartographer_ros
#endif // CARTOGRAPHER_ROS_TF_BRIDGE_H_ #endif // CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_TF_BRIDGE_H

View File

@ -14,8 +14,8 @@
* limitations under the License. * limitations under the License.
*/ */
#ifndef CARTOGRAPHER_ROS_TIME_CONVERSION_H_ #ifndef CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_TIME_CONVERSION_H
#define CARTOGRAPHER_ROS_TIME_CONVERSION_H_ #define CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_TIME_CONVERSION_H
#include "cartographer/common/time.h" #include "cartographer/common/time.h"
#include "ros/ros.h" #include "ros/ros.h"
@ -28,4 +28,4 @@ namespace cartographer_ros {
} // namespace cartographer_ros } // namespace cartographer_ros
#endif // CARTOGRAPHER_ROS_TIME_CONVERSION_H_ #endif // CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_TIME_CONVERSION_H

View File

@ -14,8 +14,8 @@
* limitations under the License. * limitations under the License.
*/ */
#ifndef CARTOGRAPHER_ROS_TRAJECTORY_OPTIONS_H_ #ifndef CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_TRAJECTORY_OPTIONS_H
#define CARTOGRAPHER_ROS_TRAJECTORY_OPTIONS_H_ #define CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_TRAJECTORY_OPTIONS_H
#include <string> #include <string>
@ -69,4 +69,4 @@ cartographer_ros_msgs::TrajectoryOptions ToRosMessage(
} // namespace cartographer_ros } // namespace cartographer_ros
#endif // CARTOGRAPHER_ROS_TRAJECTORY_OPTIONS_H_ #endif // CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_TRAJECTORY_OPTIONS_H

View File

@ -14,8 +14,8 @@
* limitations under the License. * limitations under the License.
*/ */
#ifndef CARTOGRAPHER_ROS_URDF_READER_H_ #ifndef CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_URDF_READER_H
#define CARTOGRAPHER_ROS_URDF_READER_H_ #define CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_URDF_READER_H
#include <vector> #include <vector>
@ -29,4 +29,4 @@ std::vector<geometry_msgs::TransformStamped> ReadStaticTransformsFromUrdf(
} // namespace cartographer_ros } // namespace cartographer_ros
#endif // CARTOGRAPHER_ROS_URDF_READER_H_ #endif // CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_URDF_READER_H