ROS Simulink Path Subscriber Issue

3 ビュー (過去 30 日間)
Hasan Sener
Hasan Sener 2020 年 7 月 11 日
回答済み: Cam Salzberger 2020 年 7 月 13 日
Dear All,
I'm having issues while subscribing a 'Path' publishing topic. In ROS ecosystem (so, while using Python) I can take all Pose data, but I can't take position and orientation data from subscriber block by using Simulink. My Matlab Version is: 2018b.
I created a Subscriber block, then by using a "Bus Selector" I'm selecting <Poses> (which is an array of sub busses), then I try to find all regarding pose's position.x & position.y values to use in the "Pure Pursuit" block.
How can I overcome this issue? Any help will be appreciated.

回答 (1 件)

Cam Salzberger
Cam Salzberger 2020 年 7 月 13 日
Hello Hasan,
Variable size arrays are always a bit tricky to deal with in Simulink. This documentation page addresses this issue directly, and points towards an example model that demonstrates how to do this kind of access.
-Cam

カテゴリ

Help Center および File ExchangePublishers and Subscribers についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by