From 8d821374119a8174a2a1ca52a4f3c10ac4d56031 Mon Sep 17 00:00:00 2001 From: donghaiwang Date: Sat, 12 Sep 2026 09:07:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=81=A2=E5=A4=8D=E9=BB=98=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E6=97=A0=E4=BA=BA=E6=9C=BA=EF=BC=8C=E9=81=BF=E5=85=8Dhutb?= =?UTF-8?q?=E4=BB=93=E5=BA=93=E9=BB=98=E8=AE=A4=E5=90=AF=E5=8A=A8=E6=B0=B4?= =?UTF-8?q?=E4=B8=8B=E6=9C=BA=E5=99=A8=E4=BA=BA=E5=AF=BC=E8=87=B4=E7=9A=84?= =?UTF-8?q?=E7=A9=BF=E8=BF=87=E5=9C=B0=E9=9D=A2=E7=AD=89=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Unreal/Environments/Blocks/settings.json | 45 +------------------- Unreal/Environments/Blocks/settings_rov.json | 45 ++++++++++++++++++++ 2 files changed, 47 insertions(+), 43 deletions(-) create mode 100644 Unreal/Environments/Blocks/settings_rov.json diff --git a/Unreal/Environments/Blocks/settings.json b/Unreal/Environments/Blocks/settings.json index ee39e63c..f071345a 100644 --- a/Unreal/Environments/Blocks/settings.json +++ b/Unreal/Environments/Blocks/settings.json @@ -1,45 +1,4 @@ { - "SeeDocsAt": "https://github.com/Microsoft/AirSim/blob/master/docs/settings.md", "SettingsVersion": 1.2, - "SimMode": "Rov", - "ClockSpeed": 1, - "PawnPaths": { - "DefaultQuadrotor": {"PawnBP": "Class'/AirSim/Blueprints/BP_FlyingPawn.BP_FlyingPawn_C'"}, - "DefaultRov": {"PawnBP": "Class'/Script/AirSim.RovPawn'"}, - "DefaultComputerVision": {"PawnBP": "Class'/AirSim/Blueprints/BP_ComputerVisionPawn.BP_ComputerVisionPawn_C'"} - }, - "Vehicles": { - "RovSimple": { - "VehicleType": "RovSimple", - "DefaultVehicleState": "Armed", - "PawnPath": "DefaultRov", - "EnableCollisions": true, - "AllowAPIAlways": true, - "RC": { - "RemoteControlID": 0, - "AllowAPIWhenDisconnected": false - }, - "Cameras": { - "front_right_custom": { - "CaptureSettings": [ - { - "PublishToRos": 1, - "ImageType": 0, - "FOV_Degrees": 90, - "Width": 1280, - "Height": 720 - } - ], - "X": 0.50, "Y": 0.06, "Z": 0.10, - "Pitch": 0.0, "Roll": 0.0, "Yaw": 0.0 - } - } - - - - - } - } - -} - + "SimMode": "Multirotor" +} \ No newline at end of file diff --git a/Unreal/Environments/Blocks/settings_rov.json b/Unreal/Environments/Blocks/settings_rov.json new file mode 100644 index 00000000..ee39e63c --- /dev/null +++ b/Unreal/Environments/Blocks/settings_rov.json @@ -0,0 +1,45 @@ +{ + "SeeDocsAt": "https://github.com/Microsoft/AirSim/blob/master/docs/settings.md", + "SettingsVersion": 1.2, + "SimMode": "Rov", + "ClockSpeed": 1, + "PawnPaths": { + "DefaultQuadrotor": {"PawnBP": "Class'/AirSim/Blueprints/BP_FlyingPawn.BP_FlyingPawn_C'"}, + "DefaultRov": {"PawnBP": "Class'/Script/AirSim.RovPawn'"}, + "DefaultComputerVision": {"PawnBP": "Class'/AirSim/Blueprints/BP_ComputerVisionPawn.BP_ComputerVisionPawn_C'"} + }, + "Vehicles": { + "RovSimple": { + "VehicleType": "RovSimple", + "DefaultVehicleState": "Armed", + "PawnPath": "DefaultRov", + "EnableCollisions": true, + "AllowAPIAlways": true, + "RC": { + "RemoteControlID": 0, + "AllowAPIWhenDisconnected": false + }, + "Cameras": { + "front_right_custom": { + "CaptureSettings": [ + { + "PublishToRos": 1, + "ImageType": 0, + "FOV_Degrees": 90, + "Width": 1280, + "Height": 720 + } + ], + "X": 0.50, "Y": 0.06, "Z": 0.10, + "Pitch": 0.0, "Roll": 0.0, "Yaw": 0.0 + } + } + + + + + } + } + +} +