# Perform Safe Trajectory Tracking Control on Baxter robot

10 ビュー (過去 30 日間)
snow John 2019 年 5 月 4 日
コメント済み: snow John 2019 年 5 月 9 日
Dear experts
I recently studied this example（https://www.mathworks.com/help/robotics/examples/perform-safe-trajectory-tracking.html）
learned how to use Simulink to implement safe trajectory tracking，and I want to try to implement the same function on the Baxter robot. The example considered is the swayer robot (single arm), while the Baxter robot is (two arms), so there is a big difference in calculating the expected torque using the inverse dynamic block.
And my qestion is how to calculate the expected torque to the two arms of Baxter, what settings are needed (I have imported the URDF model of baxter) .How to modify the input parameters of the block to ensure the expected force of different arms.
I am grateful for any reply !
Sincerely
-John

サインインしてコメントする。

### 採用された回答

Sebastian Castro 2019 年 5 月 9 日
I'd suggest starting by computing the inverse kinematics/dynamics for each arm independently and seeing if you can place both manipulators where you want.
Of course, there are other calculations that need to be done for a dual-arm system. If you want to hold a particular object with a certain position and orientation, you need to calculate the offset from the object to the 2 points where you're grabbing with each hand. Both forces/torques at each grasping point will result on a combined force/torque on the center of gravity of the object you are holding.
- Sebastian
##### 1 件のコメント表示非表示 なし
snow John 2019 年 5 月 9 日
Mr. Sebastian,
Thank you very much for your answers and suggestions. I will try it in your way. Can I directly use the inverse dynamic block in simulink for calculation? If I use it directly,can I directly set other joints to 0, then perform operations on a joint and make related PID parameter adjustments?I am looking forward to your free time and get the reply！
Finally, thank you again for your previous help!
Sincerely，
-John

サインインしてコメントする。

### カテゴリ

Find more on Code Generation in Help Center and File Exchange

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by