Skip to content

Fix the resource_retriever usage.#299

Open
MaximilienNaveau wants to merge 3 commits intoagimus-project:humble-develfrom
MaximilienNaveau:bugfix/mnaveau/resource_retriver_and_bag_reading
Open

Fix the resource_retriever usage.#299
MaximilienNaveau wants to merge 3 commits intoagimus-project:humble-develfrom
MaximilienNaveau:bugfix/mnaveau/resource_retriver_and_bag_reading

Conversation

@MaximilienNaveau
Copy link
Collaborator

Important for the TIAGo-Pro demos.

@MaximilienNaveau MaximilienNaveau self-assigned this Jan 13, 2026
Copilot AI review requested due to automatic review settings January 13, 2026 16:39
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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.

)
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]
Copy link
Collaborator Author

@MaximilienNaveau MaximilienNaveau Jan 14, 2026

Choose a reason for hiding this comment

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

@Kotochleb can you confirm that this is a bug fix or if this is a bug I just introduced.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

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.

3 participants