Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: astomodynamics/cddp-cpp
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: astomodynamics/cddp-cpp
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: second_order
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 18 commits
  • 45 files changed
  • 1 contributor

Commits on Mar 31, 2025

  1. 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.
    astomodynamics committed Mar 31, 2025
    Configuration menu
    Copy the full SHA
    015565f View commit details
    Browse the repository at this point in the history
  2. 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.
    astomodynamics committed Mar 31, 2025
    Configuration menu
    Copy the full SHA
    12119ab View commit details
    Browse the repository at this point in the history
  3. Update README.md to remove outdated dependency installation instructi…

    …ons and add autodiff library reference
    astomodynamics committed Mar 31, 2025
    Configuration menu
    Copy the full SHA
    7022cba View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2025

  1. Configuration menu
    Copy the full SHA
    611469d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0811f81 View commit details
    Browse the repository at this point in the history
  3. 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.
    astomodynamics committed Apr 1, 2025
    Configuration menu
    Copy the full SHA
    275c5c2 View commit details
    Browse the repository at this point in the history
  4. 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.
    astomodynamics committed Apr 1, 2025
    Configuration menu
    Copy the full SHA
    a6f686a View commit details
    Browse the repository at this point in the history
  5. 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.
    astomodynamics committed Apr 1, 2025
    Configuration menu
    Copy the full SHA
    d8b43f2 View commit details
    Browse the repository at this point in the history
  6. 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.
    astomodynamics committed Apr 1, 2025
    Configuration menu
    Copy the full SHA
    630f0ed View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0cf75fd View commit details
    Browse the repository at this point in the history
  8. cleanup the codebase

    astomodynamics committed Apr 1, 2025
    Configuration menu
    Copy the full SHA
    15da2ad View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    172c3f4 View commit details
    Browse the repository at this point in the history
  10. Clean up the codebase

    astomodynamics committed Apr 1, 2025
    Configuration menu
    Copy the full SHA
    4a9d1a3 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    0c8ace0 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    0d8e051 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    a1cb160 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    3a78f81 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    7e707fe View commit details
    Browse the repository at this point in the history
Loading