Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linear Dynamics and Sampling Distribution Unit Tests #1

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

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.
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