Is it possible to use PRM and sequentially findpath function in Simulink?

1 ビュー (過去 30 日間)
With an existing robotics toolbox, creating a BinaryOccupancyGrid and PRM doesn't actually define said targets, in Simulink function blok MATLAB2019a.

採用された回答

Sebastian Castro
Sebastian Castro 2019 年 10 月 3 日
It's doable in the sense that you can put the code in a MATLAB Function block (or as a MATLAB Function in Stateflow). It has its peculiarities to get it working, like passing in a fixed-size occupancy matrix as an output, hard-coding the resolution, and so on.
In the R2019b release, the Plan Path for a Differential Drive Robot in Simulink example should be quite relevant.
Now, if you don't need it to be able to generate C code, you can wrap the whole thing as an extrinsic function and get around all the issues above (but it will be slower and desktop only).
- Sebastian
  3 件のコメント
Ines Vujkovac
Ines Vujkovac 2019 年 10 月 4 日
Thanks a lot for taking the time. I'll look into this.

サインインしてコメントする。

その他の回答 (0 件)

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by