-
Notifications
You must be signed in to change notification settings - Fork 48
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
Sysid and control design using ulog #26
Comments
Hi @mzahana, You could try using this repo instead: https://github.com/dronecrew/ulog_tools. I would also be interested in seeing a best practices procedure for this - e.g. how to set the parameters and if logfiles with particular flight manoeuvres produce better results. |
@jannsta1 Thanks for pointing me out to that repo. I will try it and provide my feedback. |
I am getting the following error. AttributeError: module 'scipy.linalg' has no attribute 'solve_lyapunov' I am using
Any idea how to fix this? EDIT: doing scipy 1.0.0 py36h1de22e9_0 anaconda |
Ok. I got it working by installing an earlier version of |
Glad you got it working @mzahana. Would be interested to know if you do manage to get some good results from the package? By naively running I don't seem to get a particularly good tune, especially in yaw and pitch fails entirely! Planning to play around with the matlab toolbox a bit so I understand the parameters better and then coming back to it. |
Same here. I am not getting good identification of the control gains and I fall back to old set of gains that work much better. I will study more how this can be improved. It also would be good to know what you exactly plan to use (algortihms) to solve this issue. |
@mzahana and @jannsta1 I have also used the repo suggested on this thread, however I get the following error when I run the module to obtain the sample frequency: ~.conda\envs\ut_env\lib\site-packages\ulog_tools_ulog.py in sample_frequency(data) KeyError: 'f_timestamp' I have scipy=0.19 so that is probably not the problem. Any suggestions would be greatly appreciated. I struggled with the px4tools and got stuck so decided to try the ulog_tools repo. Thanks in advance. |
Update: Thank you. |
From what I remember it's a pandas data frame which has a built in to_csv() method. I think there are also libraries that convert .ulg files directly into MATLAB data structures. |
@jannsta1 if i understand correctly, you're saying the output data structure of the resampled data is a pandas data frame with a built in to_csv() method (don't know what that means though I'll look it up), so that means there should be some way to open it as a csv or convert it to csv etc right? Thanks by the way for responding. Update: |
Hi @jgoppert
Can ulog files be used in the sysid and control design instead of px4log? If yes, what is the procedure to do it?
Thanks.
The text was updated successfully, but these errors were encountered: