Skip to content

Commit d7bdc91

Browse files
committed
Revert "Config: I added the config and updated the phnx_io_ros.launch.py to work with the config, vefified build and run in robot"
This reverts commit 06fe882.
1 parent 6379794 commit d7bdc91

2 files changed

Lines changed: 12 additions & 18 deletions

File tree

‎phoenix_robot/config/phoenix_io_ros/phoenix_io_ros.yaml‎

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
11
import os
2+
23
from ament_index_python.packages import get_package_share_directory
4+
35
from launch import LaunchDescription
46
from launch.actions import DeclareLaunchArgument
57
from launch.substitutions import LaunchConfiguration
8+
69
from launch_ros.actions import Node
710

811
def generate_launch_description():
9-
# This just tells the script where your new folder is
10-
config = os.path.join(
11-
get_package_share_directory('phoenix_robot'),
12-
'config', 'phoenix_io_ros', 'phoenix_io_ros.yaml'
13-
)
12+
13+
pir = Node(package='phnx_io_ros',
14+
executable='phnx_io_ros',
15+
parameters=[{
16+
}]
17+
)
1418

1519
return LaunchDescription([
16-
Node(
17-
package='phnx_io_ros',
18-
executable='phnx_io_ros',
19-
name='phnx_io_ros',
20-
parameters=[config],
21-
output='screen'
22-
)
23-
])
20+
# Launch Arguments
21+
pir
22+
])

0 commit comments

Comments
 (0)