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

question about how to generate the trajectory data with control input #91

Open
Bing008 opened this issue Jul 8, 2024 · 0 comments
Open

Comments

@Bing008
Copy link

Bing008 commented Jul 8, 2024

Dear Ethan,

Thanks for your autokoopman tool. It is very helpful for my research.

I want to import the trajectory data simulated by Matlab/Simulink. However, I can not write the corresponding module like the fhn built-in autokoopman. I am trying to import the trajectory data by myself. I use the code as follows:
training_data2_2 = ak.TrajectoriesData({key: ak.Trajectory(np.arange(1,101), np.random.rand(len(np.arange(1,101)), 3), np.random.rand( len(np.arange(1,101)), 3)) for key in range(10)}) # just an example

Compared with this code, I'd like to import the data with the function ".from_csv". But how to formulate the control input data in the CSV file?

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

1 participant