Steps to tracking a straightline with a simple heading controller?

So i've got a simple heading controller for a boat in Simulink. Input reference heading and then it gives the heading response.
So now i'm trying to get the boat to track a straight line and I'm a bit confused on how to actually implement this into Simulink.
So ideally what I want is to define an arbitrary x,y starting position for the boat, and a straight line. Then need to compute the position error and somehow convert this into a heading which is then fed into the heading controller, and have the position reevaluated each time step. I'm just not entirely sure how to get this going and would appreciate any guidance.
Many thanks

답변 (0개)

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

제품

질문:

2015년 3월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by