Skip to content

Commit

Permalink
Fix include order for cpplint (#221)
Browse files Browse the repository at this point in the history
Relates to ament/ament_lint#324

Signed-off-by: Jacob Perron <[email protected]>
  • Loading branch information
jacobperron authored Jan 12, 2022
1 parent 6d777b5 commit 467fef0
Show file tree
Hide file tree
Showing 24 changed files with 152 additions and 152 deletions.
16 changes: 8 additions & 8 deletions image_transport/include/image_transport/camera_publisher.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@
#ifndef IMAGE_TRANSPORT__CAMERA_PUBLISHER_HPP_
#define IMAGE_TRANSPORT__CAMERA_PUBLISHER_HPP_

#include <rclcpp/macros.hpp>
#include <rclcpp/node.hpp>
#include <memory>
#include <string>

#include <sensor_msgs/msg/image.hpp>
#include <sensor_msgs/msg/camera_info.hpp>
#include "rclcpp/macros.hpp"
#include "rclcpp/node.hpp"

#include <image_transport/single_subscriber_publisher.hpp>
#include <image_transport/visibility_control.hpp>
#include "sensor_msgs/msg/image.hpp"
#include "sensor_msgs/msg/camera_info.hpp"

#include <memory>
#include <string>
#include "image_transport/single_subscriber_publisher.hpp"
#include "image_transport/visibility_control.hpp"

namespace image_transport
{
Expand Down
10 changes: 5 additions & 5 deletions image_transport/include/image_transport/camera_subscriber.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@
#ifndef IMAGE_TRANSPORT__CAMERA_SUBSCRIBER_HPP_
#define IMAGE_TRANSPORT__CAMERA_SUBSCRIBER_HPP_

#include <rclcpp/node.hpp>

#include <sensor_msgs/msg/camera_info.hpp>
#include <sensor_msgs/msg/image.hpp>

#include <functional>
#include <memory>
#include <string>

#include "rclcpp/node.hpp"

#include "sensor_msgs/msg/camera_info.hpp"
#include "sensor_msgs/msg/image.hpp"

#include "image_transport/visibility_control.hpp"

namespace image_transport
Expand Down
18 changes: 9 additions & 9 deletions image_transport/include/image_transport/image_transport.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,20 @@
#ifndef IMAGE_TRANSPORT__IMAGE_TRANSPORT_HPP_
#define IMAGE_TRANSPORT__IMAGE_TRANSPORT_HPP_

#include <rclcpp/node.hpp>

#include <image_transport/camera_publisher.hpp>
#include <image_transport/camera_subscriber.hpp>
#include <image_transport/publisher.hpp>
#include <image_transport/subscriber.hpp>
#include <image_transport/transport_hints.hpp>
#include <image_transport/visibility_control.hpp>

#include <functional>
#include <memory>
#include <string>
#include <vector>

#include "rclcpp/node.hpp"

#include "image_transport/camera_publisher.hpp"
#include "image_transport/camera_subscriber.hpp"
#include "image_transport/publisher.hpp"
#include "image_transport/subscriber.hpp"
#include "image_transport/transport_hints.hpp"
#include "image_transport/visibility_control.hpp"

namespace image_transport
{

Expand Down
18 changes: 9 additions & 9 deletions image_transport/include/image_transport/publisher.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@
#ifndef IMAGE_TRANSPORT__PUBLISHER_HPP_
#define IMAGE_TRANSPORT__PUBLISHER_HPP_

#include <rclcpp/macros.hpp>
#include <rclcpp/node.hpp>
#include <memory>
#include <string>

#include <sensor_msgs/msg/image.hpp>
#include "rclcpp/macros.hpp"
#include "rclcpp/node.hpp"

#include <image_transport/exception.hpp>
#include <image_transport/loader_fwds.hpp>
#include <image_transport/single_subscriber_publisher.hpp>
#include <image_transport/visibility_control.hpp>
#include "sensor_msgs/msg/image.hpp"

#include <memory>
#include <string>
#include "image_transport/exception.hpp"
#include "image_transport/loader_fwds.hpp"
#include "image_transport/single_subscriber_publisher.hpp"
#include "image_transport/visibility_control.hpp"

namespace image_transport
{
Expand Down
12 changes: 6 additions & 6 deletions image_transport/include/image_transport/publisher_plugin.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@
#ifndef IMAGE_TRANSPORT__PUBLISHER_PLUGIN_HPP_
#define IMAGE_TRANSPORT__PUBLISHER_PLUGIN_HPP_

#include <rclcpp/node.hpp>
#include <sensor_msgs/msg/image.hpp>

#include <image_transport/single_subscriber_publisher.hpp>
#include <image_transport/visibility_control.hpp>

#include <string>
#include <vector>

#include "rclcpp/node.hpp"
#include "sensor_msgs/msg/image.hpp"

#include "image_transport/single_subscriber_publisher.hpp"
#include "image_transport/visibility_control.hpp"

namespace image_transport
{

Expand Down
8 changes: 4 additions & 4 deletions image_transport/include/image_transport/raw_publisher.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
#ifndef IMAGE_TRANSPORT__RAW_PUBLISHER_HPP_
#define IMAGE_TRANSPORT__RAW_PUBLISHER_HPP_

#include <sensor_msgs/msg/image.hpp>
#include <string>

#include <image_transport/simple_publisher_plugin.hpp>
#include <image_transport/visibility_control.hpp>
#include "sensor_msgs/msg/image.hpp"

#include <string>
#include "image_transport/simple_publisher_plugin.hpp"
#include "image_transport/visibility_control.hpp"

namespace image_transport
{
Expand Down
10 changes: 5 additions & 5 deletions image_transport/include/image_transport/raw_subscriber.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@
#ifndef IMAGE_TRANSPORT__RAW_SUBSCRIBER_HPP_
#define IMAGE_TRANSPORT__RAW_SUBSCRIBER_HPP_

#include <sensor_msgs/msg/image.hpp>

#include <image_transport/simple_subscriber_plugin.hpp>
#include <image_transport/visibility_control.hpp>

#include <string>
#include <memory>

#include "sensor_msgs/msg/image.hpp"

#include "image_transport/simple_subscriber_plugin.hpp"
#include "image_transport/visibility_control.hpp"

namespace image_transport
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@
#ifndef IMAGE_TRANSPORT__SIMPLE_PUBLISHER_PLUGIN_HPP_
#define IMAGE_TRANSPORT__SIMPLE_PUBLISHER_PLUGIN_HPP_

#include <rclcpp/node.hpp>
#include <rclcpp/logger.hpp>
#include <rclcpp/logging.hpp>

#include <image_transport/publisher_plugin.hpp>
#include <image_transport/visibility_control.hpp>

#include <memory>
#include <string>

#include "rclcpp/node.hpp"
#include "rclcpp/logger.hpp"
#include "rclcpp/logging.hpp"

#include "image_transport/publisher_plugin.hpp"
#include "image_transport/visibility_control.hpp"

namespace image_transport
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@
#ifndef IMAGE_TRANSPORT__SIMPLE_SUBSCRIBER_PLUGIN_HPP_
#define IMAGE_TRANSPORT__SIMPLE_SUBSCRIBER_PLUGIN_HPP_

#include <rclcpp/subscription.hpp>

#include <image_transport/subscriber_plugin.hpp>
#include <image_transport/visibility_control.hpp>

#include <functional>
#include <memory>
#include <string>

#include "rclcpp/subscription.hpp"

#include "image_transport/subscriber_plugin.hpp"
#include "image_transport/visibility_control.hpp"

namespace image_transport
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
#ifndef IMAGE_TRANSPORT__SINGLE_SUBSCRIBER_PUBLISHER_HPP_
#define IMAGE_TRANSPORT__SINGLE_SUBSCRIBER_PUBLISHER_HPP_

#include <rclcpp/macros.hpp>
#include <sensor_msgs/msg/image.hpp>

#include <functional>
#include <string>

#include "rclcpp/macros.hpp"
#include "sensor_msgs/msg/image.hpp"

#include "image_transport/visibility_control.hpp"

namespace image_transport
Expand Down
14 changes: 7 additions & 7 deletions image_transport/include/image_transport/subscriber.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@
#ifndef IMAGE_TRANSPORT__SUBSCRIBER_HPP_
#define IMAGE_TRANSPORT__SUBSCRIBER_HPP_

#include <rclcpp/node.hpp>
#include <sensor_msgs/msg/image.hpp>

#include <image_transport/exception.hpp>
#include <image_transport/loader_fwds.hpp>
#include <image_transport/visibility_control.hpp>

#include <functional>
#include <memory>
#include <string>

#include "rclcpp/node.hpp"
#include "sensor_msgs/msg/image.hpp"

#include "image_transport/exception.hpp"
#include "image_transport/loader_fwds.hpp"
#include "image_transport/visibility_control.hpp"

namespace image_transport
{

Expand Down
14 changes: 7 additions & 7 deletions image_transport/include/image_transport/subscriber_filter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@
#ifndef IMAGE_TRANSPORT__SUBSCRIBER_FILTER_HPP_
#define IMAGE_TRANSPORT__SUBSCRIBER_FILTER_HPP_

#include <rclcpp/rclcpp.hpp>
#include <sensor_msgs/msg/image.hpp>
#include <message_filters/simple_filter.h>

#include <image_transport/image_transport.hpp>
#include <image_transport/visibility_control.hpp>

#include <memory>
#include <string>

#include "rclcpp/rclcpp.hpp"
#include "sensor_msgs/msg/image.hpp"
#include "message_filters/simple_filter.h"

#include "image_transport/image_transport.hpp"
#include "image_transport/visibility_control.hpp"

namespace image_transport
{

Expand Down
12 changes: 6 additions & 6 deletions image_transport/include/image_transport/subscriber_plugin.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@
#ifndef IMAGE_TRANSPORT__SUBSCRIBER_PLUGIN_HPP_
#define IMAGE_TRANSPORT__SUBSCRIBER_PLUGIN_HPP_

#include <rclcpp/macros.hpp>
#include <rclcpp/node.hpp>
#include <sensor_msgs/msg/image.hpp>

#include <image_transport/visibility_control.hpp>

#include <memory>
#include <string>

#include "rclcpp/macros.hpp"
#include "rclcpp/node.hpp"
#include "sensor_msgs/msg/image.hpp"

#include "image_transport/visibility_control.hpp"

namespace image_transport
{

Expand Down
8 changes: 4 additions & 4 deletions image_transport/include/image_transport/transport_hints.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
#ifndef IMAGE_TRANSPORT__TRANSPORT_HINTS_HPP_
#define IMAGE_TRANSPORT__TRANSPORT_HINTS_HPP_

#include <rclcpp/node.hpp>

#include <image_transport/visibility_control.hpp>

#include <memory>
#include <string>

#include "rclcpp/node.hpp"

#include "image_transport/visibility_control.hpp"

namespace image_transport
{

Expand Down
14 changes: 7 additions & 7 deletions image_transport/src/camera_publisher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@

#include "image_transport/camera_publisher.hpp"

#include <rclcpp/expand_topic_or_service_name.hpp>
#include <rclcpp/logging.hpp>
#include <rclcpp/node.hpp>

#include <image_transport/camera_common.hpp>
#include <image_transport/image_transport.hpp>

#include <memory>
#include <string>

#include "rclcpp/expand_topic_or_service_name.hpp"
#include "rclcpp/logging.hpp"
#include "rclcpp/node.hpp"

#include "image_transport/camera_common.hpp"
#include "image_transport/image_transport.hpp"

namespace image_transport
{

Expand Down
12 changes: 6 additions & 6 deletions image_transport/src/camera_subscriber.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@

#include "image_transport/camera_subscriber.hpp"

#include <message_filters/subscriber.h>
#include <message_filters/time_synchronizer.h>

#include <image_transport/camera_common.hpp>
#include <image_transport/subscriber_filter.hpp>

#include <memory>
#include <string>

#include "message_filters/subscriber.h"
#include "message_filters/time_synchronizer.h"

#include "image_transport/camera_common.hpp"
#include "image_transport/subscriber_filter.hpp"

inline void increment(int * value)
{
++(*value);
Expand Down
14 changes: 7 additions & 7 deletions image_transport/src/image_transport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@

#include "image_transport/image_transport.hpp"

#include <pluginlib/class_loader.hpp>

#include <image_transport/camera_common.hpp>
#include <image_transport/loader_fwds.hpp>
#include <image_transport/publisher_plugin.hpp>
#include <image_transport/subscriber_plugin.hpp>

#include <memory>
#include <string>
#include <vector>

#include "pluginlib/class_loader.hpp"

#include "image_transport/camera_common.hpp"
#include "image_transport/loader_fwds.hpp"
#include "image_transport/publisher_plugin.hpp"
#include "image_transport/subscriber_plugin.hpp"

namespace image_transport
{

Expand Down
Loading

0 comments on commit 467fef0

Please sign in to comment.