Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
[launch] Add execute trajectory and planner launch files
Browse files Browse the repository at this point in the history
  • Loading branch information
AnaBatinovic committed Mar 25, 2021
1 parent 940d95f commit 145cba5
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
12 changes: 12 additions & 0 deletions launch/execute_trajectory.launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<launch>
<arg name="rate" default="10" />
<arg name="namespace" default="$(env UAV_NAMESPACE)" />

<group ns="$(arg namespace)">
<node name="execute_trajectory" pkg="uav_frontier_exploration_3d"
type="execute_trajectory_state_machine.py" output="screen" />
<param name="radius_trajectory_executed" value="0.7"/>
<param name="feedback_collection_time" value="1.0"/>
<param name="rate" value="$(arg rate)"/>
</group>
</launch>
21 changes: 21 additions & 0 deletions launch/planner.launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<launch>
<arg name="rate" default="10" />
<arg name="namespace" default="$(env UAV_NAMESPACE)" />
<arg name="slam_ns" default="map"/>

<group ns="$(arg namespace)">
<node name="generate_toppra_trajectory" pkg="topp_ros" type="generate_toppra_trajectory.py" output="screen" />

<node name="global_planner" pkg="larics_motion_planning" type="global_planner_node" output="screen">
<param name="rate" value="$(arg rate)" />
<param name="global_planner_config_file" value="$(find uav_frontier_exploration_3d)/config/kopterworx_config.yaml" />
<remap from="/octomap_binary" to="octomap_binary"/>
</node>

<node name="joint_trajectory_to_multi_dof_trajectory_point" pkg="larics_motion_planning" type="joint_trajectory_to_multi_dof_trajectory_point.py">
<param name="rate" value="100" />
<remap from="trajectory_point_ref" to="position_hold/trajectory" />
</node>
<node name="map_transform" pkg="tf" type="static_transform_publisher" args="0 0 0 0 0 0 world $(arg namespace)/$(arg slam_ns)/map 100" />
</group>
</launch>

0 comments on commit 145cba5

Please sign in to comment.