-
Notifications
You must be signed in to change notification settings - Fork 650
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(behavior_path_planner): lane change revised visualization (#1140)
Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> change force lane change path color Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> visualize ego polygon with respect to object using same color Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Add valid path's visualization Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix conflicts Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
- Loading branch information
1 parent
a47dad1
commit 74e28ed
Showing
15 changed files
with
493 additions
and
24 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
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
43 changes: 43 additions & 0 deletions
43
...ng/behavior_path_planner/include/behavior_path_planner/scene_module/lane_change/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,43 @@ | ||
// Copyright 2022 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 BEHAVIOR_PATH_PLANNER__SCENE_MODULE__LANE_CHANGE__DEBUG_HPP_ | ||
#define BEHAVIOR_PATH_PLANNER__SCENE_MODULE__LANE_CHANGE__DEBUG_HPP_ | ||
|
||
#include "behavior_path_planner/debug_utilities.hpp" | ||
#include "behavior_path_planner/scene_module/lane_change/lane_change_path.hpp" | ||
|
||
#include <string> | ||
#include <unordered_map> | ||
#include <vector> | ||
|
||
namespace marker_utils::lane_change_markers | ||
{ | ||
using behavior_path_planner::LaneChangePath; | ||
using marker_utils::CollisionCheckDebug; | ||
using visualization_msgs::msg::MarkerArray; | ||
MarkerArray showObjectInfo( | ||
const std::unordered_map<std::string, CollisionCheckDebug> & obj_debug_vec, std::string && ns); | ||
MarkerArray showAllValidLaneChangePath( | ||
const std::vector<LaneChangePath> & lanes, std::string && ns); | ||
MarkerArray showLerpedPose( | ||
const std::unordered_map<std::string, CollisionCheckDebug> & obj_debug_vec, std::string && ns); | ||
MarkerArray showEgoPredictedPaths( | ||
const std::unordered_map<std::string, CollisionCheckDebug> & obj_debug_vec, std::string && ns); | ||
MarkerArray showPolygon( | ||
const std::unordered_map<std::string, CollisionCheckDebug> & obj_debug_vec, std::string && ns); | ||
MarkerArray showPolygonPose( | ||
const std::unordered_map<std::string, CollisionCheckDebug> & obj_debug_vec, std::string && ns); | ||
} // namespace marker_utils::lane_change_markers | ||
#endif // BEHAVIOR_PATH_PLANNER__SCENE_MODULE__LANE_CHANGE__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
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.