Repository navigation
Conversation
This branch has not been deployed
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.
feat(contract): localization pose is nav_msgs/Odometry on the stream QoS
What / Why
LOCALIZATION_POSE(/robot/localization/pose) now matches what the localization and navigationtemplates actually use:
geometry_msgs/msg/PoseWithCovarianceStamped→nav_msgs/msg/Odometry. The 2026final_poseis anOdometry(fusion_node.cpppublishes it;child_frame_id= robot frame,pose.covariancefrom the EKF). Eurobot-Template-Localization and Eurobot-Template-Navigationremap
final_poseonto this name in theirbringup.launch.py.sensor→stream(reliable, volatile, depth 10). Localization publishes and Nav2subscribes reliable / depth 10. With
sensor(best_effort), a publisher that followed thecontract would never match Nav2's reliable subscribers, silently.
Also:
test_contract.cppchecks the sensor profile onHEARTBEATand adds a stream test onLOCALIZATION_POSE;docs/reference/config.mdlists thestreamprofile (it said threeprofiles);
docs/contract.mdregenerated; CHANGELOG entry.How it was tested
ditx test(unit) passesditx test --integrationpasses (all domains + contract check)ditx deploy -d <domain> -r simditx deploy -d <domain> -r <robot>, overlay id:...Interfaces changed?
contract.yaml/.msg/.srvchanged. The base fingerprint changes, so everydomain must be rebuilt and robots need the new base image (
develop/stable) beforeoverlays built on it can run. Owners of affected domains are tagged below.
Risk / rollback
A node that still publishes or subscribes
/robot/localization/poseasPoseWithCovarianceStampedno longer connects (type mismatch). None is launched in the current templates. Rollback: revert this
PR, then rebuild the base image and every domain.
Checklist
ditx lintis clean