Skip to content

Commit

Permalink
Move RMF orchestator to RMF launch file
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Della Vedova <lucadv@intrinsic.ai>
  • Loading branch information
luca-della-vedova committed Jan 6, 2025
1 parent 2ddcafa commit 82311cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
15 changes: 0 additions & 15 deletions nexus_integration_tests/launch/control_center.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,20 +118,6 @@ def launch_setup(context, *args, **kwargs):
get_package_share_directory("nexus_integration_tests"), "rviz", "nexus_panel.rviz"
)

rmf_transporter_node = LifecycleNode(
name="rmf_nexus_transporter",
namespace="",
package="nexus_workcell_orchestrator",
executable="nexus_workcell_orchestrator",
parameters=[
{
"capabilities": ["nexus::capabilities::RMFRequestCapability"],
"bt_path": (FindPackageShare("nexus_integration_tests"), "/config/rmf_bts"),
}
],
arguments=['--ros-args', '--log-level', 'info'],
)

system_orchestrator_node = LifecycleNode(
name="system_orchestrator",
namespace="",
Expand Down Expand Up @@ -186,7 +172,6 @@ def launch_setup(context, *args, **kwargs):
return [
SetEnvironmentVariable("ROS_DOMAIN_ID", ros_domain_id),
system_orchestrator_node,
rmf_transporter_node,
transporter_node,
mock_emergency_alarm_node,
nexus_panel,
Expand Down
5 changes: 5 additions & 0 deletions nexus_integration_tests/launch/office.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@
</include>
</group>

<node pkg="nexus_workcell_orchestrator" exec="nexus_workcell_orchestrator" name="rmf_nexus_transporter" output="both">
<param name="capabilities" value="[nexus::capabilities::RMFRequestCapability]"/>
<param name="bt_path" value="$(find-pkg-share nexus_integration_tests)/config/rmf_bts"/>
</node>

<!-- Simulator launch -->
<include if="$(var use_simulator)" file="$(find-pkg-share rmf_demos_gz)/simulation.launch.xml">
<arg name="headless" value="$(var headless)" />
Expand Down

0 comments on commit 82311cb

Please sign in to comment.