Skip to content

Commit

Permalink
add option to use unity editor in all launch fiiles
Browse files Browse the repository at this point in the history
  • Loading branch information
slimeth committed Dec 7, 2020
1 parent b18d026 commit 6ec96b3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion flightros/launch/camera/camera.launch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<launch>
<arg name="debug" default="0" />
<arg name="use_unity_editor" default="false" />
<arg name="use_unity_editor" default="false" />

<!-- RPG Flightmare Unity Render. -->
<node pkg="flightrender" type="RPG_Flightmare.x86_64" name="rpg_flightmare_render" unless="$(arg use_unity_editor)">
Expand Down
4 changes: 2 additions & 2 deletions flightros/launch/motion_planning/motion_planning.launch
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<launch>
<arg name="debug" default="0" />

<arg name="use_unity_editor" default="false" />

<!-- RPG Flightmare Unity Render. -->
<node pkg="flightrender" type="RPG_Flightmare.x86_64" name="rpg_flightmare_render" >
<node pkg="flightrender" type="RPG_Flightmare.x86_64" name="rpg_flightmare_render" unless="$(arg use_unity_editor)">
</node>

<node name="motion_planning" pkg="flightros" type="motion_planning" output="screen" launch-prefix="gdb -ex run --args" if="$(arg debug)" >
Expand Down
5 changes: 4 additions & 1 deletion flightros/launch/pilot/rotors_gazebo_test.launch
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
<?xml version="1.0"?>
<launch>
<arg name="use_unity_editor" default="false" />

<node pkg="flightros" type="flight_pilot_node" name="flight_pilot_node" output="screen">
<rosparam file="$(find flightros)/params/default.yaml" />
<remap from="flight_pilot/state_estimate" to="ground_truth/odometry" />
</node>

<node pkg="flightrender" type="RPG_Flightmare.x86_64" name="rpg_flightmare_render">
<!-- RPG Flightmare Unity Render. -->
<node pkg="flightrender" type="RPG_Flightmare.x86_64" name="rpg_flightmare_render" unless="$(arg use_unity_editor)">
</node>

</launch>
5 changes: 3 additions & 2 deletions flightros/launch/racing/racing.launch
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<?xml version="1.0"?>
<launch>
<arg name="debug" default="0" />

<arg name="use_unity_editor" default="false" />

<!-- RPG Flightmare Unity Render. -->
<node pkg="flightrender" type="RPG_Flightmare.x86_64" name="rpg_flightmare_render" >
<node pkg="flightrender" type="RPG_Flightmare.x86_64" name="rpg_flightmare_render" unless="$(arg use_unity_editor)">
</node>

<node name="racing" pkg="flightros" type="racing" output="screen" launch-prefix="gdb -ex run --args" if="$(arg debug)" >
Expand Down

0 comments on commit 6ec96b3

Please sign in to comment.