Model not assembled, position violation for SimScape Multibody
40 次查看(过去 30 天)
显示 更早的评论
For context I am very new to matlab and simscape. I am working on a project to create a DRS system for a formula student car that I am going to use in a class, I want to control this assembly with a single angular velocity. However, I just wanted to start simple by having the system held at a constant. However, if I switch this constant value to anything but 0 I recieve the following error:
['DRS_Assembly/Solver Configuration']: Model not assembled. The following violation occurred: Position Violation. The failure occurred during the attempt to assemble all joints in the system and satisfy any motion inputs. If an Update Diagram operation completes successfully, the failure is likely caused by motion inputs. Consider adjusting the motion inputs to specify a different starting configuration. Also consider adjusting or adding joint targets to better guide the assembly.
When first imported, I ran the system with just the gravity and everything rotates freely, so I am not understanding what I am missing. Is this a newbie mistake? What am I missing? All help is greatly appreciated.
1 个评论
Rami AlAwar
2023-4-14
I am facing the same problem.
If you managed to solve it, can you share the steps you did with me.
回答(1 个)
Manikanta Aditya
2023-4-21
Hi Kaelan,
As per my understanding, you are getting an error message “[‘DRS_Assembly/Solver Configuration’] Model not assembled, position violation”.
After a quick google search, I found few related questions to your error:
- https://stackoverflow.com/questions/36089858/whats-wrong-with-this-matlab-example-user-added-coordinate-systems
- https://www.physicsforums.com/threads/how-to-make-the-small-ball-slide-into-the-groove-in-simscape-multibody.1002413/
I hope this resolves the issue you were facing.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simscape Multibody 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!