修改模擬世界範本 - AWS RoboMaker

支援終止通知:2025 年 9 月 10 日, AWS 將停止對 AWS RoboMaker 的支援。2025 年 9 月 10 日之後,您將無法再存取 AWS RoboMaker 主控台或 AWS RoboMaker 資源。如需轉換至 AWS Batch 以協助執行容器化模擬的詳細資訊,請參閱此部落格文章

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

修改模擬世界範本

選取平面圖以自訂房間的數量和類型,以及平面圖中房間之間的連線。選擇內部以自訂地板、牆壁和家具。

修改模擬世界範本

請遵循下列其中一個標籤的步驟進行:

Using the console
修改模擬世界範本
  1. 登入位於 https://https://console.aws.amazon.com/robomaker/ 的 AWS RoboMaker 主控台。

  2. 在 AWS RoboMaker 主控台上,展開左側導覽窗格中的模擬 WorldForge,然後選取世界範本

  3. 世界範本頁面上,選擇您要修改的模擬世界範本。

  4. 選擇您要修改的每個元素旁的編輯覆寫。如需模擬世界範本元件的詳細資訊,請參閱了解模擬世界範本

Using the AWS CLI

下列 AWS CLI 範例使用 list-world-templates列出現有範本,然後使用 describe-world-template 來檢視模擬世界範本的詳細資訊get-world-template-body,以及擷取範本內文 JSON 並將其寫入檔案。

$ aws robomaker list-world-templates $ aws robomaker describe-world-template --template my-simulation-world-template-arn $ aws robomaker get-world-template-body --template my-simulation-world-template-arn --output json > myTemplateBody.json $ aws robomaker update-world-template-body --template my-simulation-world-template-arn --template-body file://myTemplateBody.json