Can't get a soil body to follow a closed-trajectory using the spline and point on curve contraint
1 次查看(过去 30 天)
显示 更早的评论
Hi!
I'm using "point on curve constraint" together with a sppline to move a sphere along a closed path.
the model looks as follows:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/598640/image.png)
which gives me the following result:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/598645/image.png)
I would like the sphere to follow the complete trajectory, however I can't manage to get it.
I created a signal that I input to the movement in the x axis. The signal looks as follows:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/598650/image.png)
The sphere stops at in the middle of the curve, just before the middle of the circle on the right and then comes back to the origin. The heighest point of the triangle is the farthest point to the right in the spline curve.
A work around I thought about was to actuate also the Y axis, however, for this I wouldn't need the curve contraint anymore.
My final goal is to create the tracks of a vehicle (tank like tracks).
I hope I could get some help
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Assembly 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!