init
This commit is contained in:
17
protocol_ws/cpp_prococol/launch/cpp_protocol.launch.py
Normal file
17
protocol_ws/cpp_prococol/launch/cpp_protocol.launch.py
Normal file
@@ -0,0 +1,17 @@
|
||||
from launch import LaunchDescription
|
||||
from launch_ros.actions import Node
|
||||
|
||||
def generate_launch_description():
|
||||
return LaunchDescription([
|
||||
Node(
|
||||
package='cpp_prococol',
|
||||
executable='cpp_pub_node', # 可执行文件名称
|
||||
output='screen'
|
||||
),
|
||||
|
||||
Node(
|
||||
package='cpp_prococol',
|
||||
executable='cpp_sub_node', # 可执行文件名称
|
||||
output='screen'
|
||||
)
|
||||
])
|
||||
Reference in New Issue
Block a user