You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Update the Database structure and Interface/Provider files #34
We need to update the database and YAML files to properly reflect the relationships between capabilities and separate information such as description and trigger commands
Update YAML file with seperated description, trigger commands, variable info and relationships
Update the database interface to handle the new YAML structure
Fix issue with default provider not being present in service response
Make 'Provider' tag optional in execution plans (use defualt provider when not provided)
Make the CapabilitySpec msg more specific rather than dumping content into the "content" parameter
Provider becomes optional and on the fabric side we will use the default provider
When provider is provided as in provider="nav2_capabilities/RobotPoseRunner" that means it could be a non-default runner, which needs to be verified though alternative provider list.
%YAML 1.1
---
name: RobotPoseRunnerspec_version: 1.1spec_type: interfacedescription: "This capability depends on the navigation stack functionalities and allows the extraction of the pose of the robot from the odoemtry or localization system. This extracted robot pose can be used by the decision making authority to understand the position and orientation of the robot. This capability can be triggered with an xml command as '<Runner interface=nav2_capabilities/RobotPoseRunner provider=nav2_capabilities/RobotPoseRunner map=map odom=odom robot=base_link/>'. Upon the successful execution of this capability, another capability that allows robot pose prompting needs to be triggered for transfer of robot pose data to the decision making authority for future decision making. '<Runner interface=nav2_capabilities/PromptPoseRunner provider=nav2_capabilities/PromptPoseRunner />' can be used as an robot pose prompting capability for this."interface:
topics:
"/pose":
type: "geometry_msgs::msg::PoseWithCovarianceStamped"description: "Standard ros2 message interface containing position and orientation of the robot"
prompt_capabilities/PromptPoseRunner
%YAML 1.1
---
name: PromptPoseRunnerspec_version: 1.1spec_type: interfacedescription: "This capability allows an decision making authority such as an LLM to recieve robot pose and orientation data from the robot. This capability can be trigged with the xml command '<Runner interface=prompt_capabilities/PromptPoseRunner provider=prompt_capabilities/PromptPoseRunner />'. This will prompt the geometry_msgs/Pose msg in the xml format and would allow the decision making authority to understand the position of the robot. Data for this is generated by a capability such as nav2_capabilities/RobotPoseRunner which needs to be triggered always before the prompt_capabilities/PromptPoseRunner using an xml command such as '<Runner interface=nav2_capabilities/RobotPoseRunner provider=nav2_capabilities/RobotPoseRunner map=map odom=odom robot=base_link/>'"interface:
services:
"/prompt":
type: "prompt_msgs/srv/Prompt"description: "This service focuses on capturing pose (position and orientation) of the robot and transfering them to decision making authority."
Proposed interface.yaml files
nav2_capabilities/RobotPoseRunner
%YAML 1.1
---
name: RobotPoseRunnerspec_version: 1.1spec_type: interfacedescription: "This capability depends on the navigation stack functionalities and allows the extraction of the pose of the robot from the odometry or localisation system. This extracted robot pose can be used by the decision-making authority to understand the position and orientation of the robot."parameters:
#list: ["map", "odom", "robot"]
- map:
type: stringdefault: mapdescription: the robot's frame of localisation
- odom:
type: stringdefault: odomdescription: the robot's frame of odometry
- robot:
type: stringdefault: base_linkdescription: the robot's core frameinterface:
topics:
"/pose":
type: "geometry_msgs::msg::PoseWithCovarianceStamped"description: "Standard ros2 message interface containing position and orientation of the robot"
prompt_capabilities/PromptPoseRunner
%YAML 1.1
---
name: PromptPoseRunnerspec_version: 1.1spec_type: interfacedescription: "This capability allows a decision-making authority, such as an LLM, to receive robot pose and orientation data from the robot. This capability. This will generate a geometry_msgs/Pose message in XML format and allow the decision-making authority to understand the robot's position."relations:
- subject: prompt_capabilities/PromptPoseRunnerpredicate: "depends on"object: nav2_capabilities/PromptPoseRunnerinterface:
services:
"/prompt":
type: "prompt_msgs/srv/Prompt"description: "This service focuses on capturing pose (position and orientation) of the robot and transfering them to decision making authority."
Target is to breakdown information into relevant sub components and allow the other systems to pull only the required information such as trigger xml snippet or just description. Focused as a optimization towards LLM integration. Does not drop fields but adds them
%YAML 1.1
---
name: RobotPoseRunnerspec_type: providerspec_version: 1.1description: "The capability provider for the robot's odometry interface"implements: nav2_capabilities/RobotPoseRunnerrunner: capabilities2_runner::RobotPoseRunner
prompt_capabilities/PromptPoseRunner
%YAML 1.1
---
name: PromptPoseRunnerspec_type: providerspec_version: 1.1description: "The capability provider for the prompting interface from prompt tools. This can be used for prompting pose of the robot."implements: prompt_capabilities/PromptPoseRunnerrunner: capabilities2_runner::PromptPoseRunner
Proposed provider yaml files
nav2_capabilities/RobotPoseRunner
%YAML 1.1
---
name: RobotPoseRunnerspec_type: providerspec_version: 1.1default: truedescription: "The capability provider for the robot's odometry interface"implements: nav2_capabilities/RobotPoseRunnerrunner: capabilities2_runner::RobotPoseRunner
prompt_capabilities/PromptPoseRunner
%YAML 1.1
---
name: PromptPoseRunnerspec_type: providerspec_version: 1.1default: truedescription: "The capability provider for the prompting interface from prompt tools. This can be used for prompting pose of the robot."implements: prompt_capabilities/PromptPoseRunnerrunner: capabilities2_runner::PromptPoseRunner
Target is to breakdown information into relevant sub components and allow the other systems to pull only the required information such as description. Focused as a optimization towards LLM integration. Does not drop fields but adds them
Activity
KalanaRatnayake commentedon Apr 14, 2026
Current Execution Plan
Proposed Execution Plan
provider="nav2_capabilities/RobotPoseRunner"that means it could be a non-default runner, which needs to be verified though alternative provider list.KalanaRatnayake commentedon Apr 14, 2026
Current interface.yaml on two linked capabilities
nav2_capabilities/RobotPoseRunnerprompt_capabilities/PromptPoseRunnerProposed interface.yaml files
nav2_capabilities/RobotPoseRunnerprompt_capabilities/PromptPoseRunnerKalanaRatnayake commentedon Apr 14, 2026
Current provider yaml on two linked capabilities
nav2_capabilities/RobotPoseRunnerprompt_capabilities/PromptPoseRunnerProposed provider yaml files
nav2_capabilities/RobotPoseRunnerprompt_capabilities/PromptPoseRunnerhttps://github.com/CollaborativeRoboticsLab/capabilities2/blob/develop/docs/providers.md