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 get the regression matrix of 4 parameters? #30

Open
flamelx opened this issue Jul 8, 2020 · 2 comments
Open

How to get the regression matrix of 4 parameters? #30

flamelx opened this issue Jul 8, 2020 · 2 comments

Comments

@flamelx
Copy link

flamelx commented Jul 8, 2020

Since I want to do adaptive control, through this equation M(q)·v_dot+C(q,q_dot)·v+G=Y(q,q_dot,v,v_dot), finally get the regression matrix of four parameters , Can I generate such a matrix by changing the code?

@flamelx
Copy link
Author

flamelx commented Jul 29, 2020

slotine-li adaptive control form

@gordonwwang
Copy link

gordonwwang commented Jan 6, 2022

Since I want to do adaptive control, through this equation M(q)·v_dot+C(q,q_dot)·v+G=Y(q,q_dot,v,v_dot), finally get the regression matrix of four parameters , Can I generate such a matrix by changing the code?

Do you want to get parameters ,such as M、C、G、Yr? Maybe you can run this code:

#打印观测矩阵Yr
print('观测矩阵Yr查看:')
print(rbt.Hb_code)
print('\n')

#打印参数项 M、C、G
print('参数项M、C、G查看:')
print(rbt.M_code)
print(rbt.C_code)
print(rbt.g_code)

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