schema: unit-compose/v0alpha1
module: navigation-dijkstra-no-smoothing
inputs:
  occupancy_grid:
    type: nav.RosOccupancyGrid/v1
units:
  decode:
    type: nav.ros_map_decoder/v1
    config: { max_cells: 1920 }
    inputs: { grid: occupancy_grid }
    outputs: { map: binary_map }
  inflate:
    type: nav.binary_inflation/v1
    config: { radius: 0, max_cells: 1920 }
    inputs: { map: binary_map }
    outputs: { cost_map: cost_map }
  plan:
    type: nav.dijkstra/v1
    config: { max_cells: 1920, max_path: 256, max_expansions: 1920 }
    inputs: { cost_map: cost_map }
    outputs: { path: raw_path }
outputs:
  binary_map: binary_map
  cost_map: cost_map
  path: raw_path
