-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #126 from Bckempa/survey_optic_planner
Add OPTIC and trey planners and bug fix plansys2
- Loading branch information
Showing
8 changed files
with
89 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule optic_planner
added at
3175c4
2 changes: 1 addition & 1 deletion
2
astrobee/survey_manager/survey_dependencies/ros2_planning_system
Submodule ros2_planning_system
updated
1 files
+8 −0 | plansys2_pddl_parser/src/plansys2_pddl_parser/Utils.cpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
astrobee/survey_manager/survey_planner/launch/optic_survey.launch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<?xml version="1.0"?> | ||
<launch> | ||
|
||
<!-- arguments --> | ||
<arg name="model_file" default="$(find survey_planner)/pddl/domain_survey.pddl"/> | ||
<arg name="namespace" default="" /> | ||
<arg name="params_file" default="$(find survey_planner)/params/plansys2_optic_params.yaml" /> | ||
|
||
<!-- true: There is a lifecycle management node for the Lifecycles nodes. If false, the nodes start on their own --> | ||
<param name="lifecycle_enabled" value="true"/> | ||
|
||
<!-- Domain Expert --> | ||
<include file="$(find plansys2_domain_expert)/launch/domain_expert.launch"> | ||
<arg name="model_file" value="$(arg model_file)"/> | ||
<arg name="namespace" value="$(arg namespace)"/> | ||
<arg name="params_file" value="$(arg params_file)"/> | ||
</include> | ||
|
||
<!-- Problem Expert --> | ||
<include file="$(find plansys2_problem_expert)/launch/problem_expert.launch"> | ||
<arg name="model_file" value="$(arg model_file)"/> | ||
<arg name="namespace" value="$(arg namespace)"/> | ||
<arg name="params_file" value="$(arg params_file)"/> | ||
</include> | ||
|
||
<!-- Planner --> | ||
<include file="$(find plansys2_planner)/launch/planner.launch"> | ||
<arg name="namespace" value="$(arg namespace)"/> | ||
<arg name="params_file" value="$(arg params_file)"/> | ||
</include> | ||
|
||
<!-- Executor --> | ||
<include file="$(find plansys2_executor)/launch/executor.launch"> | ||
<arg name="namespace" value="$(arg namespace)"/> | ||
<arg name="params_file" value="$(arg params_file)"/> | ||
</include> | ||
|
||
<!-- Manager --> | ||
<node name="lifecycle_manager_node" pkg="plansys2_lifecycle_manager" type="lifecycle_manager_node" output="screen"> | ||
</node> | ||
|
||
<!-- Actions --> | ||
<node name="move_action_node" pkg="survey_planner" type="move_action_node" output="screen"> | ||
</node> | ||
<node name="dock_action_node" pkg="survey_planner" type="dock_action_node" output="screen"> | ||
</node> | ||
<node name="undock_action_node" pkg="survey_planner" type="undock_action_node" output="screen"> | ||
</node> | ||
<node name="panorama_action_node" pkg="survey_planner" type="panorama_action_node" output="screen"> | ||
</node> | ||
<node name="stereo_action_node" pkg="survey_planner" type="stereo_action_node" output="screen"> | ||
</node> | ||
|
||
</launch> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
astrobee/survey_manager/survey_planner/params/plansys2_optic_params.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
planner: | ||
|
||
plan_solver_plugins: ["OPTIC"] | ||
OPTIC: | ||
plugin: "plansys2/OPTICPlanSolver" | ||
arguments: "-N" | ||
TREY: | ||
plugin: "plansys2/OPTICPlanSolver" | ||
command: "rosrun survey_planner plan_survey" | ||
POPF: | ||
plugin: "plansys2/POPFPlanSolver" | ||
TFD: | ||
plugin: "plansys2/TFDPlanSolver" |
13 changes: 13 additions & 0 deletions
13
astrobee/survey_manager/survey_planner/params/plansys2_trey_params.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
planner: | ||
|
||
plan_solver_plugins: ["TREY"] | ||
OPTIC: | ||
plugin: "plansys2/OPTICPlanSolver" | ||
arguments: "-N" | ||
TREY: | ||
plugin: "plansys2/OPTICPlanSolver" | ||
command: "rosrun survey_planner plan_survey" | ||
POPF: | ||
plugin: "plansys2/POPFPlanSolver" | ||
TFD: | ||
plugin: "plansys2/TFDPlanSolver" |