Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cpplint): include what you use - control #9565

Merged
merged 1 commit into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions control/autoware_autonomous_emergency_braking/src/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,13 @@
#include <pcl/segmentation/extract_clusters.h>
#include <tf2/utils.h>

#include <algorithm>
#include <cmath>
#include <functional>
#include <limits>
#include <memory>
#include <optional>
#include <string>
#include <vector>
#ifdef ROS_DISTRO_GALACTIC
#include <tf2_eigen/tf2_eigen.h>
Expand Down
2 changes: 2 additions & 0 deletions control/autoware_autonomous_emergency_braking/src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#include <autoware/universe_utils/geometry/geometry.hpp>

#include <optional>
#include <string>
#include <vector>

namespace autoware::motion::control::autonomous_emergency_braking::utils
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include <limits>
#include <memory>
#include <thread>
#include <vector>

namespace autoware::motion::control::autonomous_emergency_braking::test
{
Expand Down
6 changes: 6 additions & 0 deletions control/autoware_collision_detector/src/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@
#include <pcl/point_cloud.h>
#include <pcl_conversions/pcl_conversions.h>

#include <limits>
#include <memory>
#include <string>
#include <utility>
#include <vector>

#define EIGEN_MPL2_ONLY
#include <Eigen/Core>
#include <Eigen/Geometry>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <cstdint>
#include <memory>
#include <string>
#include <utility>

namespace autoware::control_validator
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <gtest/gtest.h>
#include <tf2/LinearMath/Quaternion.h>

#include <memory>
#include <tuple>

using autoware_planning_msgs::msg::Trajectory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include <tf2/utils.h>

#include <algorithm>
#include <string>
#include <vector>

using autoware::universe_utils::LinearRing2d;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

#include <boost/geometry.hpp>

#include <vector>

namespace
{
struct FootprintMargin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@

#include <gtest/gtest.h>

#include <string>
#include <vector>

using autoware_planning_msgs::msg::Trajectory;
using autoware_planning_msgs::msg::TrajectoryPoint;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@

#include <gtest/gtest.h>

#include <string>
#include <vector>

using autoware::universe_utils::PoseDeviation;
using autoware_planning_msgs::msg::Trajectory;
using autoware_planning_msgs::msg::TrajectoryPoint;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@

#include <gtest/gtest.h>

#include <string>
#include <vector>

using autoware::universe_utils::LinearRing2d;
using autoware_planning_msgs::msg::TrajectoryPoint;
using geometry_msgs::msg::PoseWithCovariance;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@

#include <gtest/gtest.h>

#include <string>
#include <vector>

using autoware_planning_msgs::msg::Trajectory;
using autoware_planning_msgs::msg::TrajectoryPoint;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

#include "autoware/mpc_lateral_controller/lowpass_filter.hpp"

#include <algorithm>
#include <vector>

namespace autoware::motion::control::mpc_lateral_controller
Expand Down
4 changes: 4 additions & 0 deletions control/autoware_mpc_lateral_controller/src/mpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@
#include <fmt/format.h>

#include <algorithm>
#include <iostream>
#include <limits>
#include <string>
#include <utility>
#include <vector>

namespace autoware::motion::control::mpc_lateral_controller
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

#include "autoware/mpc_lateral_controller/mpc_trajectory.hpp"

#include <iostream>

namespace autoware::motion::control::mpc_lateral_controller
{
void MPCTrajectory::push_back(
Expand Down
2 changes: 2 additions & 0 deletions control/autoware_mpc_lateral_controller/src/mpc_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@
#include "autoware/universe_utils/math/normalization.hpp"

#include <algorithm>
#include <iostream>
#include <limits>
#include <string>
#include <utility>
#include <vector>

namespace autoware::motion::control::mpc_lateral_controller
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@

#include <limits>
#include <memory>
#include <vector>

namespace
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

#include "data.hpp"

#include <string>

namespace autoware::operation_mode_transition_manager
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

#include <autoware/component_interface_utils/rclcpp/exceptions.hpp>

#include <memory>

namespace autoware::operation_mode_transition_manager
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

#include <algorithm>
#include <cmath>
#include <memory>
#include <utility>

namespace autoware::operation_mode_transition_manager
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

#include <experimental/optional> // NOLINT

#include <utility>

#ifdef ROS_DISTRO_GALACTIC
#include "tf2_geometry_msgs/tf2_geometry_msgs.h"
#else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
#include <algorithm>
#include <memory>
#include <utility>
#include <vector>

namespace
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
#include "autoware/pure_pursuit/util/interpolate.hpp"

#include <algorithm>
#include <cstdio>
#include <iostream>
#include <vector>

namespace autoware::pure_pursuit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
#include <pybind11/eigen.h>
#include <pybind11/pybind11.h>

#include <algorithm>
#include <iostream>
#include <vector>
namespace py = pybind11;

Eigen::VectorXd tanh(const Eigen::VectorXd & v)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include "geometry_msgs/msg/transform_stamped.hpp"
#include "nav_msgs/msg/odometry.hpp"

#include <iostream>
#include <memory>
#include <vector>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

#include <algorithm>
#include <cmath>
#include <iostream>

namespace autoware::vehicle_cmd_gate
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@

#include <gtest/gtest.h>

#include <algorithm>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <memory>
#include <string>
#include <vector>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <limits>
#include <memory>
#include <optional>
#include <string>
#include <utility>
#include <vector>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <autoware/universe_utils/ros/marker_helper.hpp>
#include <rclcpp/logging.hpp>

#include <limits>
#include <memory>
#include <utility>
#include <vector>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#include <boost/geometry/algorithms/convex_hull.hpp>
#include <boost/geometry/strategies/agnostic/hull_graham_andrew.hpp>

#include <utility>

namespace utils
{

Expand Down
Loading