How can I connect a joint actuator to a revolute joint in SimMechanics ?

19 ビュー (過去 30 日間)
I am trying to model a Delta Robot in SimMechanics...something like this :
So I started with modelling just one leg with the following SimMechanics utilities :
And then I assembled everything in something like this :
I'm sure there must be other changes that I need to make so that my model would work smoothly but I'm trying to make this work for now. When I compile there is an error saying : "Primitive P1 was not found on the Joint. Select a legal primitive to actuate in the Joint Actuator dialog." I only have some assumptions on how models in SimMechanics work and from what I understood, P1 should be a "prismatic" joint since revolute joints are symboled with the letter "R" but I don't have any prismatic joint in my blocks so I am confused on how to tackle this problem, I have checked the joint actuator in all the legs and it's linked to a revolute joint :
Any help is appreciated on the source of the problem and how to fix it. Thanks in advance.
  1 件のコメント
Dennie
Dennie 2016 年 2 月 22 日
It could be that the joint itself is ill defined instead of the actuator. But it is difficult to judge from this information.

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

採用された回答

Steve Miller
Steve Miller 2018 年 3 月 6 日
The diagnostic should link to the block which is generating the error message, and from there you should be able to double-click on the block and select the required primitive. The default value may be "P1", which is why you need to manually change it to R1.
It looks like you copy/pasted from the Stewart Platform example. That example has a prismatic joint in each leg.
You should strongly consider using the Second Generation of Simscape Multibody. It has a lot of advantages over the the First Generation technology.
--Steve
  1 件のコメント
Malu
Malu 2018 年 5 月 10 日
I am working with second generation technology and I can't connect the joint actuator or sensor with the revolute joint block? How to solve this?

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

その他の回答 (2 件)

lina li
lina li 2018 年 4 月 2 日
Hello, did you solve your problem? I encountered the same problem and wanted to discuss it with you.
  2 件のコメント
nour islam mokhtari
nour islam mokhtari 2018 年 4 月 2 日
Hey Lina, I went with Steve's suggestion and used SimMechanics second generation.
mohammad sharif
mohammad sharif 2018 年 7 月 19 日
Hi could you send me the files Thanx

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


mohammad ebrahimy
mohammad ebrahimy 2020 年 7 月 28 日
Just open any sensor/actuator block on your model, make a slight change in it and press apply then change it back
I had this error and it fixed this way.
  2 件のコメント
mohammad ebrahimy
mohammad ebrahimy 2021 年 1 月 22 日
I mean all the sensors/actuators
Jorge Zarate Jimenez
Jorge Zarate Jimenez 2022 年 1 月 7 日
how???

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

Community Treasure Hunt

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

Start Hunting!

Translated by