Skip to content

Conversation

bogidude
Copy link
Member

This PR adds Linear Dynamics as a possible Dynamics class of the form x_dot = Ax + Bu. In addition, unit tests for both the new dynamics as well as the Sampling Distributions API were added and bugs in Sampling Distributions were fixed as a result

- Added unit tests for the linear dynamics
- Make computeLikelihoodRatioCost with Eigen match device version of the
method in GaussianDistribution
- Add an Eigen version of computeFeedbackCost() in base sampling
distribution class
- Add Gaussian-specific unit tests to ensure Gaussian distributions are
Gaussian as well as ensure that the the number of distributions asked
for does not go over the max allowed in the GaussianParams struct
- Add generic unit tests for sampling distributions that check that they
construct correctly, give access to the same controls on host and
device, calculate the same costs between host and device, and ensure
that the number of distributions, timesteps and samples can be adjusted.
@JasonGibson274 JasonGibson274 merged commit d4612b2 into main Jul 30, 2025
@bogidude bogidude deleted the feature/linear_dynamics branch August 1, 2025 16:34
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants