Skip to content

Commit

Permalink
Merge pull request #724 from tier4/sync-upstream
Browse files Browse the repository at this point in the history
chore: sync upstream
  • Loading branch information
tier4-autoware-public-bot[bot] authored Aug 14, 2023
2 parents 8c0d38a + e0e9fcf commit 696b646
Show file tree
Hide file tree
Showing 59 changed files with 1,568 additions and 636 deletions.
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ launch/tier4_sensing_launch/** [email protected]
launch/tier4_simulator_launch/** [email protected] [email protected] [email protected] [email protected] [email protected]
launch/tier4_system_launch/** [email protected] [email protected]
launch/tier4_vehicle_launch/** [email protected]
localization/ar_tag_based_localizer/** [email protected] [email protected]
localization/ekf_localizer/** [email protected] [email protected] [email protected] [email protected] [email protected]
localization/gyro_odometer/** [email protected] [email protected]
localization/initial_pose_button_panel/** [email protected] [email protected]
Expand All @@ -95,6 +96,7 @@ localization/yabloc/yabloc_particle_filter/** [email protected] masahiro
localization/yabloc/yabloc_pose_initializer/** [email protected] [email protected]
map/map_height_fitter/** [email protected] [email protected] [email protected]
map/map_loader/** [email protected] [email protected] [email protected] [email protected]
map/map_projection_loader/** [email protected] [email protected] [email protected]
map/map_tf_generator/** [email protected]
map/util/lanelet2_map_preprocessor/** [email protected]
perception/bytetrack/** [email protected]
Expand Down
29 changes: 28 additions & 1 deletion launch/tier4_map_launch/launch/map.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,18 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import os

from ament_index_python import get_package_share_directory
import launch
from launch.actions import DeclareLaunchArgument
from launch.actions import GroupAction
from launch.actions import IncludeLaunchDescription
from launch.actions import OpaqueFunction
from launch.actions import SetLaunchConfiguration
from launch.conditions import IfCondition
from launch.conditions import UnlessCondition
from launch.launch_description_sources import AnyLaunchDescriptionSource
from launch.substitutions import LaunchConfiguration
from launch_ros.actions import ComposableNodeContainer
from launch_ros.actions import Node
Expand Down Expand Up @@ -57,7 +62,10 @@ def launch_setup(context, *args, **kwargs):
package="map_loader",
plugin="Lanelet2MapLoaderNode",
name="lanelet2_map_loader",
remappings=[("output/lanelet2_map", "vector_map")],
remappings=[
("output/lanelet2_map", "vector_map"),
("input/map_projector_info", "map_projector_type"),
],
parameters=[
{
"lanelet2_map_path": LaunchConfiguration("lanelet2_map_path"),
Expand Down Expand Up @@ -110,6 +118,19 @@ def launch_setup(context, *args, **kwargs):
extra_arguments=[{"use_intra_process_comms": LaunchConfiguration("use_intra_process")}],
)

map_projection_loader_launch_file = os.path.join(
get_package_share_directory("map_projection_loader"),
"launch",
"map_projection_loader.launch.xml",
)
map_projection_loader = IncludeLaunchDescription(
AnyLaunchDescriptionSource(map_projection_loader_launch_file),
launch_arguments={
"map_projector_info_path": LaunchConfiguration("map_projector_info_path"),
"lanelet2_map_path": LaunchConfiguration("lanelet2_map_path"),
}.items(),
)

container = ComposableNodeContainer(
name="map_container",
namespace="",
Expand All @@ -129,6 +150,7 @@ def launch_setup(context, *args, **kwargs):
PushRosNamespace("map"),
container,
map_hash_generator,
map_projection_loader,
]
)

Expand Down Expand Up @@ -159,6 +181,11 @@ def add_launch_arg(name: str, default_value=None, description=None):
[LaunchConfiguration("map_path"), "/pointcloud_map_metadata.yaml"],
"path to pointcloud map metadata file",
),
add_launch_arg(
"map_projector_info_path",
[LaunchConfiguration("map_path"), "/map_projector_info.yaml"],
"path to map projector info yaml file",
),
add_launch_arg(
"lanelet2_map_loader_param_path",
[
Expand Down
1 change: 1 addition & 0 deletions launch/tier4_map_launch/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<buildtool_depend>autoware_cmake</buildtool_depend>

<exec_depend>map_loader</exec_depend>
<exec_depend>map_projection_loader</exec_depend>
<exec_depend>map_tf_generator</exec_depend>

<test_depend>ament_lint_auto</test_depend>
Expand Down
24 changes: 0 additions & 24 deletions localization/initial_pose_button_panel/CMakeLists.txt

This file was deleted.

18 changes: 0 additions & 18 deletions localization/initial_pose_button_panel/README.md

This file was deleted.

Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 696b646

Please sign in to comment.