Skip to content

Add semantic segmentation tutorial#136

Merged
SteveMacenski merged 3 commits intoros-navigation:rollingfrom
pepisg:semantic-segmentation
Feb 20, 2026
Merged

Add semantic segmentation tutorial#136
SteveMacenski merged 3 commits intoros-navigation:rollingfrom
pepisg:semantic-segmentation

Conversation

@pepisg
Copy link
Copy Markdown
Contributor

@pepisg pepisg commented Feb 18, 2026

Signed-off-by: pepisg <pedro.gonzalez@eia.edu.co>
Signed-off-by: pepisg <pedro.gonzalez@eia.edu.co>
Copy link
Copy Markdown
Member

@SteveMacenski SteveMacenski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really just small stuff - thanks for this :-)

@SteveMacenski
Copy link
Copy Markdown
Member

Question: I recently opened github.com/ros-navigation/navigation2.ai. Would parts of this fall into that? The costmap layer I know we've talked about (maybe submodule). But is the node sufficiently generic? It seems so.

I might have a few more scrutiny comments on it for efficiency if adding to github.com/ros-navigation/navigation2.ai, but if its general (i.e. any ONNX file works) then I think that would be a good not-just-tutorial contribution :-)

@pepisg
Copy link
Copy Markdown
Contributor Author

pepisg commented Feb 20, 2026

Question: I recently opened github.com/ros-navigation/navigation2.ai. Would parts of this fall into that? The costmap layer I know we've talked about (maybe submodule). But is the node sufficiently generic? It seems so.

I might have a few more scrutiny comments on it for efficiency if adding to github.com/ros-navigation/navigation2.ai, but if its general (i.e. any ONNX file works) then I think that would be a good not-just-tutorial contribution :-)

inference should work with any onnx file, though I think the input, output and confidence handling may not be the same for all models (ex: ultralytics YOLO), or users may not wanna use the max rule for selecting the confidence. For isntance, this node applies imagenet normalization to the input, but I'm not sure that all segmentation models would produce correct results with this. Do you have any other model you think users may wanna run?

TBH I'd leave the node in the tutorial for now

@SteveMacenski
Copy link
Copy Markdown
Member

Ok :-)

Signed-off-by: pepisg <pedro.gonzalez@eia.edu.co>
@pepisg
Copy link
Copy Markdown
Contributor Author

pepisg commented Feb 20, 2026

thanks for your review! i think i adressed most comments in both PRs

@SteveMacenski SteveMacenski merged commit 66478b6 into ros-navigation:rolling Feb 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants