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 comentarios

David Chiu
David Chiu el 5 de Mayo de 2015
Editada: David Chiu el 5 de Mayo de 2015
Thanks for your quick answer, the blog is helpful but what I am looking for is my model auto computes position with forces to get to an equilibrium position, and then move it to the right 5 meters. Is there any tool that does this?
Thanks in advance David
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

Respuestas (1)

Sebastian Castro
Sebastian Castro el 5 de Mayo de 2015
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.
- Sebastian

La pregunta está cerrada.

Productos

Etiquetas

Preguntada:

el 5 de Mayo de 2015

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by