How to specify specific motion on sim Mechanics 2nd gen
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
Hi,
On 2nd gen, is it possible to make a geometry move a certain distance and then stop there?
I.e a cylinder move 5m on the x axis and then becomes attached to a world frame.
Is that possible?
Thanks
댓글 수: 2
David Chiu
2015년 5월 5일
편집: David Chiu
2015년 5월 5일
Sebastian Castro
2015년 5월 5일
You mean like a controller that applies forces to move the geometry move to a reference distance? Sure.
You could measure the joint's position, place that measurement in a feedback loop, and apply it back as a force. Here's a simple example:

- Sebastian
답변 (1개)
Sebastian Castro
2015년 5월 5일
0 개 추천
Motion actuation is possible in R2013b and later. For what you described, this would be a ramp from 0 to 5m which stays constant at 5 after that.
I like how this blog explains it: http://blogs.mathworks.com/seth/2013/11/13/motion-actuation-in-simmechanics-r2013b/
- Sebastian
댓글 수: 0
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!