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

How to interpret the results #1

Open
wangyixu14 opened this issue Mar 14, 2022 · 1 comment
Open

How to interpret the results #1

wangyixu14 opened this issue Mar 14, 2022 · 1 comment

Comments

@wangyixu14
Copy link

wangyixu14 commented Mar 14, 2022

Hi,

Thanks for this awesome work!
I am writing to ask how should I interpret the results. My understanding is this work is going to learn an explicit SDE for the system dynamics. Where should I find the learned SDE after I run the example?

For instance, I am playing with python example/train_iros.py. I notice in the code, there is variable lsd denoting the dynamics with parameters r_des, V_r, A(these three are constant), and log_var. How should I write the final dx = f(x)dt + g(x) dB after the learning?

Looking forward to your reply!
Thanks,
Yixuan

@robotgradient
Copy link
Owner

The class LinearLimitCycle builds a Limit Cycle SDE. The dynamics are generated in a latent space in the polar coordinates (r,theta) and transformed back to the Cartesian coordinates through the transform function. To define the dynamics, the dynamics for the radial part dr = f(r)dt + g(r)dB are a simple linear attractor to r_des, so f(r) = -self.v_r(r - self.r_des)* . The dynamics for the angular part is an SDE with constant velocity for the deterministic part, f(theta) = -self.w.

The stochastic part remains fix in the polar coordinates, with g(x) = 1 for both cases. Remind that when transforming the SDE from polar coordinates to cartesian coordinates g(x) might change. You have an example of transformed dynamics in the paper.

Let me know if it is clear.

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

No branches or pull requests

2 participants