Closed deepalcoholic closed 3 years ago
- What version of simulator are you on?
- What OS are you on?
- What errors are you getting from player.log?
@EricBoiseLGSVL version:2021.2.1 OS: Ubuntu18.04 log: Player.log error log:
Failed to start 'test_svl' simulation
Exception: Unknown SensorDistributionType parameter for Main Camera sensor on Lincoln2017MKZ vehicle
at SensorsController.CreateSensor (UnityEngine.GameObject agent, UnityEngine.GameObject parent, UnityEngine.GameObject prefab, Simulator.Web.SensorData item, BaseLink baseLink) [0x00176] in <5ae409fa99f348529be11df5263be528>:0
at SensorsController.InstantiateSensors (Simulator.Web.SensorData[] sensors) [0x0022c] in <5ae409fa99f348529be11df5263be528>:0
at SensorsController.SetupSensors (Simulator.Web.SensorData[] sensors) [0x00016] in <5ae409fa99f348529be11df5263be528>:0
at AgentManager.SpawnAgent (Simulator.AgentConfig config) [0x001c7] in <5ae409fa99f348529be11df5263be528>:0
at AgentManager.CreateAgentsFromConfigs (Simulator.AgentConfig[] agentConfigs) [0x0010e] in <5ae409fa99f348529be11df5263be528>:0
at AgentManager.SpawnAgents (Simulator.AgentConfig[] agentConfigs) [0x00000] in <5ae409fa99f348529be11df5263be528>:0
at SimulatorManager.Init (System.Nullable`1[T] seed) [0x003b4] in <5ae409fa99f348529be11df5263be528>:0
at Simulator.Loader.SetupScene (Simulator.Web.SimulationData simulation) [0x0007c] in <5ae409fa99f348529be11df5263be528>:0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
Simulator.Loader:SetupScene(SimulationData)
Simulator.<>cDisplayClass44_0:
loader status: Starting->Error Unknown SensorDistributionType parameter for Main Camera sensor on Lincoln2017MKZ vehicle
[LOADER] Update simulation status Starting -> Error [CONN] Updated simulation c7ec60ab-1cab-498f-ba70-7680f87ea793 with status:Error msg:Unknown SensorDistributionType parameter for Main Camera sensor on Lincoln2017MKZ vehicle [CONN] POST /api/v1/simulations/c7ec60ab-1cab-498f-ba70-7680f87ea793/status loader status: Error->Stopping
[LOADER] Update simulation status Error -> Stopping [CONN] Updated simulation c7ec60ab-1cab-498f-ba70-7680f87ea793 with status:Stopping msg: [CONN] POST /api/v1/simulations/c7ec60ab-1cab-498f-ba70-7680f87ea793/status loader status: Stopping->Idle
[LOADER] Update simulation status Stopping -> Idle [CONN] Updated simulation c7ec60ab-1cab-498f-ba70-7680f87ea793 with status:Idle msg: [CONN] POST /api/v1/simulations/c7ec60ab-1cab-498f-ba70-7680f87ea793/status [ANMGR] Initializing with TestReportId:1f5d0fa3-5561-45f1-807a-b6c82977cc31
Unloading 228 unused Assets to reduce memory usage. Loaded Objects now: 30214. Total: 15.893015 ms (FindLiveObjects: 0.855537 ms CreateObjectMapping: 0.250666 ms MarkObjects: 12.319719 ms DeleteObjects: 2.466872 ms)
Sensor Config: { "params": { "Width": 3840, "Height": 2160, "Frequency": 50, "JpegQuality": 75, "FieldOfView": 100, "MinDistance": 0.1, "MaxDistance": 2000, "Topic": "", "sensorDistributionType": "MainOnly" }, "transform": { "x": 0, "y": 1.348, "z": 1.219, "pitch": 0, "yaw": 0, "roll": 0 }, "name": "Main Camera", "parent": null, "pluginId": "3d4f1e08-4c62-4e9f-b859-b26d4910b85e", "plugin": { "assetGuid": null, "isFavored": true, "isShared": false, "isOwned": false, "accessInfo": { "userAccessType": "favored", "owner": { "id": "0d888b00-fa53-47c1-882a-b68391268a11", "firstName": "SVL", "lastName": "Content" } }, "supportedSimulatorVersions": [ "2021.1", "2021.1.1", "2021.2", "2021.2.1", "dev" ], "id": "3d4f1e08-4c62-4e9f-b859-b26d4910b85e", "name": "Color Camera Sensor", "type": "ColorCameraSensor", "category": "sensor", "ownerId": "0d888b00-fa53-47c1-882a-b68391268a11", "accessType": "public", "description": "This is the type of sensor that would be used for the Main Camera in Apollo.\nColor Camera also has multiple post processing sensor effects that can be added to the Postprocessing field in params. Effects can be combined with an array of Postprocessing fields but order is hard coded.\nSee https://www.svlsimulator.com/docs/simulation-content/sensors-list/#color-camera for more details.", "copyright": "LG Electronics Inc.", "licenseName": "LG Content", "status": "active", "owner": { "id": "0d888b00-fa53-47c1-882a-b68391268a11", "firstName": "SVL", "lastName": "Content" }, "shareRequests": [] }, "type": "ColorCameraSensor" },
Did you find a solution to the issue?
@EricBoiseLGSVL Do you have any ideas? i also meet this question. ubuntu20.04, lgsvl 2021.3 and 2021.2.1 both try.
when the Color camera SensorDistributionType set to Mainonly, it fails to start the simulation. Would anyone can help?