15 from pathlib
import Path
17 from ament_index_python.packages
import get_package_share_directory
19 from launch
import LaunchDescription
20 from launch.actions
import GroupAction
21 from launch_ros.actions
import Node
25 example_dir = Path(get_package_share_directory(
'beluga_example'))
27 load_nodes = GroupAction(
30 package=
'flatland_server',
31 executable=
'flatland_server',
36 example_dir /
'worlds' /
'turtlebot3_world.yaml'
39 {
'update_rate': 200.0},
42 {
'viz_pub_rate': 30.0},
43 {
'use_sim_time':
True},
45 remappings=[(
'/turtlebot/scan',
'/scan')],
50 return LaunchDescription([load_nodes])