thomasmarsh / ODE

Open Dynamics Engine (ODE) github mirror from https://bitbucket.org/odedevs/ode
Other
141 stars 35 forks source link

how do I slider.setPosition? #2

Closed i-make-robots closed 4 weeks ago

i-make-robots commented 1 month ago

I'm building a simulation of a leg on a vertical slider like this: Leg-test-stand-with-linear-guide-23-A-6-axis-ATI-Mini40-force-sensor-24-measured-ground I have a hip box with a hinge to a thigh to a hinge to a calf. the hip box is attached to the slider. the slider's position is the floor. I expected to start with a slider.getPosition of ~28. instead it is set to zero. Is there some way to set the position to my expected value, or change this behavior? I also tried to move the hip to the slider center, set the axis, then move the hip back to get some distance. No dice. So.... what's the "right" way to do this, please?

i-make-robots commented 4 weeks ago

I reposted this to the main ODE github. Sorry to bother you.