Skip to content

Logging, Pinocchio 3.x Compatibility & Trajectory Framework Refactoring#8

Merged
thanhndv212 merged 11 commits intomainfrom
devel
Dec 7, 2025
Merged

Logging, Pinocchio 3.x Compatibility & Trajectory Framework Refactoring#8
thanhndv212 merged 11 commits intomainfrom
devel

Conversation

@thanhndv212
Copy link
Owner

Summary

Comprehensive logging overhaul, Pinocchio 3.x API compatibility, and modular restructuring of the optimal trajectory framework.

Key Changes

🔧 Logging

  • Replaced print statements with proper logging across 19 modules
  • Implemented NullHandler pattern for library code
  • Applications now configure logging, not libraries

🔄 Pinocchio 3.x

  • Updated Frame.parentFrame.parentJoint for API compatibility

🏗️ Trajectory Framework

  • Extracted ConfigurationManager, BaseParameterComputer, and TrajectoryConstraintManager into separate modules
  • Simplified BaseOptimalTrajectory with improved modularity

📝 API

  • Renamed load_from_yamlload_param
  • Enhanced unified config format support
  • Improved parameter management in identification module

Stats

19 files changed, +1101, -804

Breaking Changes

  • load_from_yamlload_param (update direct calls)

- Removed ConfigurationManager and BaseParameterComputer classes from base_optimal_trajectory.py and moved them to separate files for better organization.
- Introduced a new ConfigurationManager class in config.py to handle loading and parsing of configuration files, supporting both unified and legacy formats.
- Created a new BaseParameterComputer class in base_parameter.py to manage base parameter computation and indexing.
- Added TrajectoryConstraintManager class in constraints.py to manage trajectory constraints and bounds.
- Updated BaseOptimalTrajectory to utilize the new configuration and parameter management classes, improving clarity and maintainability.
- Enhanced error handling and logging throughout the trajectory generation process.
…multiple modules for improved logging and error handling
…Joint subject to API changes in Pincchio 3.x
@thanhndv212 thanhndv212 merged commit bddc362 into main Dec 7, 2025
1 check passed
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.

1 participant