-
Notifications
You must be signed in to change notification settings - Fork 658
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(map_loader)!: prefix package and namespace with autoware (#8927
) * make lanelet2_map_visualization independent Signed-off-by: a-maumau <[email protected]> * remove unused files Signed-off-by: a-maumau <[email protected]> * remove unused package Signed-off-by: a-maumau <[email protected]> * fix package name Signed-off-by: a-maumau <[email protected]> * add autoware_ prefix Signed-off-by: a-maumau <[email protected]> * add autoware to exec name Signed-off-by: a-maumau <[email protected]> * add autoware prefix Signed-off-by: a-maumau <[email protected]> * removed unnecessary dependency Signed-off-by: a-maumau <[email protected]> --------- Signed-off-by: a-maumau <[email protected]>
- Loading branch information
Showing
50 changed files
with
215 additions
and
114 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
cmake_minimum_required(VERSION 3.14) | ||
project(autoware_lanelet2_map_visualizer) | ||
|
||
find_package(autoware_cmake REQUIRED) | ||
autoware_package() | ||
|
||
ament_auto_add_library(lanelet2_map_visualization_node SHARED | ||
src/lanelet2_map_visualization_node.cpp | ||
) | ||
|
||
rclcpp_components_register_node(lanelet2_map_visualization_node | ||
PLUGIN "autoware::lanelet2_map_visualizer::Lanelet2MapVisualizationNode" | ||
EXECUTABLE lanelet2_map_visualization | ||
) | ||
|
||
ament_auto_package(INSTALL_TO_SHARE | ||
launch | ||
) |
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,21 @@ | ||
# autoware_lanelet2_map_visualizer package | ||
|
||
This package provides the features of visualizing the lanelet2 maps. | ||
|
||
## lanelet2_map_visualization | ||
|
||
### Feature | ||
|
||
lanelet2_map_visualization visualizes autoware_map_msgs/LaneletMapBin messages into visualization_msgs/MarkerArray. | ||
|
||
### How to Run | ||
|
||
`ros2 run autoware_lanelet2_map_visualizer lanelet2_map_visualization` | ||
|
||
### Subscribed Topics | ||
|
||
- ~input/lanelet2_map (autoware_map_msgs/LaneletMapBin) : binary data of Lanelet2 Map | ||
|
||
### Published Topics | ||
|
||
- ~output/lanelet2_map_marker (visualization_msgs/MarkerArray) : visualization messages for RViz |
9 changes: 9 additions & 0 deletions
9
map/autoware_lanelet2_map_visualizer/launch/lanelet2_map_visualizer.launch.xml
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,9 @@ | ||
<launch> | ||
<arg name="lanelet2_map_topic" default="vector_map"/> | ||
<arg name="lanelet2_map_marker_topic" default="vector_map_marker"/> | ||
|
||
<node pkg="autoware_lanelet2_map_visualizer" exec="lanelet2_map_visualization" name="lanelet2_map_visualization" output="both"> | ||
<remap from="input/lanelet2_map" to="$(var lanelet2_map_topic)"/> | ||
<remap from="output/lanelet2_map_marker" to="$(var lanelet2_map_marker_topic)"/> | ||
</node> | ||
</launch> |
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,36 @@ | ||
<?xml version="1.0"?> | ||
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> | ||
<package format="3"> | ||
<name>autoware_lanelet2_map_visualizer</name> | ||
<version>0.1.0</version> | ||
<description>The autoware_lanelet2_map_visualizer package</description> | ||
<maintainer email="[email protected]">Yamato Ando</maintainer> | ||
<maintainer email="[email protected]">Ryu Yamamoto</maintainer> | ||
<maintainer email="[email protected]">Masahiro Sakamoto</maintainer> | ||
<maintainer email="[email protected]">Kento Yabuuchi</maintainer> | ||
<maintainer email="[email protected]">NGUYEN Viet Anh</maintainer> | ||
<maintainer email="[email protected]">Taiki Yamada</maintainer> | ||
<maintainer email="[email protected]">Shintaro Sakoda</maintainer> | ||
<maintainer email="[email protected]">Mamoru Sobue</maintainer> | ||
|
||
<license>Apache License 2.0</license> | ||
<author email="[email protected]">Ryohsuke Mitsudome</author> | ||
<author email="[email protected]">Koji Minoda</author> | ||
|
||
<buildtool_depend>ament_cmake_auto</buildtool_depend> | ||
<buildtool_depend>autoware_cmake</buildtool_depend> | ||
|
||
<depend>autoware_lanelet2_extension</depend> | ||
<depend>autoware_map_msgs</depend> | ||
<depend>rclcpp</depend> | ||
<depend>rclcpp_components</depend> | ||
<depend>tier4_map_msgs</depend> | ||
<depend>visualization_msgs</depend> | ||
|
||
<test_depend>ament_lint_auto</test_depend> | ||
<test_depend>autoware_lint_common</test_depend> | ||
|
||
<export> | ||
<build_type>ament_cmake</build_type> | ||
</export> | ||
</package> |
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
15 changes: 15 additions & 0 deletions
15
map/autoware_map_loader/launch/lanelet2_map_loader.launch.xml
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,15 @@ | ||
<launch> | ||
<arg name="lanelet2_map_loader_param_path" default="$(find-pkg-share autoware_map_loader)/config/lanelet2_map_loader.param.yaml"/> | ||
<arg name="lanelet2_map_path"/> | ||
<arg name="lanelet2_map_topic" default="vector_map"/> | ||
<arg name="lanelet2_map_marker_topic" default="vector_map_marker"/> | ||
|
||
<node pkg="autoware_map_loader" exec="map_hash_generator" name="map_hash_generator" output="both"> | ||
<param from="$(var lanelet2_map_loader_param_path)" allow_substs="true"/> | ||
</node> | ||
|
||
<node pkg="autoware_map_loader" exec="lanelet2_map_loader" name="lanelet2_map_loader" output="both"> | ||
<remap from="output/lanelet2_map" to="$(var lanelet2_map_topic)"/> | ||
<param from="$(var lanelet2_map_loader_param_path)" allow_substs="true"/> | ||
</node> | ||
</launch> |
4 changes: 2 additions & 2 deletions
4
...r/launch/pointcloud_map_loader.launch.xml → ...r/launch/pointcloud_map_loader.launch.xml
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
4 changes: 2 additions & 2 deletions
4
map/map_loader/package.xml → map/autoware_map_loader/package.xml
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<?xml version="1.0"?> | ||
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> | ||
<package format="3"> | ||
<name>map_loader</name> | ||
<name>autoware_map_loader</name> | ||
<version>0.38.0</version> | ||
<description>The map_loader package</description> | ||
<description>The autoware_map_loader package</description> | ||
<maintainer email="[email protected]">Yamato Ando</maintainer> | ||
<maintainer email="[email protected]">Ryu Yamamoto</maintainer> | ||
<maintainer email="[email protected]">Masahiro Sakamoto</maintainer> | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.