Commit dda64c40 authored by levi's avatar levi
Browse files

launch files

parent 07b88e19
......@@ -12,5 +12,13 @@ def generate_launch_description():
executable='rmq_publisher',
name='rmq_publisher', # name in ros network
output='screen'
),
launch_ros.actions.Node(
parameters=[get_package_share_directory(
"rmq_bridge") + '/config/default.yml'],
package='rmq_bridge',
executable='rmq_subscriber',
name='rmq_subscriber', # name in ros network
output='screen'
)
])
from launch import LaunchDescription
import launch_ros.actions
from ament_index_python.packages import get_package_share_directory
def generate_launch_description():
return LaunchDescription([
launch_ros.actions.Node(
parameters=[get_package_share_directory(
"rmq_bridge") + '/config/default.yml'],
package='rmq_bridge',
executable='rmq_publisher',
name='rmq_publisher_docker', # name in ros network
output='screen'
)
])
from launch import LaunchDescription
import launch_ros.actions
from ament_index_python.packages import get_package_share_directory
def generate_launch_description():
return LaunchDescription([
launch_ros.actions.Node(
parameters=[get_package_share_directory(
"rmq_bridge") + '/config/default.yml'],
package='rmq_bridge',
executable='rmq_subscriber',
name='rmq_subscriber_docker', # name in ros network
output='screen'
)
])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment