Skip to content

Commit

Permalink
Replace input_remapping and output_remapping with remapping
Browse files Browse the repository at this point in the history
  • Loading branch information
Levi-Armstrong committed Nov 6, 2023
1 parent fe80ad5 commit a28e236
Show file tree
Hide file tree
Showing 8 changed files with 171 additions and 222 deletions.
16 changes: 7 additions & 9 deletions tesseract_task_composer/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ Leveraging a perviously defined task

When using a perviously defined task it is referenced using `task:` instead of `class:`.

Also in most case the tasks inputs and sometimes the outputs must be renamed. This accomplished by leveraging the `input_remapping:` and `output_remapping:`.
Also in most case the tasks inputs and sometimes the outputs must be renamed. This accomplished by leveraging the `remapping:`.

Also you can indicate that it should abort if a terminal is reached by specifying the terminal index `abort_terminal:`. If set to anything less than zero it will set all terminal tasks trigger abort to `false`.

Expand All @@ -219,10 +219,8 @@ Also you can indicate that it should abort if a terminal is reached by specifyin
config:
conditional: false # Optional
abort_terminal: 0 # Optional
input_remapping: # Optional
remapping: # Optional
input_data: output_data
output_remapping: # Optional
output_data: output_data
edges:
- source: MinLengthTask
destinations: [CartesianPipelineTask]
Expand Down Expand Up @@ -375,21 +373,21 @@ Raster Motion Task
freespace:
task: FreespacePipeline
config:
input_remapping:
remapping:
input_data: output_data
input_indexing: [output_data]
output_indexing: [output_data]
raster:
task: CartesianPipeline
config:
input_remapping:
remapping:
input_data: output_data
input_indexing: [output_data]
output_indexing: [output_data]
transition:
task: FreespacePipeline
config:
input_remapping:
remapping:
input_data: output_data
input_indexing: [output_data]
output_indexing: [output_data]
Expand All @@ -408,14 +406,14 @@ Raster Only Motion Task
raster:
task: CartesianPipeline
config:
input_remapping:
remapping:
input_data: output_data
input_indexing: [output_data]
output_indexing: [output_data]
transition:
task: FreespacePipeline
config:
input_remapping:
remapping:
input_data: output_data
input_indexing: [output_data]
output_indexing: [output_data]
Expand Down
40 changes: 20 additions & 20 deletions tesseract_task_composer/config/task_composer_plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -671,23 +671,23 @@ task_composer_plugins:
task: FreespaceTask
config:
abort_terminal: 0
input_remapping:
remapping:
input_data: output_data
input_indexing: [output_data]
output_indexing: [output_data]
raster:
task: CartesianTask
config:
abort_terminal: 0
input_remapping:
remapping:
input_data: output_data
input_indexing: [output_data]
output_indexing: [output_data]
transition:
task: FreespaceTask
config:
abort_terminal: 0
input_remapping:
remapping:
input_data: output_data
input_indexing: [output_data]
output_indexing: [output_data]
Expand Down Expand Up @@ -749,23 +749,23 @@ task_composer_plugins:
task: FreespaceTask
config:
abort_terminal: 0
input_remapping:
remapping:
input_data: output_data
input_indexing: [output_data]
output_indexing: [output_data]
raster:
task: CartesianTask
config:
abort_terminal: 0
input_remapping:
remapping:
input_data: output_data
input_indexing: [output_data]
output_indexing: [output_data]
transition:
task: CartesianTask
config:
abort_terminal: 0
input_remapping:
remapping:
input_data: output_data
input_indexing: [output_data]
output_indexing: [output_data]
Expand Down Expand Up @@ -827,15 +827,15 @@ task_composer_plugins:
task: CartesianTask
config:
abort_terminal: 0
input_remapping:
remapping:
input_data: output_data
input_indexing: [output_data]
output_indexing: [output_data]
transition:
task: FreespaceTask
config:
abort_terminal: 0
input_remapping:
remapping:
input_data: output_data
input_indexing: [output_data]
output_indexing: [output_data]
Expand Down Expand Up @@ -897,15 +897,15 @@ task_composer_plugins:
task: CartesianTask
config:
abort_terminal: 0
input_remapping:
remapping:
input_data: output_data
input_indexing: [output_data]
output_indexing: [output_data]
transition:
task: CartesianTask
config:
abort_terminal: 0
input_remapping:
remapping:
input_data: output_data
input_indexing: [output_data]
output_indexing: [output_data]
Expand Down Expand Up @@ -974,23 +974,23 @@ task_composer_plugins:
task: FreespaceTask
config:
abort_terminal: 0
input_remapping:
remapping:
input_data: output_data
input_indexing: [output_data]
output_indexing: [output_data]
raster:
task: CartesianTask
config:
abort_terminal: 0
input_remapping:
remapping:
input_data: output_data
input_indexing: [output_data]
output_indexing: [output_data]
transition:
task: FreespaceTask
config:
abort_terminal: 0
input_remapping:
remapping:
input_data: output_data
input_indexing: [output_data]
output_indexing: [output_data]
Expand Down Expand Up @@ -1061,23 +1061,23 @@ task_composer_plugins:
task: FreespaceTask
config:
abort_terminal: 0
input_remapping:
remapping:
input_data: output_data
input_indexing: [output_data]
output_indexing: [output_data]
raster:
task: CartesianTask
config:
abort_terminal: 0
input_remapping:
remapping:
input_data: output_data
input_indexing: [output_data]
output_indexing: [output_data]
transition:
task: CartesianTask
config:
abort_terminal: 0
input_remapping:
remapping:
input_data: output_data
input_indexing: [output_data]
output_indexing: [output_data]
Expand Down Expand Up @@ -1148,15 +1148,15 @@ task_composer_plugins:
task: CartesianTask
config:
abort_terminal: 0
input_remapping:
remapping:
input_data: output_data
input_indexing: [output_data]
output_indexing: [output_data]
transition:
task: FreespaceTask
config:
abort_terminal: 0
input_remapping:
remapping:
input_data: output_data
input_indexing: [output_data]
output_indexing: [output_data]
Expand Down Expand Up @@ -1227,15 +1227,15 @@ task_composer_plugins:
task: CartesianTask
config:
abort_terminal: 0
input_remapping:
remapping:
input_data: output_data
input_indexing: [output_data]
output_indexing: [output_data]
transition:
task: CartesianTask
config:
abort_terminal: 0
input_remapping:
remapping:
input_data: output_data
input_indexing: [output_data]
output_indexing: [output_data]
Expand Down
Loading

0 comments on commit a28e236

Please sign in to comment.