Skip to content

Commit

Permalink
BLACK
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrhm committed Sep 15, 2024
1 parent 6241883 commit 4a37c44
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 22 deletions.
17 changes: 4 additions & 13 deletions launch/object_detector.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,20 @@
from launch_ros.descriptions import ComposableNode
from launch.conditions import LaunchConfigurationEquals


def generate_launch_description():

zed_node = Node(
package="mrover",
executable="zed",
name="zed_wrapper",
parameters=[
os.path.join(
get_package_share_directory("mrover"),"config","zed.yaml")
]
parameters=[os.path.join(get_package_share_directory("mrover"), "config", "zed.yaml")],
)

object_detector_node = Node(
package="mrover",
executable="object_detector",
name="object_detector",
parameters=[
os.path.join(
get_package_share_directory("mrover"),"config","object_detector.yaml")
]
parameters=[os.path.join(get_package_share_directory("mrover"), "config", "object_detector.yaml")],
)

return LaunchDescription([
zed_node,
object_detector_node
])
return LaunchDescription([zed_node, object_detector_node])
12 changes: 3 additions & 9 deletions launch/zed.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,13 @@
from launch_ros.descriptions import ComposableNode
from launch.conditions import LaunchConfigurationEquals


def generate_launch_description():

zed_node = Node(
package="mrover",
executable="zed",
name="zed_wrapper",
parameters=[
os.path.join(
get_package_share_directory("mrover"),"config","zed.yaml")
]
parameters=[os.path.join(get_package_share_directory("mrover"), "config", "zed.yaml")],
)


return LaunchDescription([
zed_node
])
return LaunchDescription([zed_node])

0 comments on commit 4a37c44

Please sign in to comment.