Skip to content

Commit

Permalink
removed ardusub_manager deps
Browse files Browse the repository at this point in the history
  • Loading branch information
rakeshv24 committed Oct 11, 2024
1 parent 055dd6e commit 870a1de
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 85 deletions.
4 changes: 0 additions & 4 deletions extras/repos/dave.jazzy.repos
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,3 @@ repositories:
url: https://github.com/IOES-Lab/dave.git
version: ros2

ardusub_driver:
type: git
url: https://github.com/Robotic-Decision-Making-Lab/ardusub_driver.git
version: main
7 changes: 0 additions & 7 deletions models/dave_robot_models/config/ardusub/ardusub_manager.yaml

This file was deleted.

38 changes: 1 addition & 37 deletions models/dave_robot_models/config/bluerov2/robot_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@
DeclareLaunchArgument,
OpaqueFunction,
ExecuteProcess,
IncludeLaunchDescription,
)
from launch.substitutions import LaunchConfiguration, PathJoinSubstitution
from launch_ros.actions import Node
from launch_ros.substitutions import FindPackageShare
from launch.launch_description_sources import PythonLaunchDescriptionSource


def launch_setup(context, *args, **kwargs):
Expand Down Expand Up @@ -66,28 +64,6 @@ def launch_setup(context, *args, **kwargs):

processes = [ardusub_process]

# ardusub_manager_file = LaunchConfiguration("ardusub_manager_file")

# # Include the ardusub_manager launch file
# ardusub_manager = IncludeLaunchDescription(
# PythonLaunchDescriptionSource(
# [
# PathJoinSubstitution(
# [
# FindPackageShare("ardusub_manager"),
# "launch",
# "ardusub_manager.launch.py",
# ]
# )
# ]
# ),
# launch_arguments={
# "ardusub_manager_file": ardusub_manager_file,
# }.items(),
# )

# includes = [ardusub_manager]

return nodes + processes


Expand All @@ -101,7 +77,7 @@ def generate_launch_description():
DeclareLaunchArgument(
"mavros_file",
default_value=PathJoinSubstitution(
[FindPackageShare("dave_robot_models"), "config", "ardusub", "mavros.yaml"]
[FindPackageShare("dave_robot_models"), "config", "mavros", "mavros.yaml"]
),
description="Path to mavros.yaml file",
),
Expand All @@ -112,18 +88,6 @@ def generate_launch_description():
),
description="Path to ardusub.parm file",
),
DeclareLaunchArgument(
"ardusub_manager_file",
default_value=PathJoinSubstitution(
[
FindPackageShare("dave_robot_models"),
"config",
"ardusub",
"ardusub_manager.yaml",
]
),
description="Path to ardusub_manager.yaml file",
),
]

return LaunchDescription(args + [OpaqueFunction(function=launch_setup)])
38 changes: 1 addition & 37 deletions models/dave_robot_models/config/bluerov2_heavy/robot_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@
DeclareLaunchArgument,
OpaqueFunction,
ExecuteProcess,
IncludeLaunchDescription,
)
from launch.substitutions import LaunchConfiguration, PathJoinSubstitution
from launch_ros.actions import Node
from launch_ros.substitutions import FindPackageShare
from launch.launch_description_sources import PythonLaunchDescriptionSource


def launch_setup(context, *args, **kwargs):
Expand Down Expand Up @@ -66,28 +64,6 @@ def launch_setup(context, *args, **kwargs):

processes = [ardusub_process]

# ardusub_manager_file = LaunchConfiguration("ardusub_manager_file")

# # Include the ardusub_manager launch file
# ardusub_manager = IncludeLaunchDescription(
# PythonLaunchDescriptionSource(
# [
# PathJoinSubstitution(
# [
# FindPackageShare("ardusub_manager"),
# "launch",
# "ardusub_manager.launch.py",
# ]
# )
# ]
# ),
# launch_arguments={
# "ardusub_manager_file": ardusub_manager_file,
# }.items(),
# )

# includes = [ardusub_manager]

return nodes + processes


Expand All @@ -101,7 +77,7 @@ def generate_launch_description():
DeclareLaunchArgument(
"mavros_file",
default_value=PathJoinSubstitution(
[FindPackageShare("dave_robot_models"), "config", "ardusub", "mavros.yaml"]
[FindPackageShare("dave_robot_models"), "config", "mavros", "mavros.yaml"]
),
description="Path to mavros.yaml file",
),
Expand All @@ -112,18 +88,6 @@ def generate_launch_description():
),
description="Path to ardusub.parm file",
),
DeclareLaunchArgument(
"ardusub_manager_file",
default_value=PathJoinSubstitution(
[
FindPackageShare("dave_robot_models"),
"config",
"ardusub",
"ardusub_manager.yaml",
]
),
description="Path to ardusub_manager.yaml file",
),
]

return LaunchDescription(args + [OpaqueFunction(function=launch_setup)])
File renamed without changes.

0 comments on commit 870a1de

Please sign in to comment.