Modia3D.jl icon indicating copy to clipboard operation
Modia3D.jl copied to clipboard

absolute velocity

Open Patrick-armhub opened this issue 1 year ago • 3 comments

Hi there, are there any ways to access the relative and absolute velocity while the object is simulating? Or can I only access it for plotting?

Patrick-armhub avatar Apr 04 '24 06:04 Patrick-armhub

Arbitrary online measurements are implemented in frameMeasurements.jl and are used in force elements, e.g. Bushing.jl. I think the simplest approach would be to modify or copy an existing force element.

GerhardHippmann avatar Apr 04 '24 07:04 GerhardHippmann

would it still work if the object I'm working with is not a force element but a revolute joint? I noticed that in Rotational.jl model file, there are sensor models which measures the absolute velocity of the flange? Would that work better?

Patrick-armhub avatar Apr 10 '24 06:04 Patrick-armhub

Yes, you can also use flanges of prismatic and rotational joints, like speedSensor in ServoWithRampAndRevolute.jl. But this is rather Modia stuff and restricted to joint state variables.

GerhardHippmann avatar Apr 10 '24 07:04 GerhardHippmann