【问题标题】:HLA Starter Kit ExamplesHLA 入门套件示例
【发布时间】:2013-10-22 07:47:30
【问题描述】:

我使用 Eclipse 和 Pitch pRTI Free 测试来自 HLA Starter Kit 的示例。以fuelEconomy为例,carsimj、simulationanager和mapviewer正常启动。

但模拟管理器只有这些命令

选择一个命令

1: Start simulating
2: Stop simulating
Q: Quit the Master Federate

它不包括所有命令。而且mapviewer没有加载任何场景。

我该怎么办?请建议我。

【问题讨论】:

  • 我已经更改了标签,因为hla 标签是指高级装配,而不是高级架构(模拟)
  • 在 W10 上运行 HLA 入门套件时遇到问题:Could not connect to CRC. hla.rti1516e.exceptions.ConnectionFailed: Failed to connect to CRC at '/192.168.56.1:8989'. Check address and make sure that CRC is running. pRTI 正在运行。任何线索(没有找到谷歌搜索)?

标签: simulation high-level-architecture


【解决方案1】:

我正在使用 HLA 教程中 Lab D-1:联合的第一次测试运行 中的说明。

当我启动 Simulation Manager federate 时,我在控制台上收到以下消息:

Welcome to the Master Federate of the Fuel Economy Federation
Make sure that your desired federates have joined the federation!

Select a command
1. Load the cupertino scenario
2. Load the redmond scenario
3. Start simulating
4. Stop simulating
Q. Quit the Master Federate
>

确保Simulation.config可以在当前工作目录中找到,并且配置文件中的scenarioDir指向根scenario目录。

我的安装

我的Simulation.config 看起来像这样:

localSettingsDesignator=Tutorial
federationName=HLA Tutorial
federateName=Master

scenarioDir=../../../scenario
fom=../../../fom/FuelEconomyBase.xml

scenario 目录包含以下文件:

cupertino.png
cupertino.scenario
redmond.png
redmond.scenario

【讨论】:

    【解决方案2】:

    我根本不使用 Eclipse。 但根据我的个人经验,我建议你尝试 HIDE。 你可以从这里下载它https://sites.google.com/site/highlevelassembly/downloads/hide

    希望我能帮上忙:)

    【讨论】:

    • 这个问题是关于分布式模拟标准高级架构 (HLA)。
    猜你喜欢
    • 2012-09-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-02-04
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多