fmi_adapter的一次性fmu执行

发布于 2025-02-01 07:41:34 字数 389 浏览 4 评论 0原文

我正在使用 fmi_adapter

ros2 launch fmi_adapter fmi_adapter_node.launch.py fmu_path:=FMI/Trajectory/RobotMARA_SimulinkFMU_v3.fmu

它运行良好,但是FMU正在不断评估,即从未完成。这对我来说很奇怪,因为我已经在simulink模型中定义了tend

有人知道是否可以将FMU执行仅限为一次?

I'm launching a Simulink FMU in ROS 2 with the fmi_adapter.

ros2 launch fmi_adapter fmi_adapter_node.launch.py fmu_path:=FMI/Trajectory/RobotMARA_SimulinkFMU_v3.fmu

It's working fine, but the FMU is being evaluated constantly, i.e., it never finishes. This is strange to me since I've define a tend in the Simulink Model.

Does anyone know if there is the option to limit the FMU execution to only once?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

清浅ˋ旧时光 2025-02-08 07:41:34

ROS FMI_ADAPTER目前未考虑结束时间。我在有更多的详细信息,并讨论可能的实施。

End times are currently not considered by the ROS fmi_adapter. I created an issue at https://github.com/boschresearch/fmi_adapter/issues/10 with few more details and to discuss a possible implementation.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文