Mesure the distance frame/spline in Simulink

3 views (last 30 days)
Hi,
I'm currently working on the optimisation of the trajectory of an aircraft with simulink simscape multibody. Thus, I need to measure the distance between my flying object and a predefined trajectory, which I defined as a 3D spline.
But I don't know how to proceed.
Screenshot of my aircraft and the spline made with simulink
Thanks for your answer
  1 Comment
Raj
Raj on 2 Apr 2024
Hi @ARCHI XXI COULSON, I found a post on file exchange which helps to find distance of a point from a general curve in space. Check if this helps your use case.

Sign in to comment.

Accepted Answer

ARCHI XXI COULSON
ARCHI XXI COULSON on 5 Apr 2024
The previous answer solved my problem.

More Answers (0)

Categories

Find more on Simscape Multibody in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!