Add completion spec: ROS 2 (ros2)#205
Merged
Merged
Conversation
Contributor
Author
Generator Validation ResultsAll 7 ros2 generators were tested against a local Warp build with ROS 2 Jazzy installed on Ubuntu 24.04. Demo nodes ( Test Results
Notes
|
Contributor
Author
ros2ros2)
Co-Authored-By: Oz <oz-agent@warp.dev>
bc8071f to
fea4741
Compare
peicodes
approved these changes
Apr 1, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.







Adds a completion spec for the
ros2CLI command (ROS 2 command line interface).What's included
JSON spec (
command-signatures/json/ros2.json):action,bag,component,daemon,doctor,extension_points,extensions,interface,launch,lifecycle,multicast,node,param,pkg,run,security,service,test,topic,wtfGenerators (
command-signatures/src/generators/ros2.rs):packages— lists installed ROS 2 packages viaros2 pkg listexecutables— token-based: reads the package name from tokens and runsros2 pkg executables <pkg>topics— lists active topics viaros2 topic listnodes— lists running nodes viaros2 node listservices— lists running services viaros2 service listactions— lists running actions viaros2 action listinterfaces— lists all interface types viaros2 interface listThe dynamic generators (topics, nodes, services, actions) require a running ROS 2 system but degrade gracefully to empty results when none is available.
Conversation: https://staging.warp.dev/conversation/3716f6a7-7335-4f2d-93e2-8f4972406b10