Defining State dq for a Floating Base Robot in CasADi Optimization Problem #2290
Unanswered
Umair-Aslam-Projects
asked this question in
Q&A
Replies: 1 comment
-
Hello @Umair-Aslam-Projects, Usually we avoid to use the quaternion derivative in optimization problem:
Instead, you can follow what is done in the chaper Optimization with proper integration in this notebook. Instead of using q as the optimization variable, the problem use the acceleration vector (but the velocity vector could be used too) and add an integration constraint too link q and the acceleration/velocity vector. I hope this resource can be useful for you. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am working on a CasADi optimization problem involving a floating base robot. I have a question regarding the correct approach to define the state dq.
The configuration q is defined as follows:
q=[x,y,z,quatx,quaty,quatz,quatw]
The velocity v is defined as:
v=[dx,dy,dz,wx,wy,wz]
I am trying to define the state dq using CasADi SX variables. Here is what I have tried:
Questions:
Additional Context:
Thank you for your assistance!
Best Regards,
Umair
Beta Was this translation helpful? Give feedback.
All reactions