Simscape Multibody frame to spline distance

I'm currently simulating a multibody vehicle with a predefined roadmap. I can plot this road map in the mechanics explorer using a spline, although I'm not sure how to measure the y-distance from the vehicle frame to this spline. The spline is defined in a 3D coordinate frame as the vehicle can drive under an angle. Any suggestions would be much appreciated!

Answers (1)

Hi Chridert,
Sounds like an interesting one, is this questions still current for you?
If yes, would be great if you could share a simple model.
Best, Christoph

Asked:

on 19 May 2018

Answered:

on 6 Aug 2018

Community Treasure Hunt

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

Start Hunting!