Skip to content

Commit

Permalink
fix(detected_object_validation): use namespaces to avoid concflicts
Browse files Browse the repository at this point in the history
Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>
  • Loading branch information
esteve committed Dec 12, 2023
1 parent 516e119 commit 967cb97
Show file tree
Hide file tree
Showing 6 changed files with 55 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@

#include <string>

namespace autoware
{
namespace perception
{
namespace detected_object_validation
{
namespace object_lanelet_filter
{
using tier4_autoware_utils::LinearRing2d;
Expand Down Expand Up @@ -68,5 +74,8 @@ class ObjectLaneletFilterNode : public rclcpp::Node
};

} // namespace object_lanelet_filter
} // namespace detected_object_validation
} // namespace perception
} // namespace autoware

#endif // DETECTED_OBJECT_VALIDATION__DETECTED_OBJECT_FILTER__OBJECT_LANELET_FILTER_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@

#include <string>

namespace autoware
{
namespace perception
{
namespace detected_object_validation
{
namespace object_position_filter
{

Expand All @@ -54,5 +60,8 @@ class ObjectPositionFilterNode : public rclcpp::Node
};

} // namespace object_position_filter
} // namespace detected_object_validation
} // namespace perception
} // namespace autoware

#endif // DETECTED_OBJECT_VALIDATION__DETECTED_OBJECT_FILTER__OBJECT_POSITION_FILTER_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@
#include <memory>
#include <vector>

namespace autoware
{
namespace perception
{
namespace detected_object_validation
{
namespace obstacle_pointcloud_based_validator
{
class Debugger
Expand Down Expand Up @@ -112,5 +118,8 @@ class Debugger
}
};
} // namespace obstacle_pointcloud_based_validator
} // namespace detected_object_validation
} // namespace perception
} // namespace autoware

#endif // DETECTED_OBJECT_VALIDATION__OBSTACLE_POINTCLOUD_BASED_VALIDATOR__DEBUGGER_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@
#include <memory>
#include <optional>
#include <vector>

namespace autoware
{
namespace perception
{
namespace detected_object_validation
{
namespace obstacle_pointcloud_based_validator
{

Expand Down Expand Up @@ -151,5 +158,8 @@ class ObstaclePointCloudBasedValidator : public rclcpp::Node
const sensor_msgs::msg::PointCloud2::ConstSharedPtr & input_obstacle_pointcloud);
};
} // namespace obstacle_pointcloud_based_validator
} // namespace detected_object_validation
} // namespace perception
} // namespace autoware

#endif // DETECTED_OBJECT_VALIDATION__OBSTACLE_POINTCLOUD_BASED_VALIDATOR__OBSTACLE_POINTCLOUD_BASED_VALIDATOR_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@
#include <tf2_ros/buffer.h>
#include <tf2_ros/transform_listener.h>

namespace autoware
{
namespace perception
{
namespace detected_object_validation
{
namespace occupancy_grid_based_validator
{
class OccupancyGridBasedValidator : public rclcpp::Node
Expand Down Expand Up @@ -67,5 +73,8 @@ class OccupancyGridBasedValidator : public rclcpp::Node
const autoware_auto_perception_msgs::msg::DetectedObjects & objects, const cv::Mat & occ_grid);
};
} // namespace occupancy_grid_based_validator
} // namespace detected_object_validation
} // namespace perception
} // namespace autoware

#endif // DETECTED_OBJECT_VALIDATION__OCCUPANCY_GRID_BASED_VALIDATOR__OCCUPANCY_GRID_BASED_VALIDATOR_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@

#include <cstdint>

namespace autoware
{
namespace perception
{
namespace detected_object_validation
{
namespace utils
{
struct FilterTargetLabel
Expand All @@ -32,5 +38,8 @@ struct FilterTargetLabel
bool isTarget(const uint8_t label) const;
}; // struct FilterTargetLabel
} // namespace utils
} // namespace detected_object_validation
} // namespace perception
} // namespace autoware

#endif // DETECTED_OBJECT_VALIDATION__UTILS__UTILS_HPP_

0 comments on commit 967cb97

Please sign in to comment.