Skip to content

Commit

Permalink
Fix include order and relative paths for cpplint
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 committed Jan 7, 2022
1 parent b675cff commit a7a8106
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion image_tools/src/burger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <string>
#include <vector>

#include "./burger.hpp"
#include "burger.hpp"

#include "opencv2/core.hpp"
#include "opencv2/core/mat.hpp"
Expand Down
4 changes: 2 additions & 2 deletions intra_process_demo/src/image_pipeline/camera_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include <memory>

#include "image_pipeline/camera_node.hpp"

#include <rclcpp/rclcpp.hpp>

#include <memory>

int main(int argc, char ** argv)
{
rclcpp::init(argc, argv);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include <rclcpp/rclcpp.hpp>

#include <memory>

#include <rclcpp/rclcpp.hpp>

#include "image_pipeline/camera_node.hpp"
#include "image_pipeline/image_view_node.hpp"
#include "image_pipeline/watermark_node.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include <rclcpp/rclcpp.hpp>

#include <memory>

#include <rclcpp/rclcpp.hpp>

#include "image_pipeline/camera_node.hpp"
#include "image_pipeline/image_view_node.hpp"
#include "image_pipeline/watermark_node.hpp"
Expand Down
4 changes: 2 additions & 2 deletions intra_process_demo/src/image_pipeline/image_view_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include <memory>

#include "image_pipeline/image_view_node.hpp"

#include <rclcpp/rclcpp.hpp>

#include <memory>

int main(int argc, char ** argv)
{
rclcpp::init(argc, argv);
Expand Down
4 changes: 2 additions & 2 deletions intra_process_demo/src/image_pipeline/watermark_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include <memory>

#include "image_pipeline/watermark_node.hpp"

#include <rclcpp/rclcpp.hpp>

#include <memory>

int main(int argc, char ** argv)
{
rclcpp::init(argc, argv);
Expand Down
10 changes: 5 additions & 5 deletions pendulum_control/src/pendulum_demo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@

#include <unistd.h>

#include <rttest/rttest.h>
#include <chrono>
#include <cstdio>
#include <memory>

#include "rttest/rttest.h"

#include <rclcpp/rclcpp.hpp>
#include <rclcpp/strategies/message_pool_memory_strategy.hpp>
Expand All @@ -26,10 +30,6 @@
#include <pendulum_msgs/msg/joint_state.hpp>
#include <pendulum_msgs/msg/rttest_results.hpp>

#include <chrono>
#include <cstdio>
#include <memory>

#include "pendulum_control/pendulum_controller.hpp"
#include "pendulum_control/pendulum_motor.hpp"
#include "pendulum_control/rtt_executor.hpp"
Expand Down
2 changes: 1 addition & 1 deletion quality_of_service_demo/rclcpp/src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <iostream>
#include <cctype>

#include "./utils.hpp"
#include "utils.hpp"

double
rmw_time_to_seconds(const rmw_time_t & time)
Expand Down

0 comments on commit a7a8106

Please sign in to comment.