Skip to content

Commit

Permalink
include what you use
Browse files Browse the repository at this point in the history
Signed-off-by: M. Fatih Cırıt <[email protected]>
  • Loading branch information
xmfcx committed Dec 17, 2024
1 parent 2bdc0b3 commit fbfface
Show file tree
Hide file tree
Showing 47 changed files with 116 additions and 0 deletions.
4 changes: 4 additions & 0 deletions common/rtc_manager_rviz_plugin/src/rtc_manager_panel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@

#include <unique_identifier_msgs/msg/uuid.hpp>

#include <algorithm>
#include <memory>
#include <string>

namespace rviz_plugins
{
inline std::string Bool2String(const bool var)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@

#include <autoware/universe_utils/ros/marker_helper.hpp>

#include <string>
#include <utility>

namespace rviz_plugins
{
AutowareAutomaticGoalPanel::AutowareAutomaticGoalPanel(QWidget * parent)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
// limitations under the License.
#include "automatic_goal_sender.hpp"

#include <cstdio>
#include <memory>
#include <string>
#include <utility>

namespace automatic_goal
{
AutowareAutomaticGoalSender::AutowareAutomaticGoalSender() : Node("automatic_goal_sender")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@
#include <rviz_common/uniform_string_stream.hpp>
#include <tier4_debug_rviz_plugin/float32_multi_array_stamped_pie_chart.hpp>

#include <algorithm>
#include <string>

namespace rviz_plugins
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@
#include <rviz_common/display_context.hpp>
#include <tier4_logging_level_configure_rviz_plugin/logging_level_configure.hpp>

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

namespace rviz_plugin
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@
#include <rclcpp/rclcpp.hpp>

#include <ctime>
#include <deque>
#include <filesystem>
#include <iostream>
#include <string>

namespace rviz_plugins
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
#include <rclcpp/parameter_client.hpp>
#include <rclcpp/rclcpp.hpp>

#include <memory>
#include <string>

TargetObjectTypePanel::TargetObjectTypePanel(QWidget * parent) : rviz_common::Panel(parent)
{
node_ = std::make_shared<rclcpp::Node>("matrix_display_node");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@

#include <autoware_adapi_v1_msgs/msg/operation_mode_state.hpp>

#include <memory>

using std::placeholders::_1;

namespace rviz_plugins
Expand Down
3 changes: 3 additions & 0 deletions driving_environment_analyzer/src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@

#include <lanelet2_routing/RoutingGraphContainer.h>

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

namespace driving_environment_analyzer::utils
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@
#include <X11/Xlib.h>

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

namespace rviz_plugins
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@
#include <rclcpp/serialization.hpp>
#include <rosbag2_cpp/readers/sequential_reader.hpp>

#include <algorithm>
#include <iostream>
#include <map>
#include <memory>
#include <string>
#include <vector>

int main(int argc, char ** argv)
{
if (argc != 2) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#include "autoware/universe_utils/geometry/geometry.hpp"
#include "deviation_estimator/utils.hpp"

#include <vector>

/**
* @brief update gyroscope bias based on a given trajectory data
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
#include "deviation_estimator/logger.hpp"

#include <cmath>
#include <string>
#include <vector>

/**
* @brief constructor for Logger class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@

#include "deviation_estimator/validation_module.hpp"

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

/**
* @brief ValidationModule validates if estimated parameters are properly converged, given a
* predefined threshold in this constructor arguments
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <gtest/gtest.h>

#include <random>
#include <vector>

TEST(DeviationEstimatorGyroBias, SmokeTestDefault)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <lanelet2_routing/RoutingGraph.h>

#include <iostream>
#include <string>
#include <unordered_set>
#include <vector>

Expand Down
2 changes: 2 additions & 0 deletions map/autoware_lanelet2_map_utils/src/fix_z_value_by_pcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
#include <pcl/point_types.h>

#include <iostream>
#include <limits>
#include <string>
#include <unordered_set>
#include <vector>

Expand Down
1 change: 1 addition & 0 deletions map/autoware_lanelet2_map_utils/src/merge_close_lines.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <lanelet2_io/Io.h>

#include <iostream>
#include <string>
#include <unordered_set>
#include <vector>

Expand Down
1 change: 1 addition & 0 deletions map/autoware_lanelet2_map_utils/src/merge_close_points.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <lanelet2_io/Io.h>

#include <iostream>
#include <string>
#include <unordered_set>
#include <vector>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <lanelet2_io/Io.h>

#include <iostream>
#include <string>
#include <unordered_set>
#include <vector>

Expand Down
1 change: 1 addition & 0 deletions map/autoware_lanelet2_map_utils/src/transform_maps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <pcl/point_types.h>

#include <iostream>
#include <string>
#include <unordered_set>
#include <vector>

Expand Down
3 changes: 3 additions & 0 deletions map/autoware_lanelet2_map_validator/src/common/cli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@

#include "lanelet2_map_validator/cli.hpp"

#include <iostream>
#include <string>

namespace po = boost::program_options;

namespace lanelet::autoware::validation
Expand Down
5 changes: 5 additions & 0 deletions map/autoware_lanelet2_map_validator/src/common/map_loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
#include <autoware_lanelet2_extension/projection/mgrs_projector.hpp>
#include <autoware_lanelet2_extension/projection/transverse_mercator_projector.hpp>

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

namespace lanelet::autoware::validation
{

Expand Down
2 changes: 2 additions & 0 deletions map/autoware_lanelet2_map_validator/src/common/validation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@
#include <algorithm>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <regex>
#include <string>
#include <tuple>
#include <unordered_map>
#include <utility>
#include <vector>

// ANSI color codes for console output
#define BOLD_ONLY "\033[1m"
Expand Down
1 change: 1 addition & 0 deletions map/autoware_lanelet2_map_validator/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <filesystem>
#include <fstream>
#include <iomanip>
#include <iostream>

int main(int argc, char * argv[])
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <lanelet2_core/primitives/Polygon.h>

#include <limits>
#include <string>

namespace lanelet::autoware::validation
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <lanelet2_core/primitives/Polygon.h>

#include <limits>
#include <string>

namespace lanelet::autoware::validation
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
#include <lanelet2_core/LaneletMap.h>
#include <lanelet2_validation/Validation.h>

#include <vector>

namespace lanelet::autoware::validation
{
namespace
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#include <gtest/gtest.h>
#include <lanelet2_core/LaneletMap.h>

#include <string>

class TestIntersectionAreaSegmentType : public MapValidationTester
{
private:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#include <gtest/gtest.h>
#include <lanelet2_core/LaneletMap.h>

#include <string>

class TestIntersectionAreaValidity : public MapValidationTester
{
private:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#include <gtest/gtest.h>
#include <lanelet2_core/LaneletMap.h>

#include <string>

class TestMissingReferrersForTrafficLights : public MapValidationTester
{
private:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#include <gtest/gtest.h>
#include <lanelet2_core/LaneletMap.h>

#include <string>

class TestMissingRegulatoryElementsForCrosswalks : public MapValidationTester
{
private:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#include <gtest/gtest.h>
#include <lanelet2_core/LaneletMap.h>

#include <string>

class TestMissingRegulatoryElementsForStopLines : public MapValidationTester
{
private:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#include <gtest/gtest.h>
#include <lanelet2_core/LaneletMap.h>

#include <string>

class TestMissingRegulatoryElementsForTrafficLights : public MapValidationTester
{
private:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#include <gtest/gtest.h>
#include <lanelet2_core/LaneletMap.h>

#include <string>

class TestRegulatoryElementsDetailsForCrosswalks : public MapValidationTester
{
private:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#include <gtest/gtest.h>
#include <lanelet2_core/LaneletMap.h>

#include <string>

class TestRegulatoryElementDetailsForTrafficLights : public MapValidationTester
{
private:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include <lanelet2_core/LaneletMap.h>

#include <set>
#include <string>

class TestTrafficLightFacing : public MapValidationTester
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

#include <pcl/point_types.h>

#include <cstdio>
#include <cstdlib>
#include <filesystem>
#include <fstream>
Expand Down
4 changes: 4 additions & 0 deletions map/autoware_pointcloud_divider/src/pcd_divider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@
#include <pcl/filters/voxel_grid.h>

#include <filesystem>
#include <list>
#include <memory>
#include <string>
#include <utility>
#include <vector>

namespace fs = std::filesystem;

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

#include <pcl/point_types.h>

#include <string>

namespace autoware::pointcloud_divider
{

Expand Down
Loading

0 comments on commit fbfface

Please sign in to comment.