Commit a94ddec1 authored by levi's avatar levi
Browse files

more launch

parent dda64c40
......@@ -8,8 +8,8 @@ rmq_subscriber:
rmq_publisher_docker:
ros__parameters:
server_hostname: "rmq-srv" #containername
server_hostname: "127.0.0.1" #containername
rmq_subscriber_docker:
ros__parameters:
server_hostname: "rmq-srv" #containername
\ No newline at end of file
server_hostname: "127.0.0.1" #containername
\ No newline at end of file
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'
),
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