-
Notifications
You must be signed in to change notification settings - Fork 665
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(behavior_velocity_planner): make debug.cpp (#1773)
* feat(behavior_velocity_planner): make debug.cpp Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * fix Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * Update planning/behavior_velocity_planner/src/scene_module/blind_spot/debug.cpp Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com> Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com>
- Loading branch information
1 parent
e5a1551
commit 34bf3ba
Showing
12 changed files
with
299 additions
and
396 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
planning/behavior_velocity_planner/include/utilization/debug.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
// Copyright 2020 Tier IV, Inc. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
#ifndef UTILIZATION__DEBUG_HPP_ | ||
#define UTILIZATION__DEBUG_HPP_ | ||
|
||
#include <utilization/util.hpp> | ||
|
||
#include <visualization_msgs/msg/marker_array.hpp> | ||
|
||
#include <string> | ||
#include <vector> | ||
|
||
namespace behavior_velocity_planner | ||
{ | ||
namespace debug | ||
{ | ||
visualization_msgs::msg::MarkerArray createPolygonMarkerArray( | ||
const geometry_msgs::msg::Polygon & polygon, const std::string & ns, const int64_t module_id, | ||
const rclcpp::Time & now, const double x, const double y, const double z, const double r, | ||
const double g, const double b); | ||
visualization_msgs::msg::MarkerArray createPathMarkerArray( | ||
const autoware_auto_planning_msgs::msg::PathWithLaneId & path, const std::string & ns, | ||
const int64_t lane_id, const rclcpp::Time & now, const double x, const double y, const double z, | ||
const double r, const double g, const double b); | ||
visualization_msgs::msg::MarkerArray createObjectsMarkerArray( | ||
const autoware_auto_perception_msgs::msg::PredictedObjects & objects, const std::string & ns, | ||
const int64_t module_id, const rclcpp::Time & now, const double r, const double g, | ||
const double b); | ||
visualization_msgs::msg::MarkerArray createPointsMarkerArray( | ||
const std::vector<geometry_msgs::msg::Point> & points, const std::string & ns, | ||
const int64_t module_id, const rclcpp::Time & now, const double x, const double y, const double z, | ||
const double r, const double g, const double b); | ||
} // namespace debug | ||
} // namespace behavior_velocity_planner | ||
#endif // UTILIZATION__DEBUG_HPP_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.