Fix the resource_retriever usage.#299
Open
MaximilienNaveau wants to merge 3 commits intoagimus-project:humble-develfrom
Open
Fix the resource_retriever usage.#299MaximilienNaveau wants to merge 3 commits intoagimus-project:humble-develfrom
MaximilienNaveau wants to merge 3 commits intoagimus-project:humble-develfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes the resource_retriever usage and improves ROS bag storage format detection for TIAGo-Pro demos.
Changes:
- Updated resource_retriever import to use full module name instead of alias
- Added automatic detection of ROS bag storage format (mcap vs sqlite3)
- Moved robot description wait logging from individual callbacks to a centralized location
- Enhanced error messages with more context
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| agimus_controller_ros/agimus_controller_ros/read_from_bag_trajectory.py | Added automatic bag storage format detection and reorganized imports |
| agimus_controller_ros/agimus_controller_ros/mpc_debugger_node.py | Added resource_retriever import and usage for YAML file loading |
| agimus_controller_ros/agimus_controller_ros/agimus_controller.py | Changed resource_retriever alias to full name and moved robot ready logging |
| agimus_controller/agimus_controller/ocp/ocp_croco_generic.py | Enhanced assertion message with diagnostic information |
| agimus_controller/agimus_controller/factory/robot_model.py | Added debug print statement for robot attachment |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
MaximeSabbah
approved these changes
Jan 13, 2026
Kotochleb
reviewed
Jan 13, 2026
| ) | ||
| obj.reference = pt.point.end_effector_velocities[self.frame_id] | ||
| return pt.weights.w_end_effector_poses[self.frame_id] | ||
| return pt.weights.w_end_effector_velocities[self.frame_id] |
Collaborator
Author
There was a problem hiding this comment.
@Kotochleb can you confirm that this is a bug fix or if this is a bug I just introduced.
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.
Important for the TIAGo-Pro demos.