-
Notifications
You must be signed in to change notification settings - Fork 11
Comparing changes
Open a pull request
base repository: astomodynamics/cddp-cpp
base: master
head repository: astomodynamics/cddp-cpp
compare: second_order
- 18 commits
- 45 files changed
- 1 contributor
Commits on Mar 31, 2025
-
Add Hessian support for dynamical systems
- Introduced `getStateHessian`, `getControlHessian`, and `getCrossHessian` methods across various dynamical models, returning vectors of matrices for Hessian calculations. - Added a new example `hessian_example.cpp` demonstrating Hessian computations for pendulum and Dubins car models. - Updated CMakeLists to include the new example and corresponding test file. - Implemented unit tests for Hessian calculations in both pendulum and Dubins car models.
Configuration menu - View commit details
-
Copy full SHA for 015565f - Browse repository at this point
Copy the full SHA 015565fView commit details -
Add autodiff library integration and tests
- Configured CMake to include the autodiff library, disabling tests, examples, and Python bindings. - Added a new test executable for autodiff functionality, linking it with Google Test. - Implemented comprehensive tests for autodiff, covering scalar functions, multivariate functions, and gradient comparisons with finite differences.
Configuration menu - View commit details
-
Copy full SHA for 12119ab - Browse repository at this point
Copy the full SHA 12119abView commit details -
Update README.md to remove outdated dependency installation instructi…
…ons and add autodiff library reference
Configuration menu - View commit details
-
Copy full SHA for 7022cba - Browse repository at this point
Copy the full SHA 7022cbaView commit details
Commits on Apr 1, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 611469d - Browse repository at this point
Copy the full SHA 611469dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0811f81 - Browse repository at this point
Copy the full SHA 0811f81View commit details -
Add comprehensive tests for autodiff functionality
- Introduced a new test file `test_autodiff.cpp` to validate autodiff operations. - Implemented tests for scalar functions, multivariate functions, and quadratic forms. - Included comparisons of autodiff gradients with finite difference methods for accuracy verification. - Utilized Google Test framework for structured testing and output of results.
Configuration menu - View commit details
-
Copy full SHA for 275c5c2 - Browse repository at this point
Copy the full SHA 275c5c2View commit details -
Enhance DynamicalSystem with Autodiff Support
- Added support for autodiff in the DynamicalSystem class, including methods for computing Jacobians and Hessians using second-order duals. - Implemented default versions of getStateJacobian, getControlJacobian, getStateHessian, getControlHessian, and getCrossHessian, leveraging autodiff for accurate derivative calculations. - Updated comments for clarity and consistency regarding the use of autodiff in dynamics computations.
Configuration menu - View commit details
-
Copy full SHA for a6f686a - Browse repository at this point
Copy the full SHA a6f686aView commit details -
Add autodiff support for Bicycle dynamics model
- Implemented the `getContinuousDynamicsAutodiff` method in the Bicycle class to compute continuous dynamics using autodiff with dual2nd types. - Updated the header file to declare the new autodiff method. - Enhanced the dynamics calculations to leverage autodiff for accurate derivative computations.
Configuration menu - View commit details
-
Copy full SHA for d8b43f2 - Browse repository at this point
Copy the full SHA d8b43f2View commit details -
Add autodiff methods for Car dynamics model
- Implemented `getDiscreteDynamicsAutodiff` and `getContinuousDynamicsAutodiff` methods in the Car class to support autodiff for discrete and continuous dynamics using dual2nd types. - Updated the header file to declare the new autodiff methods. - Included necessary headers for autodiff functionality and enhanced dynamics calculations for accurate derivative computations.
Configuration menu - View commit details
-
Copy full SHA for 630f0ed - Browse repository at this point
Copy the full SHA 630f0edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cf75fd - Browse repository at this point
Copy the full SHA 0cf75fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 15da2ad - Browse repository at this point
Copy the full SHA 15da2adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 172c3f4 - Browse repository at this point
Copy the full SHA 172c3f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a9d1a3 - Browse repository at this point
Copy the full SHA 4a9d1a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c8ace0 - Browse repository at this point
Copy the full SHA 0c8ace0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d8e051 - Browse repository at this point
Copy the full SHA 0d8e051View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1cb160 - Browse repository at this point
Copy the full SHA a1cb160View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a78f81 - Browse repository at this point
Copy the full SHA 3a78f81View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e707fe - Browse repository at this point
Copy the full SHA 7e707feView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...second_order