MATLABとUnityのROS2通信について

33 visualizaciones (últimos 30 días)
dai
dai el 1 de Dic. de 2025 a las 8:35
MATLABとUnityでROS2通信を試みています。
helperConnectROSToUnityを参考にros.internal.runroscmdを実行しましたが、ROS1のpython仮想環境(venv)が立ち上がり、rclpyをimportすることができませんでした。
そこで、ros2のvenvを立ち上げましたが、rclpyをimportすることはできず、default_server_endpoint.pyを実行することができませんでした。
venv内でpip install rclpyも試しましたが、できませんでした。
UnityとMATLABで通信するために、下記pythonファイルをMATLABから実行するためにはどうすればよいでしょうか。
matlabroot\sys\ros2\win64\ros2\lib\site-packages\ros_tcp_endpoint\default_server_endpoint.py

Respuestas (0)

Categorías

Más información sobre ROS カスタム メッセージのサポート en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2025a

Community Treasure Hunt

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

Start Hunting!