How can I compute expression with an integral?
이전 댓글 표시
Hi,
I am trying to estimate the contact force at the end-effector of a robotic manipulator which I'm trying to do with the so called residual method. I'm struggling however to compute the residual which is defined in an analytic expression as:

With 'r(t)' the residual, 'K_i' a constant diagonal gain matrix, M(q) the mass matrix, \tau the control inputs, C^T(q,\dot{q}) the Coriolis matrix, g(q) the gravity vector and q and \dot{q} the joint position and velocities respectively.
The problem is the 'r(t)' within the integral. Is there any way to compute this?
Thanks in advance!
Fransis
답변 (1개)
Roger Stafford
2016년 2월 29일
0 개 추천
If the derivative with respect to t is taken of your equation, the result is a differential equation in the dependent variable r and independent variable t. You can solve it using 'ode45' or some other ode function. Solving the differential equation takes the place of performing the integration. Just make sure your initial value of r is correct.
카테고리
도움말 센터 및 File Exchange에서 Numerical Integration and Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!