Skip to content

Commit

Permalink
Switched to abort tasks instead of errors
Browse files Browse the repository at this point in the history
  • Loading branch information
marrts committed Jul 7, 2023
1 parent 61b0270 commit f2728d4
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions snp_motion_planning/config/task_composer_plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ task_composer_plugins:
class: DoneTaskFactory
config:
conditional: false
ErrorTask:
class: ErrorTaskFactory
AbortTask:
class: AbortTaskFactory
config:
conditional: false
MinLengthTask:
Expand Down Expand Up @@ -67,20 +67,20 @@ task_composer_plugins:
outputs: [output_data]
edges:
- source: MinLengthTask
# destinations: [ErrorTask, DescartesMotionPlannerTask]
destinations: [ErrorTask, TrajOptMotionPlannerTask]
# destinations: [AbortTask, DescartesMotionPlannerTask]
destinations: [AbortTask, TrajOptMotionPlannerTask]
#- source: DescartesMotionPlannerTask
# destinations: [ErrorTask, TrajOptMotionPlannerTask]
# destinations: [ErrorTask, DiscreteContactCheckTask]
# destinations: [AbortTask, TrajOptMotionPlannerTask]
# destinations: [AbortTask, DiscreteContactCheckTask]
- source: TrajOptMotionPlannerTask
destinations: [ErrorTask, DiscreteContactCheckTask]
destinations: [AbortTask, DiscreteContactCheckTask]
- source: DiscreteContactCheckTask
destinations: [ErrorTask, ConstantTCPSpeedTimeParameterizationTask]
destinations: [AbortTask, ConstantTCPSpeedTimeParameterizationTask]
- source: ConstantTCPSpeedTimeParameterizationTask # IterativeSplineParameterizationTask
destinations: [ErrorTask, KinematicLimitsCheckTask]
destinations: [AbortTask, KinematicLimitsCheckTask]
- source: KinematicLimitsCheckTask
destinations: [ErrorTask, DoneTask]
terminals: [ErrorTask, DoneTask]
destinations: [AbortTask, DoneTask]
terminals: [AbortTask, DoneTask]
SNPFreespacePipeline:
class: GraphTaskFactory
config:
Expand All @@ -91,8 +91,8 @@ task_composer_plugins:
class: DoneTaskFactory
config:
conditional: false
ErrorTask:
class: ErrorTaskFactory
AbortTask:
class: AbortTaskFactory
config:
conditional: false
MinLengthTask:
Expand Down Expand Up @@ -134,19 +134,19 @@ task_composer_plugins:
outputs: [output_data]
edges:
- source: MinLengthTask
# destinations: [ErrorTask, TrajOptMotionPlannerTask]
destinations: [ErrorTask, OMPLMotionPlannerTask]
# destinations: [AbortTask, TrajOptMotionPlannerTask]
destinations: [AbortTask, OMPLMotionPlannerTask]
- source: OMPLMotionPlannerTask
destinations: [ErrorTask, TrajOptMotionPlannerTask]
destinations: [AbortTask, TrajOptMotionPlannerTask]
- source: TrajOptMotionPlannerTask
destinations: [ErrorTask, DiscreteContactCheckTask]
destinations: [AbortTask, DiscreteContactCheckTask]
- source: DiscreteContactCheckTask
destinations: [ErrorTask, IterativeSplineParameterizationTask]
destinations: [AbortTask, IterativeSplineParameterizationTask]
- source: IterativeSplineParameterizationTask
destinations: [ErrorTask, KinematicLimitsCheckTask]
destinations: [AbortTask, KinematicLimitsCheckTask]
- source: KinematicLimitsCheckTask
destinations: [ErrorTask, DoneTask]
terminals: [ErrorTask, DoneTask]
destinations: [AbortTask, DoneTask]
terminals: [AbortTask, DoneTask]
SNPTransitionPipeline:
class: GraphTaskFactory
config:
Expand All @@ -157,8 +157,8 @@ task_composer_plugins:
class: DoneTaskFactory
config:
conditional: false
ErrorTask:
class: ErrorTaskFactory
AbortTask:
class: AbortTaskFactory
config:
conditional: false
MinLengthTask:
Expand Down Expand Up @@ -200,18 +200,18 @@ task_composer_plugins:
outputs: [output_data]
edges:
- source: MinLengthTask
destinations: [ErrorTask, TrajOptMotionPlannerTask]
destinations: [AbortTask, TrajOptMotionPlannerTask]
- source: TrajOptMotionPlannerTask
destinations: [OMPLMotionPlannerTask, DiscreteContactCheckTask]
- source: OMPLMotionPlannerTask
destinations: [ErrorTask, DiscreteContactCheckTask]
destinations: [AbortTask, DiscreteContactCheckTask]
- source: DiscreteContactCheckTask
destinations: [ErrorTask, IterativeSplineParameterizationTask]
destinations: [AbortTask, IterativeSplineParameterizationTask]
- source: IterativeSplineParameterizationTask
destinations: [ErrorTask, KinematicLimitsCheckTask]
destinations: [AbortTask, KinematicLimitsCheckTask]
- source: KinematicLimitsCheckTask
destinations: [ErrorTask, DoneTask]
terminals: [ErrorTask, DoneTask]
destinations: [AbortTask, DoneTask]
terminals: [AbortTask, DoneTask]
SNPPipeline:
class: GraphTaskFactory
config:
Expand All @@ -222,8 +222,8 @@ task_composer_plugins:
class: DoneTaskFactory
config:
conditional: false
ErrorTask:
class: ErrorTaskFactory
AbortTask:
class: AbortTaskFactory
config:
conditional: false
SimpleMotionPlannerTask:
Expand Down Expand Up @@ -275,9 +275,9 @@ task_composer_plugins:
output_indexing: [output_data]
edges:
- source: SimpleMotionPlannerTask
destinations: [ErrorTask, DescartesMotionPlannerTask]
destinations: [AbortTask, DescartesMotionPlannerTask]
- source: DescartesMotionPlannerTask
destinations: [ErrorTask, RasterMotionTask]
destinations: [AbortTask, RasterMotionTask]
- source: RasterMotionTask
destinations: [ErrorTask, DoneTask]
terminals: [ErrorTask, DoneTask]
destinations: [AbortTask, DoneTask]
terminals: [AbortTask, DoneTask]

0 comments on commit f2728d4

Please sign in to comment.