Datasets:
Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- .gitattributes+35
- FlyBy.csproj+2-4
- FlyBy.csproj.old+3-5
- FlyBy.sln+18-12
- addons/godot_rl_agents/controller/ai_controller_2d.gd+61-30
- addons/godot_rl_agents/controller/ai_controller_3d.gd+62-28
- addons/godot_rl_agents/onnx/wrapper/ONNX_wrapper.gd+6-3
- addons/godot_rl_agents/sensors/sensors_2d/GridSensor2D.gdAdded+235
- addons/godot_rl_agents/sensors/sensors_2d/ISensor2D.gd+9-4
- addons/godot_rl_agents/sensors/sensors_2d/RaycastSensor2D.gd+40-40
- addons/godot_rl_agents/sensors/sensors_3d/GridSensor3D.gdAdded+258
- addons/godot_rl_agents/sensors/sensors_3d/ISensor3D.gd+9-4
- addons/godot_rl_agents/sensors/sensors_3d/RGBCameraSensor3D.gd+13-3
- addons/godot_rl_agents/sensors/sensors_3d/RGBCameraSensor3D.tscn+14-15
- addons/godot_rl_agents/sensors/sensors_3d/RaycastSensor3D.gd+56-37
- addons/godot_rl_agents/sensors/sensors_3d/RaycastSensor3D.tscn+6-12
- addons/godot_rl_agents/sync.gd+331-129
- bin/FlyBy.pck+2-2
- bin/data_FlyBy_linuxbsd_x86_64/FlyBy.deps.jsonAdded+2980
- bin/data_FlyBy_linuxbsd_x86_64/FlyBy.dllAdded
- bin/data_FlyBy_linuxbsd_x86_64/FlyBy.pdbAdded
- bin/data_FlyBy_linuxbsd_x86_64/FlyBy.runtimeconfig.jsonAdded+14
- bin/data_FlyBy_linuxbsd_x86_64/GodotSharp.dllAdded+3
- bin/data_FlyBy_linuxbsd_x86_64/Microsoft.CSharp.dllAdded
- bin/data_FlyBy_linuxbsd_x86_64/Microsoft.ML.OnnxRuntime.dllAdded
- bin/data_FlyBy_linuxbsd_x86_64/Microsoft.VisualBasic.Core.dllAdded+3
- bin/data_FlyBy_linuxbsd_x86_64/Microsoft.VisualBasic.dllAdded
- bin/data_FlyBy_linuxbsd_x86_64/Microsoft.Win32.Primitives.dllAdded
- bin/data_FlyBy_linuxbsd_x86_64/Microsoft.Win32.Registry.dllAdded
- bin/data_FlyBy_linuxbsd_x86_64/System.AppContext.dllAdded
- bin/data_FlyBy_linuxbsd_x86_64/System.Buffers.dllAdded
- bin/data_FlyBy_linuxbsd_x86_64/System.Collections.Concurrent.dllAdded
- bin/data_FlyBy_linuxbsd_x86_64/System.Collections.Immutable.dllAdded
- bin/data_FlyBy_linuxbsd_x86_64/System.Collections.NonGeneric.dllAdded
- bin/data_FlyBy_linuxbsd_x86_64/System.Collections.Specialized.dllAdded
- bin/data_FlyBy_linuxbsd_x86_64/System.Collections.dllAdded
- bin/data_FlyBy_linuxbsd_x86_64/System.ComponentModel.Annotations.dllAdded
- bin/data_FlyBy_linuxbsd_x86_64/System.ComponentModel.DataAnnotations.dllAdded
- bin/data_FlyBy_linuxbsd_x86_64/System.ComponentModel.EventBasedAsync.dllAdded
- bin/data_FlyBy_linuxbsd_x86_64/System.ComponentModel.Primitives.dllAdded
- bin/data_FlyBy_linuxbsd_x86_64/System.ComponentModel.TypeConverter.dllAdded
- bin/data_FlyBy_linuxbsd_x86_64/System.ComponentModel.dllAdded
- bin/data_FlyBy_linuxbsd_x86_64/System.Configuration.dllAdded
- bin/data_FlyBy_linuxbsd_x86_64/System.Console.dllAdded
- bin/data_FlyBy_linuxbsd_x86_64/System.Core.dllAdded
- bin/data_FlyBy_linuxbsd_x86_64/System.Data.Common.dllAdded+3
- bin/data_FlyBy_linuxbsd_x86_64/System.Data.DataSetExtensions.dllAdded
- bin/data_FlyBy_linuxbsd_x86_64/System.Data.dllAdded
- bin/data_FlyBy_linuxbsd_x86_64/System.Diagnostics.Contracts.dllAdded
- bin/data_FlyBy_linuxbsd_x86_64/System.Diagnostics.Debug.dllAdded
66 unmodified lines67686966 unmodified linesbin/FlyBy.exe filter=lfs diff=lfs merge=lfs -textbin/FlyBy.pck filter=lfs diff=lfs merge=lfs -text.godot/imported/alps_field_2k.hdr-3700cd621ede9e1814580eb21c62fe71.bptc.ctex filter=lfs diff=lfs merge=lfs -text66 unmodified lines67686970717273747576777879808182838485868788899091929394959697989910010110210310466 unmodified linesbin/FlyBy.exe filter=lfs diff=lfs merge=lfs -textbin/FlyBy.pck filter=lfs diff=lfs merge=lfs -text.godot/imported/alps_field_2k.hdr-3700cd621ede9e1814580eb21c62fe71.bptc.ctex filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_linuxbsd_x86_64/GodotSharp.dll filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_linuxbsd_x86_64/Microsoft.VisualBasic.Core.dll filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_linuxbsd_x86_64/System.Data.Common.dll filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_linuxbsd_x86_64/System.Linq.Expressions.dll filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_linuxbsd_x86_64/System.Net.Http.dll filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_linuxbsd_x86_64/System.Private.CoreLib.dll filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_linuxbsd_x86_64/System.Private.DataContractSerialization.dll filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_linuxbsd_x86_64/System.Private.Xml.dll filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_linuxbsd_x86_64/System.Reflection.Metadata.dll filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_linuxbsd_x86_64/System.Text.Json.dll filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_linuxbsd_x86_64/libclrjit.so filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_linuxbsd_x86_64/libcoreclr.so filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_linuxbsd_x86_64/libmscordaccore.so filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_linuxbsd_x86_64/libmscordbi.so filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_linuxbsd_x86_64/libonnxruntime.so filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_linuxbsd_x86_64/onnxruntime.dll filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_windows_x86_64/GodotSharp.dll filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_windows_x86_64/Microsoft.CSharp.dll filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_windows_x86_64/Microsoft.DiaSymReader.Native.amd64.dll filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_windows_x86_64/Microsoft.VisualBasic.Core.dll filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_windows_x86_64/System.Data.Common.dll filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_windows_x86_64/System.Linq.Expressions.dll filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_windows_x86_64/System.Net.Http.dll filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_windows_x86_64/System.Private.CoreLib.dll filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_windows_x86_64/System.Private.DataContractSerialization.dll filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_windows_x86_64/System.Private.Xml.dll filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_windows_x86_64/System.Reflection.Metadata.dll filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_windows_x86_64/System.Text.Json.dll filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_windows_x86_64/clrjit.dll filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_windows_x86_64/coreclr.dll filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_windows_x86_64/mscordaccore.dll filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_windows_x86_64/mscordaccore_amd64_amd64_6.0.2724.6912.dll filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_windows_x86_64/mscordbi.dll filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_windows_x86_64/onnxruntime.dll filter=lfs diff=lfs merge=lfs -textbin/data_FlyBy_windows_x86_64/ucrtbase.dll filter=lfs diff=lfs merge=lfs -text
1 unmodified line234567891011121 unmodified line<PropertyGroup><TargetFramework>net6.0</TargetFramework><EnableDynamicLoading>true</EnableDynamicLoading></PropertyGroup><ItemGroup><PackageReference Include="Microsoft.ML.OnnxRuntime" Version="1.14.1" /><PackageReference Include="Microsoft.ML.OnnxRuntime.DirectML" Version="1.14.1" /><PackageReference Include="Microsoft.ML.OnnxRuntime.Gpu" Version="1.14.1" /><PackageReference Include="System.Numerics.Tensors" Version="0.1.0" /></ItemGroup></Project>1 unmodified line23456789101 unmodified line<PropertyGroup><TargetFramework>net6.0</TargetFramework><EnableDynamicLoading>true</EnableDynamicLoading><RootNamespace>GodotRLAgents</RootNamespace></PropertyGroup><ItemGroup><PackageReference Include="Microsoft.ML.OnnxRuntime" Version="1.15.1" /></ItemGroup></Project>
123456789101112<Project Sdk="Godot.NET.Sdk/4.1.3"><PropertyGroup><TargetFramework>net6.0</TargetFramework><EnableDynamicLoading>true</EnableDynamicLoading></PropertyGroup><ItemGroup><PackageReference Include="Microsoft.ML.OnnxRuntime" Version="1.14.1" /><PackageReference Include="Microsoft.ML.OnnxRuntime.DirectML" Version="1.14.1" /><PackageReference Include="Microsoft.ML.OnnxRuntime.Gpu" Version="1.14.1" /><PackageReference Include="System.Numerics.Tensors" Version="0.1.0" /></ItemGroup></Project>12345678910<Project Sdk="Godot.NET.Sdk/4.0.3"><PropertyGroup><TargetFramework>net6.0</TargetFramework><EnableDynamicLoading>true</EnableDynamicLoading><RootNamespace>GodotRLAgents</RootNamespace></PropertyGroup><ItemGroup><PackageReference Include="Microsoft.ML.OnnxRuntime" Version="1.15.1" /></ItemGroup></Project>
12345678910111213141516171819Microsoft Visual Studio Solution File, Format Version 12.00# Visual Studio 2012Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FlyBy", "FlyBy.csproj", "{7B8CB6A1-66D5-4D2F-A0B2-8B032CD05D91}"EndProjectGlobalGlobalSection(SolutionConfigurationPlatforms) = preSolutionDebug|Any CPU = Debug|Any CPUExportDebug|Any CPU = ExportDebug|Any CPUExportRelease|Any CPU = ExportRelease|Any CPUEndGlobalSectionGlobalSection(ProjectConfigurationPlatforms) = postSolution{7B8CB6A1-66D5-4D2F-A0B2-8B032CD05D91}.Debug|Any CPU.ActiveCfg = Debug|Any CPU{7B8CB6A1-66D5-4D2F-A0B2-8B032CD05D91}.Debug|Any CPU.Build.0 = Debug|Any CPU{7B8CB6A1-66D5-4D2F-A0B2-8B032CD05D91}.ExportDebug|Any CPU.ActiveCfg = ExportDebug|Any CPU{7B8CB6A1-66D5-4D2F-A0B2-8B032CD05D91}.ExportDebug|Any CPU.Build.0 = ExportDebug|Any CPU{7B8CB6A1-66D5-4D2F-A0B2-8B032CD05D91}.ExportRelease|Any CPU.ActiveCfg = ExportRelease|Any CPU{7B8CB6A1-66D5-4D2F-A0B2-8B032CD05D91}.ExportRelease|Any CPU.Build.0 = ExportRelease|Any CPUEndGlobalSectionEndGlobal12345678910111213141516171819202122232425Microsoft Visual Studio Solution File, Format Version 12.00# Visual Studio Version 17VisualStudioVersion = 17.5.33530.505MinimumVisualStudioVersion = 10.0.40219.1Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Godot RL Agents", "Godot RL Agents.csproj", "{055E8CBC-A3EC-41A8-BC53-EC3010682AE4}"EndProjectGlobalGlobalSection(SolutionConfigurationPlatforms) = preSolutionDebug|Any CPU = Debug|Any CPUExportDebug|Any CPU = ExportDebug|Any CPUExportRelease|Any CPU = ExportRelease|Any CPUEndGlobalSectionGlobalSection(ProjectConfigurationPlatforms) = postSolution{055E8CBC-A3EC-41A8-BC53-EC3010682AE4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU{055E8CBC-A3EC-41A8-BC53-EC3010682AE4}.Debug|Any CPU.Build.0 = Debug|Any CPU{055E8CBC-A3EC-41A8-BC53-EC3010682AE4}.ExportDebug|Any CPU.ActiveCfg = ExportDebug|Any CPU{055E8CBC-A3EC-41A8-BC53-EC3010682AE4}.ExportDebug|Any CPU.Build.0 = ExportDebug|Any CPU{055E8CBC-A3EC-41A8-BC53-EC3010682AE4}.ExportRelease|Any CPU.ActiveCfg = ExportRelease|Any CPU{055E8CBC-A3EC-41A8-BC53-EC3010682AE4}.ExportRelease|Any CPU.Build.0 = ExportRelease|Any CPUEndGlobalSectionGlobalSection(SolutionProperties) = preSolutionHideSolutionNode = FALSEEndGlobalSectionEndGlobal
123456782 unmodified lines111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182extends Node2Dclass_name AIController2D@export var reset_after := 1000var heuristic := "human"var done := falsevar reward := 0.02 unmodified linesvar _player: Node2Dfunc _ready():add_to_group("AGENT")func init(player: Node2D):_player = player#-- Methods that need implementing using the "extend script" option in Godot --#func get_obs() -> Dictionary:assert(false, "the get_obs method is not implemented when extending from ai_controller")return {"obs":[]}func get_reward() -> float:assert(false, "the get_reward method is not implemented when extending from ai_controller")return 0.0func get_action_space() -> Dictionary:assert(false, "the get get_action_space method is not implemented when extending from ai_controller")return {"example_actions_continous" : {"size": 2,"action_type": "continuous"},"example_actions_discrete" : {"size": 2,"action_type": "discrete"},}func set_action(action) -> void:assert(false, "the get set_action method is not implemented when extending from ai_controller")# -----------------------------------------------------------------------------#func _physics_process(delta):n_steps += 1if n_steps > reset_after:needs_reset = truefunc get_obs_space():# may need overriding if the obs space is complexvar obs = get_obs()return {"obs": {"size": [len(obs["obs"])],"space": "box"},}func reset():n_steps = 0needs_reset = falsefunc reset_if_done():if done:reset()func set_heuristic(h):# sets the heuristic from "human" or "model" nothing to change hereheuristic = hfunc get_done():return donefunc set_done_false():done = falsefunc zero_reward():reward = 0.012345678910111213141516171819202122232 unmodified lines2627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113extends Node2Dclass_name AIController2Denum ControlModes { INHERIT_FROM_SYNC, HUMAN, TRAINING, ONNX_INFERENCE, RECORD_EXPERT_DEMOS }@export var control_mode: ControlModes = ControlModes.INHERIT_FROM_SYNC@export var onnx_model_path := ""@export var reset_after := 1000@export_group("Record expert demos mode options")## Path where the demos will be saved. The file can later be used for imitation learning.@export var expert_demo_save_path: String## The action that erases the last recorded episode from the currently recorded data.@export var remove_last_episode_key: InputEvent## Action will be repeated for n frames. Will introduce control lag if larger than 1.## Can be used to ensure that action_repeat on inference and training matches## the recorded demonstrations.@export var action_repeat: int = 1var onnx_model: ONNXModelvar heuristic := "human"var done := falsevar reward := 0.02 unmodified linesvar _player: Node2Dfunc _ready():add_to_group("AGENT")func init(player: Node2D):_player = player#-- Methods that need implementing using the "extend script" option in Godot --#func get_obs() -> Dictionary:assert(false, "the get_obs method is not implemented when extending from ai_controller")return {"obs": []}func get_reward() -> float:assert(false, "the get_reward method is not implemented when extending from ai_controller")return 0.0func get_action_space() -> Dictionary:assert(false,"the get get_action_space method is not implemented when extending from ai_controller")return {"example_actions_continous": {"size": 2, "action_type": "continuous"},"example_actions_discrete": {"size": 2, "action_type": "discrete"},}func set_action(action) -> void:assert(false, "the get set_action method is not implemented when extending from ai_controller")#-----------------------------------------------------------------------------##-- Methods that sometimes need implementing using the "extend script" option in Godot --## Only needed if you are recording expert demos with this AIControllerfunc get_action() -> Array:assert(false, "the get set_action method is not implemented in extended AIController but demo_recorder is used")return []# -----------------------------------------------------------------------------#func _physics_process(delta):n_steps += 1if n_steps > reset_after:needs_reset = truefunc get_obs_space():# may need overriding if the obs space is complexvar obs = get_obs()return {"obs": {"size": [len(obs["obs"])], "space": "box"},}func reset():n_steps = 0needs_reset = falsefunc reset_if_done():if done:reset()func set_heuristic(h):# sets the heuristic from "human" or "model" nothing to change hereheuristic = hfunc get_done():return donefunc set_done_false():done = falsefunc zero_reward():reward = 0.0
123456782 unmodified lines11121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980extends Node3Dclass_name AIController3D@export var reset_after := 1000var heuristic := "human"var done := falsevar reward := 0.02 unmodified linesvar _player: Node3Dfunc _ready():add_to_group("AGENT")func init(player: Node3D):_player = player#-- Methods that need implementing using the "extend script" option in Godot --#func get_obs() -> Dictionary:assert(false, "the get_obs method is not implemented when extending from ai_controller")return {"obs":[]}func get_reward() -> float:assert(false, "the get_reward method is not implemented when extending from ai_controller")return 0.0func get_action_space() -> Dictionary:assert(false, "the get get_action_space method is not implemented when extending from ai_controller")return {"example_actions_continous" : {"size": 2,"action_type": "continuous"},"example_actions_discrete" : {"size": 2,"action_type": "discrete"},}func set_action(action) -> void:assert(false, "the get set_action method is not implemented when extending from ai_controller")# -----------------------------------------------------------------------------#func _physics_process(delta):n_steps += 1if n_steps > reset_after:needs_reset = truefunc get_obs_space():# may need overriding if the obs space is complexvar obs = get_obs()return {"obs": {"size": [len(obs["obs"])],"space": "box"},}func reset():n_steps = 0needs_reset = falsefunc reset_if_done():if done:reset()func set_heuristic(h):# sets the heuristic from "human" or "model" nothing to change hereheuristic = hfunc get_done():return donefunc set_done_false():done = falsefunc zero_reward():reward = 0.012345678910111213141516171819202122232 unmodified lines2627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114extends Node3Dclass_name AIController3Denum ControlModes { INHERIT_FROM_SYNC, HUMAN, TRAINING, ONNX_INFERENCE, RECORD_EXPERT_DEMOS }@export var control_mode: ControlModes = ControlModes.INHERIT_FROM_SYNC@export var onnx_model_path := ""@export var reset_after := 1000@export_group("Record expert demos mode options")## Path where the demos will be saved. The file can later be used for imitation learning.@export var expert_demo_save_path: String## The action that erases the last recorded episode from the currently recorded data.@export var remove_last_episode_key: InputEvent## Action will be repeated for n frames. Will introduce control lag if larger than 1.## Can be used to ensure that action_repeat on inference and training matches## the recorded demonstrations.@export var action_repeat: int = 1var onnx_model: ONNXModelvar heuristic := "human"var done := falsevar reward := 0.02 unmodified linesvar _player: Node3Dfunc _ready():add_to_group("AGENT")func init(player: Node3D):_player = player#-- Methods that need implementing using the "extend script" option in Godot --#func get_obs() -> Dictionary:assert(false, "the get_obs method is not implemented when extending from ai_controller")return {"obs": []}func get_reward() -> float:assert(false, "the get_reward method is not implemented when extending from ai_controller")return 0.0func get_action_space() -> Dictionary:assert(false,"the get get_action_space method is not implemented when extending from ai_controller")return {"example_actions_continous": {"size": 2, "action_type": "continuous"},"example_actions_discrete": {"size": 2, "action_type": "discrete"},}func set_action(action) -> void:assert(false, "the get set_action method is not implemented when extending from ai_controller")#-----------------------------------------------------------------------------##-- Methods that sometimes need implementing using the "extend script" option in Godot --## Only needed if you are recording expert demos with this AIControllerfunc get_action() -> Array:assert(false, "the get set_action method is not implemented in extended AIController but demo_recorder is used")return []# -----------------------------------------------------------------------------#func _physics_process(delta):n_steps += 1if n_steps > reset_after:needs_reset = truefunc get_obs_space():# may need overriding if the obs space is complexvar obs = get_obs()return {"obs": {"size": [len(obs["obs"])], "space": "box"},}func reset():n_steps = 0needs_reset = falsefunc reset_if_done():if done:reset()func set_heuristic(h):# sets the heuristic from "human" or "model" nothing to change hereheuristic = hfunc get_done():return donefunc set_done_false():done = falsefunc zero_reward():reward = 0.0
3 unmodified lines45678910111213141516171819202122233 unmodified linesvar inferencer = null# Must provide the path to the model and the batch sizefunc _init(model_path, batch_size):inferencer = inferencer_script.new()inferencer.Initialize(model_path, batch_size)# This function is the one that will be called from the game,# requires the observation as an array and the state_ins as an int# returns an Array containing the action the model takes.func run_inference(obs : Array, state_ins : int) -> Dictionary:if inferencer == null:printerr("Inferencer not initialized")return {}return inferencer.RunInference(obs, state_ins)func _notification(what):if what == NOTIFICATION_PREDELETE:inferencer.FreeDisposables()3 unmodified lines45678910111213141516171819202122232425263 unmodified linesvar inferencer = null# Must provide the path to the model and the batch sizefunc _init(model_path, batch_size):inferencer = inferencer_script.new()inferencer.Initialize(model_path, batch_size)# This function is the one that will be called from the game,# requires the observation as an array and the state_ins as an int# returns an Array containing the action the model takes.func run_inference(obs: Array, state_ins: int) -> Dictionary:if inferencer == null:printerr("Inferencer not initialized")return {}return inferencer.RunInference(obs, state_ins)func _notification(what):if what == NOTIFICATION_PREDELETE:inferencer.FreeDisposables()
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235@toolextends ISensor2Dclass_name GridSensor2D
@export var debug_view := false: get: return debug_view set(value): debug_view = value _update()
@export_flags_2d_physics var detection_mask := 0: get: return detection_mask set(value): detection_mask = value _update()
@export var collide_with_areas := false: get: return collide_with_areas set(value): collide_with_areas = value _update()
@export var collide_with_bodies := true: get: return collide_with_bodies set(value): collide_with_bodies = value _update()
@export_range(1, 200, 0.1) var cell_width := 20.0: get: return cell_width set(value): cell_width = value _update()
@export_range(1, 200, 0.1) var cell_height := 20.0: get: return cell_height set(value): cell_height = value _update()
@export_range(1, 21, 2, "or_greater") var grid_size_x := 3: get: return grid_size_x set(value): grid_size_x = value _update()
@export_range(1, 21, 2, "or_greater") var grid_size_y := 3: get: return grid_size_y set(value): grid_size_y = value _update()
var _obs_buffer: PackedFloat64Arrayvar _rectangle_shape: RectangleShape2Dvar _collision_mapping: Dictionaryvar _n_layers_per_cell: int
var _highlighted_cell_color: Colorvar _standard_cell_color: Color
func get_observation(): return _obs_buffer
func _update(): if Engine.is_editor_hint(): if is_node_ready(): _spawn_nodes()
func _ready() -> void: _set_colors()
if Engine.is_editor_hint(): if get_child_count() == 0: _spawn_nodes() else: _spawn_nodes()
func _set_colors() -> void: _standard_cell_color = Color(100.0 / 255.0, 100.0 / 255.0, 100.0 / 255.0, 100.0 / 255.0) _highlighted_cell_color = Color(255.0 / 255.0, 100.0 / 255.0, 100.0 / 255.0, 100.0 / 255.0)
func _get_collision_mapping() -> Dictionary: # defines which layer is mapped to which cell obs index var total_bits = 0 var collision_mapping = {} for i in 32: var bit_mask = 2 ** i if (detection_mask & bit_mask) > 0: collision_mapping[i] = total_bits total_bits += 1
return collision_mapping
func _spawn_nodes(): for cell in get_children(): cell.name = "_%s" % cell.name # Otherwise naming below will fail cell.queue_free()
_collision_mapping = _get_collision_mapping() #prints("collision_mapping", _collision_mapping, len(_collision_mapping)) # allocate memory for the observations _n_layers_per_cell = len(_collision_mapping) _obs_buffer = PackedFloat64Array() _obs_buffer.resize(grid_size_x * grid_size_y * _n_layers_per_cell) _obs_buffer.fill(0) #prints(len(_obs_buffer), _obs_buffer )
_rectangle_shape = RectangleShape2D.new() _rectangle_shape.set_size(Vector2(cell_width, cell_height))
var shift := Vector2( -(grid_size_x / 2) * cell_width, -(grid_size_y / 2) * cell_height, )
for i in grid_size_x: for j in grid_size_y: var cell_position = Vector2(i * cell_width, j * cell_height) + shift _create_cell(i, j, cell_position)
func _create_cell(i: int, j: int, position: Vector2): var cell := Area2D.new() cell.position = position cell.name = "GridCell %s %s" % [i, j] cell.modulate = _standard_cell_color
if collide_with_areas: cell.area_entered.connect(_on_cell_area_entered.bind(i, j)) cell.area_exited.connect(_on_cell_area_exited.bind(i, j))
if collide_with_bodies: cell.body_entered.connect(_on_cell_body_entered.bind(i, j)) cell.body_exited.connect(_on_cell_body_exited.bind(i, j))
cell.collision_layer = 0 cell.collision_mask = detection_mask cell.monitorable = true add_child(cell) cell.set_owner(get_tree().edited_scene_root)
var col_shape := CollisionShape2D.new() col_shape.shape = _rectangle_shape col_shape.name = "CollisionShape2D" cell.add_child(col_shape) col_shape.set_owner(get_tree().edited_scene_root)
if debug_view: var quad = MeshInstance2D.new() quad.name = "MeshInstance2D" var quad_mesh = QuadMesh.new()
quad_mesh.set_size(Vector2(cell_width, cell_height))
quad.mesh = quad_mesh cell.add_child(quad) quad.set_owner(get_tree().edited_scene_root)
func _update_obs(cell_i: int, cell_j: int, collision_layer: int, entered: bool): for key in _collision_mapping: var bit_mask = 2 ** key if (collision_layer & bit_mask) > 0: var collison_map_index = _collision_mapping[key]
var obs_index = ( (cell_i * grid_size_x * _n_layers_per_cell) + (cell_j * _n_layers_per_cell) + collison_map_index ) #prints(obs_index, cell_i, cell_j) if entered: _obs_buffer[obs_index] += 1 else: _obs_buffer[obs_index] -= 1
func _toggle_cell(cell_i: int, cell_j: int): var cell = get_node_or_null("GridCell %s %s" % [cell_i, cell_j])
if cell == null: print("cell not found, returning")
var n_hits = 0 var start_index = (cell_i * grid_size_x * _n_layers_per_cell) + (cell_j * _n_layers_per_cell) for i in _n_layers_per_cell: n_hits += _obs_buffer[start_index + i]
if n_hits > 0: cell.modulate = _highlighted_cell_color else: cell.modulate = _standard_cell_color
func _on_cell_area_entered(area: Area2D, cell_i: int, cell_j: int): #prints("_on_cell_area_entered", cell_i, cell_j) _update_obs(cell_i, cell_j, area.collision_layer, true) if debug_view: _toggle_cell(cell_i, cell_j) #print(_obs_buffer)
func _on_cell_area_exited(area: Area2D, cell_i: int, cell_j: int): #prints("_on_cell_area_exited", cell_i, cell_j) _update_obs(cell_i, cell_j, area.collision_layer, false) if debug_view: _toggle_cell(cell_i, cell_j)
func _on_cell_body_entered(body: Node2D, cell_i: int, cell_j: int): #prints("_on_cell_body_entered", cell_i, cell_j) _update_obs(cell_i, cell_j, body.collision_layer, true) if debug_view: _toggle_cell(cell_i, cell_j)
func _on_cell_body_exited(body: Node2D, cell_i: int, cell_j: int): #prints("_on_cell_body_exited", cell_i, cell_j) _update_obs(cell_i, cell_j, body.collision_layer, false) if debug_view: _toggle_cell(cell_i, cell_j)1234567891011121314151617181920extends Node2Dclass_name ISensor2Dvar _obs : Array = []var _active := falsefunc get_observation():passfunc activate():_active = truefunc deactivate():_active = falsefunc _update_observation():passfunc reset():pass12345678910111213141516171819202122232425extends Node2Dclass_name ISensor2Dvar _obs: Array = []var _active := falsefunc get_observation():passfunc activate():_active = truefunc deactivate():_active = falsefunc _update_observation():passfunc reset():pass
2 unmodified lines3456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051523 unmodified lines56575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171182 unmodified linesclass_name RaycastSensor2D@export_flags_2d_physics var collision_mask := 1:get: return collision_maskset(value):collision_mask = value_update()@export var collide_with_areas := false:get: return collide_with_areasset(value):collide_with_areas = value_update()@export var collide_with_bodies := true:get: return collide_with_bodiesset(value):collide_with_bodies = value_update()@export var n_rays := 16.0:get: return n_raysset(value):n_rays = value_update()@export_range(5,200,5.0) var ray_length := 200:get: return ray_lengthset(value):ray_length = value_update()@export_range(5,360,5.0) var cone_width := 360.0:get: return cone_widthset(value):cone_width = value_update()@export var debug_draw := true :get: return debug_drawset(value):debug_draw = value_update()var _angles = []var rays := []func _update():if Engine.is_editor_hint():if debug_draw:3 unmodified linesif ray is RayCast2D:remove_child(ray)func _ready() -> void:_spawn_nodes()func _spawn_nodes():for ray in rays:ray.queue_free()rays = []_angles = []var step = cone_width / (n_rays)var start = step/2 - cone_width/2for i in n_rays:var angle = start + i * stepvar ray = RayCast2D.new()ray.set_target_position(Vector2(ray_length*cos(deg_to_rad(angle)),ray_length*sin(deg_to_rad(angle))))ray.set_name("node_"+str(i))ray.enabled = trueray.collide_with_areas = collide_with_areasray.collide_with_bodies = collide_with_bodiesray.collision_mask = collision_maskadd_child(ray)rays.append(ray)_angles.append(start + i * step)func _physics_process(delta: float) -> void:if self._active:self._obs = calculate_raycasts()func get_observation() -> Array:if len(self._obs) == 0:print("obs was null, forcing raycast update")return self.calculate_raycasts()return self._obsfunc calculate_raycasts() -> Array:var result = []for ray in rays:ray.force_raycast_update()var distance = _get_raycast_distance(ray)result.append(distance)return resultfunc _get_raycast_distance(ray : RayCast2D) -> float :if !ray.is_colliding():return 0.0var distance = (global_position - ray.get_collision_point()).length()distance = clamp(distance, 0.0, ray_length)return (ray_length - distance) / ray_length2 unmodified lines345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758593 unmodified lines636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171182 unmodified linesclass_name RaycastSensor2D@export_flags_2d_physics var collision_mask := 1:get:return collision_maskset(value):collision_mask = value_update()@export var collide_with_areas := false:get:return collide_with_areasset(value):collide_with_areas = value_update()@export var collide_with_bodies := true:get:return collide_with_bodiesset(value):collide_with_bodies = value_update()@export var n_rays := 16.0:get:return n_raysset(value):n_rays = value_update()@export_range(5, 3000, 5.0) var ray_length := 200:get:return ray_lengthset(value):ray_length = value_update()@export_range(5, 360, 5.0) var cone_width := 360.0:get:return cone_widthset(value):cone_width = value_update()@export var debug_draw := true:get:return debug_drawset(value):debug_draw = value_update()var _angles = []var rays := []func _update():if Engine.is_editor_hint():if debug_draw:3 unmodified linesif ray is RayCast2D:remove_child(ray)func _ready() -> void:_spawn_nodes()func _spawn_nodes():for ray in rays:ray.queue_free()rays = []_angles = []var step = cone_width / (n_rays)var start = step / 2 - cone_width / 2for i in n_rays:var angle = start + i * stepvar ray = RayCast2D.new()ray.set_target_position(Vector2(ray_length * cos(deg_to_rad(angle)), ray_length * sin(deg_to_rad(angle))))ray.set_name("node_" + str(i))ray.enabled = falseray.collide_with_areas = collide_with_areasray.collide_with_bodies = collide_with_bodiesray.collision_mask = collision_maskadd_child(ray)rays.append(ray)_angles.append(start + i * step)func get_observation() -> Array:return self.calculate_raycasts()func calculate_raycasts() -> Array:var result = []for ray in rays:ray.enabled = trueray.force_raycast_update()var distance = _get_raycast_distance(ray)result.append(distance)ray.enabled = falsereturn resultfunc _get_raycast_distance(ray: RayCast2D) -> float:if !ray.is_colliding():return 0.0var distance = (global_position - ray.get_collision_point()).length()distance = clamp(distance, 0.0, ray_length)return (ray_length - distance) / ray_length
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258@toolextends ISensor3Dclass_name GridSensor3D
@export var debug_view := false: get: return debug_view set(value): debug_view = value _update()
@export_flags_3d_physics var detection_mask := 0: get: return detection_mask set(value): detection_mask = value _update()
@export var collide_with_areas := false: get: return collide_with_areas set(value): collide_with_areas = value _update()
@export var collide_with_bodies := false: # NOTE! The sensor will not detect StaticBody3D, add an area to static bodies to detect them get: return collide_with_bodies set(value): collide_with_bodies = value _update()
@export_range(0.1, 2, 0.1) var cell_width := 1.0: get: return cell_width set(value): cell_width = value _update()
@export_range(0.1, 2, 0.1) var cell_height := 1.0: get: return cell_height set(value): cell_height = value _update()
@export_range(1, 21, 2, "or_greater") var grid_size_x := 3: get: return grid_size_x set(value): grid_size_x = value _update()
@export_range(1, 21, 2, "or_greater") var grid_size_z := 3: get: return grid_size_z set(value): grid_size_z = value _update()
var _obs_buffer: PackedFloat64Arrayvar _box_shape: BoxShape3Dvar _collision_mapping: Dictionaryvar _n_layers_per_cell: int
var _highlighted_box_material: StandardMaterial3Dvar _standard_box_material: StandardMaterial3D
func get_observation(): return _obs_buffer
func reset(): _obs_buffer.fill(0)
func _update(): if Engine.is_editor_hint(): if is_node_ready(): _spawn_nodes()
func _ready() -> void: _make_materials()
if Engine.is_editor_hint(): if get_child_count() == 0: _spawn_nodes() else: _spawn_nodes()
func _make_materials() -> void: if _highlighted_box_material != null and _standard_box_material != null: return
_standard_box_material = StandardMaterial3D.new() _standard_box_material.set_transparency(1) # ALPHA _standard_box_material.albedo_color = Color( 100.0 / 255.0, 100.0 / 255.0, 100.0 / 255.0, 100.0 / 255.0 )
_highlighted_box_material = StandardMaterial3D.new() _highlighted_box_material.set_transparency(1) # ALPHA _highlighted_box_material.albedo_color = Color( 255.0 / 255.0, 100.0 / 255.0, 100.0 / 255.0, 100.0 / 255.0 )
func _get_collision_mapping() -> Dictionary: # defines which layer is mapped to which cell obs index var total_bits = 0 var collision_mapping = {} for i in 32: var bit_mask = 2 ** i if (detection_mask & bit_mask) > 0: collision_mapping[i] = total_bits total_bits += 1
return collision_mapping
func _spawn_nodes(): for cell in get_children(): cell.name = "_%s" % cell.name # Otherwise naming below will fail cell.queue_free()
_collision_mapping = _get_collision_mapping() #prints("collision_mapping", _collision_mapping, len(_collision_mapping)) # allocate memory for the observations _n_layers_per_cell = len(_collision_mapping) _obs_buffer = PackedFloat64Array() _obs_buffer.resize(grid_size_x * grid_size_z * _n_layers_per_cell) _obs_buffer.fill(0) #prints(len(_obs_buffer), _obs_buffer )
_box_shape = BoxShape3D.new() _box_shape.set_size(Vector3(cell_width, cell_height, cell_width))
var shift := Vector3( -(grid_size_x / 2) * cell_width, 0, -(grid_size_z / 2) * cell_width, )
for i in grid_size_x: for j in grid_size_z: var cell_position = Vector3(i * cell_width, 0.0, j * cell_width) + shift _create_cell(i, j, cell_position)
func _create_cell(i: int, j: int, position: Vector3): var cell := Area3D.new() cell.position = position cell.name = "GridCell %s %s" % [i, j]
if collide_with_areas: cell.area_entered.connect(_on_cell_area_entered.bind(i, j)) cell.area_exited.connect(_on_cell_area_exited.bind(i, j))
if collide_with_bodies: cell.body_entered.connect(_on_cell_body_entered.bind(i, j)) cell.body_exited.connect(_on_cell_body_exited.bind(i, j))
# cell.body_shape_entered.connect(_on_cell_body_shape_entered.bind(i, j))# cell.body_shape_exited.connect(_on_cell_body_shape_exited.bind(i, j))
cell.collision_layer = 0 cell.collision_mask = detection_mask cell.monitorable = true cell.input_ray_pickable = false add_child(cell) cell.set_owner(get_tree().edited_scene_root)
var col_shape := CollisionShape3D.new() col_shape.shape = _box_shape col_shape.name = "CollisionShape3D" cell.add_child(col_shape) col_shape.set_owner(get_tree().edited_scene_root)
if debug_view: var box = MeshInstance3D.new() box.name = "MeshInstance3D" var box_mesh = BoxMesh.new()
box_mesh.set_size(Vector3(cell_width, cell_height, cell_width)) box_mesh.material = _standard_box_material
box.mesh = box_mesh cell.add_child(box) box.set_owner(get_tree().edited_scene_root)
func _update_obs(cell_i: int, cell_j: int, collision_layer: int, entered: bool): for key in _collision_mapping: var bit_mask = 2 ** key if (collision_layer & bit_mask) > 0: var collison_map_index = _collision_mapping[key]
var obs_index = ( (cell_i * grid_size_x * _n_layers_per_cell) + (cell_j * _n_layers_per_cell) + collison_map_index ) #prints(obs_index, cell_i, cell_j) if entered: _obs_buffer[obs_index] += 1 else: _obs_buffer[obs_index] -= 1
func _toggle_cell(cell_i: int, cell_j: int): var cell = get_node_or_null("GridCell %s %s" % [cell_i, cell_j])
if cell == null: print("cell not found, returning")
var n_hits = 0 var start_index = (cell_i * grid_size_x * _n_layers_per_cell) + (cell_j * _n_layers_per_cell) for i in _n_layers_per_cell: n_hits += _obs_buffer[start_index + i]
var cell_mesh = cell.get_node_or_null("MeshInstance3D") if n_hits > 0: cell_mesh.mesh.material = _highlighted_box_material else: cell_mesh.mesh.material = _standard_box_material
func _on_cell_area_entered(area: Area3D, cell_i: int, cell_j: int): #prints("_on_cell_area_entered", cell_i, cell_j) _update_obs(cell_i, cell_j, area.collision_layer, true) if debug_view: _toggle_cell(cell_i, cell_j) #print(_obs_buffer)
func _on_cell_area_exited(area: Area3D, cell_i: int, cell_j: int): #prints("_on_cell_area_exited", cell_i, cell_j) _update_obs(cell_i, cell_j, area.collision_layer, false) if debug_view: _toggle_cell(cell_i, cell_j)
func _on_cell_body_entered(body: Node3D, cell_i: int, cell_j: int): #prints("_on_cell_body_entered", cell_i, cell_j) _update_obs(cell_i, cell_j, body.collision_layer, true) if debug_view: _toggle_cell(cell_i, cell_j)
func _on_cell_body_exited(body: Node3D, cell_i: int, cell_j: int): #prints("_on_cell_body_exited", cell_i, cell_j) _update_obs(cell_i, cell_j, body.collision_layer, false) if debug_view: _toggle_cell(cell_i, cell_j)1234567891011121314151617181920extends Node3Dclass_name ISensor3Dvar _obs : Array = []var _active := falsefunc get_observation():passfunc activate():_active = truefunc deactivate():_active = falsefunc _update_observation():passfunc reset():pass12345678910111213141516171819202122232425extends Node3Dclass_name ISensor3Dvar _obs: Array = []var _active := falsefunc get_observation():passfunc activate():_active = truefunc deactivate():_active = falsefunc _update_observation():passfunc reset():pass
2 unmodified lines345678910112 unmodified linesvar camera_pixels = null@onready var camera_texture := $Control/TextureRect/CameraTexture as Sprite2Dfunc get_camera_pixel_encoding():return camera_texture.get_texture().get_data().data["data"].hex_encode()func get_camera_shape()-> Array:return [$SubViewport.size[0], $SubViewport.size[1], 4]2 unmodified lines34567891011121314151617181920212 unmodified linesvar camera_pixels = null@onready var camera_texture := $Control/TextureRect/CameraTexture as Sprite2D@onready var sub_viewport := $SubViewport as SubViewportfunc get_camera_pixel_encoding():return camera_texture.get_texture().get_image().get_data().hex_encode()func get_camera_shape() -> Array:assert(sub_viewport.size.x >= 36 and sub_viewport.size.y >= 36,"SubViewport size must be 36x36 or larger.")if sub_viewport.transparent_bg:return [4, sub_viewport.size.y, sub_viewport.size.x]else:return [3, sub_viewport.size.y, sub_viewport.size.x]
123456789101112131415161718192021222324252627282930313233343536373839404142[gd_scene load_steps=3 format=2][ext_resource path="res://addons/godot_rl_agents/sensors/sensors_3d/RGBCameraSensor3D.gd" type="Script" id=1][sub_resource type="ViewportTexture" id=1]viewport_path = NodePath("SubViewport")[node name="RGBCameraSensor3D" type="Node3D"]script = ExtResource( 1 )[node name="RemoteTransform3D" type="RemoteTransform3D" parent="."]remote_path = NodePath("../SubViewport/Camera3D")[node name="SubViewport" type="SubViewport" parent="."]size = Vector2( 32, 32 )render_target_update_mode = 3[node name="Camera3D" type="Camera3D" parent="SubViewport"]near = 0.5[node name="Control" type="Control" parent="."]anchor_right = 1.0anchor_bottom = 1.0__meta__ = {"_edit_use_anchors_": false}[node name="TextureRect" type="ColorRect" parent="Control"]offset_left = 1096.0offset_top = 534.0offset_right = 1114.0offset_bottom = 552.0scale = Vector2( 10, 10 )color = Color( 0.00784314, 0.00784314, 0.00784314, 1 )__meta__ = {"_edit_use_anchors_": false}[node name="CameraTexture" type="Sprite2D" parent="Control/TextureRect"]texture = SubResource( 1 )offset = Vector2( 9, 9 )flip_v = true1234567891011121314151617181920212223242526272829303132333435363738394041[gd_scene load_steps=3 format=3 uid="uid://baaywi3arsl2m"][ext_resource type="Script" path="res://addons/godot_rl_agents/sensors/sensors_3d/RGBCameraSensor3D.gd" id="1"][sub_resource type="ViewportTexture" id="1"]viewport_path = NodePath("SubViewport")[node name="RGBCameraSensor3D" type="Node3D"]script = ExtResource("1")[node name="RemoteTransform3D" type="RemoteTransform3D" parent="."]remote_path = NodePath("../SubViewport/Camera3D")[node name="SubViewport" type="SubViewport" parent="."]size = Vector2i(32, 32)render_target_update_mode = 3[node name="Camera3D" type="Camera3D" parent="SubViewport"]near = 0.5[node name="Control" type="Control" parent="."]layout_mode = 3anchors_preset = 15anchor_right = 1.0anchor_bottom = 1.0grow_horizontal = 2grow_vertical = 2[node name="TextureRect" type="ColorRect" parent="Control"]layout_mode = 0offset_left = 1096.0offset_top = 534.0offset_right = 1114.0offset_bottom = 552.0scale = Vector2(10, 10)color = Color(0.00784314, 0.00784314, 0.00784314, 1)[node name="CameraTexture" type="Sprite2D" parent="Control/TextureRect"]texture = SubResource("1")offset = Vector2(9, 9)flip_v = true
1 unmodified line23456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475762 unmodified lines7980818283848586878889909192934 unmodified lines98991001011021031041051061 unmodified line1081091101111121131141151161171181191201211222 unmodified lines1251261271281291301311321331341351361371381391401411421431443 unmodified lines1481491501511521531541551561571581591601611621631641651661 unmodified lineextends ISensor3Dclass_name RayCastSensor3D@export_flags_3d_physics var collision_mask = 1:get: return collision_maskset(value):collision_mask = value_update()@export_flags_3d_physics var boolean_class_mask = 1:get: return boolean_class_maskset(value):boolean_class_mask = value_update()@export var n_rays_width := 6.0:get: return n_rays_widthset(value):n_rays_width = value_update()@export var n_rays_height := 6.0:get: return n_rays_heightset(value):n_rays_height = value_update()@export var ray_length := 10.0:get: return ray_lengthset(value):ray_length = value_update()@export var cone_width := 60.0:get: return cone_widthset(value):cone_width = value_update()@export var cone_height := 60.0:get: return cone_heightset(value):cone_height = value_update()@export var collide_with_areas := false:get: return collide_with_areasset(value):collide_with_areas = value_update()@export var collide_with_bodies := true:get: return collide_with_bodiesset(value):collide_with_bodies = value_update()@export var class_sensor := falsevar rays := []var geo = nullfunc _update():if Engine.is_editor_hint():if is_node_ready():_spawn_nodes()func _ready() -> void:if Engine.is_editor_hint():if get_child_count() == 0:_spawn_nodes()else:_spawn_nodes()func _spawn_nodes():print("spawning nodes")for ray in get_children():2 unmodified linesgeo.clear()#$Lines.remove_points()rays = []var horizontal_step = cone_width / (n_rays_width)var vertical_step = cone_height / (n_rays_height)var horizontal_start = horizontal_step/2 - cone_width/2var vertical_start = vertical_step/2 - cone_height/2var points = []for i in n_rays_width:for j in n_rays_height:var angle_w = horizontal_start + i * horizontal_step4 unmodified linesray.set_target_position(cast_to)points.append(cast_to)ray.set_name("node_"+str(i)+" "+str(j))ray.enabled = trueray.collide_with_bodies = collide_with_bodiesray.collide_with_areas = collide_with_areasray.collision_mask = collision_mask1 unmodified lineray.set_owner(get_tree().edited_scene_root)rays.append(ray)ray.force_raycast_update()# if Engine.editor_hint:# _create_debug_lines(points)func _create_debug_lines(points):if not geo:geo = ImmediateMesh.new()add_child(geo)geo.clear()geo.begin(Mesh.PRIMITIVE_LINES)for point in points:2 unmodified linesgeo.add_vertex(point)geo.end()func display():if geo:geo.display()func to_spherical_coords(r, inc, azimuth) -> Vector3:return Vector3(r*sin(deg_to_rad(inc))*cos(deg_to_rad(azimuth)),r*sin(deg_to_rad(azimuth)),r*cos(deg_to_rad(inc))*cos(deg_to_rad(azimuth)))func get_observation() -> Array:return self.calculate_raycasts()func calculate_raycasts() -> Array:var result = []for ray in rays:3 unmodified linesresult.append(distance)if class_sensor:var hit_class = 0if ray.get_collider():var hit_collision_layer = ray.get_collider().collision_layerhit_collision_layer = hit_collision_layer & collision_maskhit_class = (hit_collision_layer & boolean_class_mask) > 0result.append(hit_class)ray.set_enabled(false)return resultfunc _get_raycast_distance(ray : RayCast3D) -> float :if !ray.is_colliding():return 0.0var distance = (global_transform.origin - ray.get_collision_point()).length()distance = clamp(distance, 0.0, ray_length)return (ray_length - distance) / ray_length1 unmodified line23456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687882 unmodified lines9192939495969798991001011021031041054 unmodified lines1101111121131141151161171181 unmodified line1201211221231241251261271281291301311321331341351362 unmodified lines1391401411421431441451461471481491501511521531541551561571581591601611623 unmodified lines1661671681691701711721731741751761771781791801811821831841851 unmodified lineextends ISensor3Dclass_name RayCastSensor3D@export_flags_3d_physics var collision_mask = 1:get:return collision_maskset(value):collision_mask = value_update()@export_flags_3d_physics var boolean_class_mask = 1:get:return boolean_class_maskset(value):boolean_class_mask = value_update()@export var n_rays_width := 6.0:get:return n_rays_widthset(value):n_rays_width = value_update()@export var n_rays_height := 6.0:get:return n_rays_heightset(value):n_rays_height = value_update()@export var ray_length := 10.0:get:return ray_lengthset(value):ray_length = value_update()@export var cone_width := 60.0:get:return cone_widthset(value):cone_width = value_update()@export var cone_height := 60.0:get:return cone_heightset(value):cone_height = value_update()@export var collide_with_areas := false:get:return collide_with_areasset(value):collide_with_areas = value_update()@export var collide_with_bodies := true:get:return collide_with_bodiesset(value):collide_with_bodies = value_update()@export var class_sensor := falsevar rays := []var geo = nullfunc _update():if Engine.is_editor_hint():if is_node_ready():_spawn_nodes()func _ready() -> void:if Engine.is_editor_hint():if get_child_count() == 0:_spawn_nodes()else:_spawn_nodes()func _spawn_nodes():print("spawning nodes")for ray in get_children():2 unmodified linesgeo.clear()#$Lines.remove_points()rays = []var horizontal_step = cone_width / (n_rays_width)var vertical_step = cone_height / (n_rays_height)var horizontal_start = horizontal_step / 2 - cone_width / 2var vertical_start = vertical_step / 2 - cone_height / 2var points = []for i in n_rays_width:for j in n_rays_height:var angle_w = horizontal_start + i * horizontal_step4 unmodified linesray.set_target_position(cast_to)points.append(cast_to)ray.set_name("node_" + str(i) + " " + str(j))ray.enabled = trueray.collide_with_bodies = collide_with_bodiesray.collide_with_areas = collide_with_areasray.collision_mask = collision_mask1 unmodified lineray.set_owner(get_tree().edited_scene_root)rays.append(ray)ray.force_raycast_update()# if Engine.editor_hint:# _create_debug_lines(points)func _create_debug_lines(points):if not geo:geo = ImmediateMesh.new()add_child(geo)geo.clear()geo.begin(Mesh.PRIMITIVE_LINES)for point in points:2 unmodified linesgeo.add_vertex(point)geo.end()func display():if geo:geo.display()func to_spherical_coords(r, inc, azimuth) -> Vector3:return Vector3(r * sin(deg_to_rad(inc)) * cos(deg_to_rad(azimuth)),r * sin(deg_to_rad(azimuth)),r * cos(deg_to_rad(inc)) * cos(deg_to_rad(azimuth)))func get_observation() -> Array:return self.calculate_raycasts()func calculate_raycasts() -> Array:var result = []for ray in rays:3 unmodified linesresult.append(distance)if class_sensor:var hit_class: float = 0if ray.get_collider():var hit_collision_layer = ray.get_collider().collision_layerhit_collision_layer = hit_collision_layer & collision_maskhit_class = (hit_collision_layer & boolean_class_mask) > 0result.append(float(hit_class))ray.set_enabled(false)return resultfunc _get_raycast_distance(ray: RayCast3D) -> float:if !ray.is_colliding():return 0.0var distance = (global_transform.origin - ray.get_collision_point()).length()distance = clamp(distance, 0.0, ray_length)return (ray_length - distance) / ray_length
7 unmodified lines891011121314151617181920212223242526272829303132337 unmodified linesn_rays_height = 2.0ray_length = 11.0[node name="@node_0 0@18991" type="RayCast3D" parent="."]target_position = Vector3(-4.06608, -2.84701, 9.81639)[node name="node_0 1" type="RayCast3D" parent="."]target_position = Vector3(-4.06608, 2.84701, 9.81639)[node name="@node_1 0@18992" type="RayCast3D" parent="."]target_position = Vector3(-1.38686, -2.84701, 10.5343)[node name="@node_1 1@18993" type="RayCast3D" parent="."]target_position = Vector3(-1.38686, 2.84701, 10.5343)[node name="@node_2 0@18994" type="RayCast3D" parent="."]target_position = Vector3(1.38686, -2.84701, 10.5343)[node name="@node_2 1@18995" type="RayCast3D" parent="."]target_position = Vector3(1.38686, 2.84701, 10.5343)[node name="@node_3 0@18996" type="RayCast3D" parent="."]target_position = Vector3(4.06608, -2.84701, 9.81639)[node name="@node_3 1@18997" type="RayCast3D" parent="."]target_position = Vector3(4.06608, 2.84701, 9.81639)7 unmodified lines891011121314151617181920212223242526277 unmodified linesn_rays_height = 2.0ray_length = 11.0[node name="node_1 0" type="RayCast3D" parent="."]target_position = Vector3(-1.38686, -2.84701, 10.5343)[node name="node_1 1" type="RayCast3D" parent="."]target_position = Vector3(-1.38686, 2.84701, 10.5343)[node name="node_2 0" type="RayCast3D" parent="."]target_position = Vector3(1.38686, -2.84701, 10.5343)[node name="node_2 1" type="RayCast3D" parent="."]target_position = Vector3(1.38686, 2.84701, 10.5343)[node name="node_3 0" type="RayCast3D" parent="."]target_position = Vector3(4.06608, -2.84701, 9.81639)[node name="node_3 1" type="RayCast3D" parent="."]target_position = Vector3(4.06608, 2.84701, 9.81639)
12345678910111213141516171819201 unmodified line2223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611625 unmodified lines1681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112127 unmodified lines2202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602 unmodified lines263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338extends Node# --fixed-fps 2000 --disable-render-loop@export_range(1, 10, 1, "or_greater") var action_repeat := 8@export_range(1, 10, 1, "or_greater") var speed_up = 1@export var onnx_model_path := ""@onready var start_time = Time.get_ticks_msec()const MAJOR_VERSION := "0"const MINOR_VERSION := "3"const DEFAULT_PORT := "11008"const DEFAULT_SEED := "1"var stream : StreamPeerTCP = nullvar connected = falsevar message_centervar should_connect = truevar agentsvar need_to_send_obs = falsevar args = nullvar initialized = false1 unmodified linevar onnx_model = nullvar n_action_steps = 0var _action_space : Dictionaryvar _obs_space : Dictionary# Called when the node enters the scene tree for the first time.func _ready():await get_tree().root.readyget_tree().set_pause(true)_initialize()await get_tree().create_timer(1.0).timeoutget_tree().set_pause(false)func _initialize():_get_agents()_obs_space = agents[0].get_obs_space()_action_space = agents[0].get_action_space()args = _get_args()Engine.physics_ticks_per_second = _get_speedup() * 60 # Replace with function body.Engine.time_scale = _get_speedup() * 1.0prints("physics ticks", Engine.physics_ticks_per_second, Engine.time_scale, _get_speedup(), speed_up)# Run inference if onnx model path is set, otherwise wait for server connectionvar run_onnx_model_inference : bool = onnx_model_path != ""if run_onnx_model_inference:assert(FileAccess.file_exists(onnx_model_path), "Onnx Model Path set on Sync node does not exist: " + onnx_model_path)onnx_model = ONNXModel.new(onnx_model_path, 1)_set_heuristic("model")else:connected = connect_to_server()if connected:_set_heuristic("model")_handshake()_send_env_info()else:_set_heuristic("human")_set_seed()_set_action_repeat()initialized = truefunc _physics_process(delta):# two modes, human control, agent control# pause tree, send obs, get actions, set actions, unpause treeif n_action_steps % action_repeat != 0:n_action_steps += 1returnn_action_steps += 1if connected:get_tree().set_pause(true)if just_reset:just_reset = falsevar obs = _get_obs_from_agents()var reply = {"type": "reset","obs": obs}_send_dict_as_json_message(reply)# this should go straight to getting the action and setting it checked the agent, no need to perform one phyics tickget_tree().set_pause(false)returnif need_to_send_obs:need_to_send_obs = falsevar reward = _get_reward_from_agents()var done = _get_done_from_agents()#_reset_agents_if_done() # this ensures the new observation is from the next env instance : NEEDS REFACTORvar obs = _get_obs_from_agents()var reply = {"type": "step","obs": obs,"reward": reward,"done": done}_send_dict_as_json_message(reply)var handled = handle_message()elif onnx_model != null:var obs : Array = _get_obs_from_agents()var actions = []for o in obs:var action = onnx_model.run_inference(o["obs"], 1.0)action["output"] = clamp_array(action["output"], -1.0, 1.0)var action_dict = _extract_action_dict(action["output"])actions.append(action_dict)_set_agent_actions(actions)need_to_send_obs = trueget_tree().set_pause(false)_reset_agents_if_done()else:_reset_agents_if_done()func _extract_action_dict(action_array: Array):var index = 0var result = {}for key in _action_space.keys():var size = _action_space[key]["size"]if _action_space[key]["action_type"] == "discrete":result[key] = round(action_array[index])else:result[key] = action_array.slice(index,index+size)index += sizereturn resultfunc _get_agents():agents = get_tree().get_nodes_in_group("AGENT")func _set_heuristic(heuristic):for agent in agents:agent.set_heuristic(heuristic)func _handshake():print("performing handshake")var json_dict = _get_dict_json_message()assert(json_dict["type"] == "handshake")var major_version = json_dict["major_version"]var minor_version = json_dict["minor_version"]if major_version != MAJOR_VERSION:print("WARNING: major verison mismatch ", major_version, " ", MAJOR_VERSION)if minor_version != MINOR_VERSION:print("WARNING: minor verison mismatch ", minor_version, " ", MINOR_VERSION)print("handshake complete")func _get_dict_json_message():# returns a dictionary from of the most recent message# this is not waiting5 unmodified linesreturn nullOS.delay_usec(10)var message = stream.get_string()var json_data = JSON.parse_string(message)return json_datafunc _send_dict_as_json_message(dict):stream.put_string(JSON.stringify(dict))func _send_env_info():var json_dict = _get_dict_json_message()assert(json_dict["type"] == "env_info")var message = {"type" : "env_info","observation_space": _obs_space,"action_space":_action_space,"n_agents": len(agents)}_send_dict_as_json_message(message)func connect_to_server():print("Waiting for one second to allow server to start")OS.delay_msec(1000)print("trying to connect to server")stream = StreamPeerTCP.new()# "localhost" was not working on windows VM, had to use the IPvar ip = "127.0.0.1"var port = _get_port()var connect = stream.connect_to_host(ip, port)stream.set_no_delay(true) # TODO check if this improves performance or notstream.poll()# Fetch the status until it is either connected (2) or failed to connect (3)while stream.get_status() < 2:stream.poll()return stream.get_status() == 2func _get_args():print("getting command line arguments")var arguments = {}7 unmodified lines# with the value set to an empty string.arguments[argument.lstrip("--")] = ""return argumentsfunc _get_speedup():print(args)return args.get("speedup", str(speed_up)).to_int()func _get_port():return args.get("port", DEFAULT_PORT).to_int()func _set_seed():var _seed = args.get("env_seed", DEFAULT_SEED).to_int()seed(_seed)func _set_action_repeat():action_repeat = args.get("action_repeat", str(action_repeat)).to_int()func disconnect_from_server():stream.disconnect_from_host()func handle_message() -> bool:# get json message: reset, step, closevar message = _get_dict_json_message()if message["type"] == "close":print("received close message, closing game")get_tree().quit()get_tree().set_pause(false)return trueif message["type"] == "reset":print("resetting all agents")_reset_all_agents()just_reset = trueget_tree().set_pause(false)#print("resetting forcing draw")# RenderingServer.force_draw()# var obs = _get_obs_from_agents()2 unmodified lines# "type": "reset",# "obs": obs# }# _send_dict_as_json_message(reply)return trueif message["type"] == "call":var method = message["method"]var returns = _call_method_on_agents(method)var reply = {"type": "call","returns": returns}print("calling method from Python")_send_dict_as_json_message(reply)return handle_message()if message["type"] == "action":var action = message["action"]_set_agent_actions(action)need_to_send_obs = trueget_tree().set_pause(false)return trueprint("message was not handled")return falsefunc _call_method_on_agents(method):var returns = []for agent in agents:returns.append(agent.call(method))return returnsfunc _reset_agents_if_done():for agent in agents:if agent.get_done():agent.set_done_false()func _reset_all_agents():for agent in agents:agent.needs_reset = true#agent.reset()func _get_obs_from_agents():var obs = []for agent in agents:obs.append(agent.get_obs())return obsfunc _get_reward_from_agents():var rewards = []for agent in agents:rewards.append(agent.get_reward())agent.zero_reward()return rewardsfunc _get_done_from_agents():var dones = []for agent in agents:var done = agent.get_done()if done: agent.set_done_false()dones.append(done)return donesfunc _set_agent_actions(actions):for i in range(len(actions)):agents[i].set_action(actions[i])func clamp_array(arr : Array, min:float, max:float):var output : Array = []for a in arr:output.append(clamp(a, min, max))return output1234567891011121314151617181920212223242526272829303132333435363738391 unmodified line41424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343355 unmodified lines3413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873887 unmodified lines3963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394402 unmodified lines443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540extends Node# --fixed-fps 2000 --disable-render-loopenum ControlModes { HUMAN, TRAINING, ONNX_INFERENCE }@export var control_mode: ControlModes = ControlModes.TRAINING@export_range(1, 10, 1, "or_greater") var action_repeat := 8@export_range(0, 10, 0.1, "or_greater") var speed_up := 1.0@export var onnx_model_path := ""# Onnx model stored for each requested pathvar onnx_models: Dictionary@onready var start_time = Time.get_ticks_msec()const MAJOR_VERSION := "0"const MINOR_VERSION := "7"const DEFAULT_PORT := "11008"const DEFAULT_SEED := "1"var stream: StreamPeerTCP = nullvar connected = falsevar message_centervar should_connect = truevar all_agents: Arrayvar agents_training: Arrayvar agents_inference: Arrayvar agents_heuristic: Array## For recording expert demosvar agent_demo_record: Node## Stores recorded trajectoriesvar demo_trajectories: Array## A trajectory includes obs: Array, acts: Array, terminal (set in Python env instead)var current_demo_trajectory: Arrayvar need_to_send_obs = falsevar args = nullvar initialized = false1 unmodified linevar onnx_model = nullvar n_action_steps = 0var _action_space: Dictionaryvar _action_space_inference: Array[Dictionary] = []var _obs_space: Dictionary# Called when the node enters the scene tree for the first time.func _ready():await get_tree().root.readyget_tree().set_pause(true)_initialize()await get_tree().create_timer(1.0).timeoutget_tree().set_pause(false)func _initialize():_get_agents()args = _get_args()Engine.physics_ticks_per_second = _get_speedup() * 60 # Replace with function body.Engine.time_scale = _get_speedup() * 1.0prints("physics ticks",Engine.physics_ticks_per_second,Engine.time_scale,_get_speedup(),speed_up)_set_heuristic("human", all_agents)_initialize_training_agents()_initialize_inference_agents()_initialize_demo_recording()_set_seed()_set_action_repeat()initialized = truefunc _initialize_training_agents():if agents_training.size() > 0:_obs_space = agents_training[0].get_obs_space()_action_space = agents_training[0].get_action_space()connected = connect_to_server()if connected:_set_heuristic("model", agents_training)_handshake()_send_env_info()else:push_warning("Couldn't connect to Python server, using human controls instead. ","Did you start the training server using e.g. `gdrl` from the console?")func _initialize_inference_agents():if agents_inference.size() > 0:if control_mode == ControlModes.ONNX_INFERENCE:assert(FileAccess.file_exists(onnx_model_path),"Onnx Model Path set on Sync node does not exist: %s" % onnx_model_path)onnx_models[onnx_model_path] = ONNXModel.new(onnx_model_path, 1)for agent in agents_inference:_action_space_inference.append(agent.get_action_space())var agent_onnx_model: ONNXModelif agent.onnx_model_path.is_empty():assert(onnx_models.has(onnx_model_path),("Node %s has no onnx model path set " % agent.get_path()+ "and sync node's control mode is not set to OnnxInference. "+ "Either add the path to the AIController, "+ "or if you want to use the path set on sync node instead, "+ "set control mode to OnnxInference."))prints("Info: AIController %s" % agent.get_path(),"has no onnx model path set.","Using path set on the sync node instead.")agent_onnx_model = onnx_models[onnx_model_path]else:if not onnx_models.has(agent.onnx_model_path):assert(FileAccess.file_exists(agent.onnx_model_path),("Onnx Model Path set on %s node does not exist: %s"% [agent.get_path(), agent.onnx_model_path]))onnx_models[agent.onnx_model_path] = ONNXModel.new(agent.onnx_model_path, 1)agent_onnx_model = onnx_models[agent.onnx_model_path]agent.onnx_model = agent_onnx_model_set_heuristic("model", agents_inference)func _initialize_demo_recording():if agent_demo_record:InputMap.add_action("RemoveLastDemoEpisode")InputMap.action_add_event("RemoveLastDemoEpisode", agent_demo_record.remove_last_episode_key)current_demo_trajectory.resize(2)current_demo_trajectory[0] = []current_demo_trajectory[1] = []agent_demo_record.heuristic = "demo_record"func _physics_process(_delta):# two modes, human control, agent control# pause tree, send obs, get actions, set actions, unpause tree_demo_record_process()if n_action_steps % action_repeat != 0:n_action_steps += 1returnn_action_steps += 1_training_process()_inference_process()_heuristic_process()func _training_process():if connected:get_tree().set_pause(true)if just_reset:just_reset = falsevar obs = _get_obs_from_agents(agents_training)var reply = {"type": "reset", "obs": obs}_send_dict_as_json_message(reply)# this should go straight to getting the action and setting it checked the agent, no need to perform one phyics tickget_tree().set_pause(false)returnif need_to_send_obs:need_to_send_obs = falsevar reward = _get_reward_from_agents()var done = _get_done_from_agents()#_reset_agents_if_done() # this ensures the new observation is from the next env instance : NEEDS REFACTORvar obs = _get_obs_from_agents(agents_training)var reply = {"type": "step", "obs": obs, "reward": reward, "done": done}_send_dict_as_json_message(reply)var handled = handle_message()func _inference_process():if agents_inference.size() > 0:var obs: Array = _get_obs_from_agents(agents_inference)var actions = []for agent_id in range(0, agents_inference.size()):var action = agents_inference[agent_id].onnx_model.run_inference(obs[agent_id]["obs"], 1.0)action["output"] = clamp_array(action["output"], -1.0, 1.0)var action_dict = _extract_action_dict(action["output"], _action_space_inference[agent_id])actions.append(action_dict)_set_agent_actions(actions, agents_inference)_reset_agents_if_done(agents_inference)get_tree().set_pause(false)func _demo_record_process():if not agent_demo_record:returnif Input.is_action_just_pressed("RemoveLastDemoEpisode"):print("[Sync script][Demo recorder] Removing last recorded episode.")demo_trajectories.remove_at(demo_trajectories.size() - 1)print("Remaining episode count: %d" % demo_trajectories.size())if n_action_steps % agent_demo_record.action_repeat != 0:returnvar obs_dict: Dictionary = agent_demo_record.get_obs()# Get the current obs from the agentassert(obs_dict.has("obs"),"Demo recorder needs an 'obs' key in get_obs() returned dictionary to record obs from.")current_demo_trajectory[0].append(obs_dict.obs)# Get the action applied for the current obs from the agentagent_demo_record.set_action()var acts = agent_demo_record.get_action()var terminal = agent_demo_record.get_done()# Record actions only for non-terminal statesif terminal:agent_demo_record.set_done_false()else:current_demo_trajectory[1].append(acts)if terminal:#current_demo_trajectory[2].append(true)demo_trajectories.append(current_demo_trajectory.duplicate(true))print("[Sync script][Demo recorder] Recorded episode count: %d" % demo_trajectories.size())current_demo_trajectory[0].clear()current_demo_trajectory[1].clear()func _heuristic_process():for agent in agents_heuristic:_reset_agents_if_done(agents_heuristic)func _extract_action_dict(action_array: Array, action_space: Dictionary):var index = 0var result = {}for key in action_space.keys():var size = action_space[key]["size"]if action_space[key]["action_type"] == "discrete":result[key] = round(action_array[index])else:result[key] = action_array.slice(index, index + size)index += sizereturn result## For AIControllers that inherit mode from sync, sets the correct mode.func _set_agent_mode(agent: Node):var agent_inherits_mode: bool = agent.control_mode == agent.ControlModes.INHERIT_FROM_SYNCif agent_inherits_mode:match control_mode:ControlModes.HUMAN:agent.control_mode = agent.ControlModes.HUMANControlModes.TRAINING:agent.control_mode = agent.ControlModes.TRAININGControlModes.ONNX_INFERENCE:agent.control_mode = agent.ControlModes.ONNX_INFERENCEfunc _get_agents():all_agents = get_tree().get_nodes_in_group("AGENT")for agent in all_agents:_set_agent_mode(agent)if agent.control_mode == agent.ControlModes.TRAINING:agents_training.append(agent)elif agent.control_mode == agent.ControlModes.ONNX_INFERENCE:agents_inference.append(agent)elif agent.control_mode == agent.ControlModes.HUMAN:agents_heuristic.append(agent)elif agent.control_mode == agent.ControlModes.RECORD_EXPERT_DEMOS:assert(not agent_demo_record,"Currently only a single AIController can be used for recording expert demos.")agent_demo_record = agentfunc _set_heuristic(heuristic, agents: Array):for agent in agents:agent.set_heuristic(heuristic)func _handshake():print("performing handshake")var json_dict = _get_dict_json_message()assert(json_dict["type"] == "handshake")var major_version = json_dict["major_version"]var minor_version = json_dict["minor_version"]if major_version != MAJOR_VERSION:print("WARNING: major verison mismatch ", major_version, " ", MAJOR_VERSION)if minor_version != MINOR_VERSION:print("WARNING: minor verison mismatch ", minor_version, " ", MINOR_VERSION)print("handshake complete")func _get_dict_json_message():# returns a dictionary from of the most recent message# this is not waiting5 unmodified linesreturn nullOS.delay_usec(10)var message = stream.get_string()var json_data = JSON.parse_string(message)return json_datafunc _send_dict_as_json_message(dict):stream.put_string(JSON.stringify(dict, "", false))func _send_env_info():var json_dict = _get_dict_json_message()assert(json_dict["type"] == "env_info")var message = {"type": "env_info","observation_space": _obs_space,"action_space": _action_space,"n_agents": len(agents_training)}_send_dict_as_json_message(message)func connect_to_server():print("Waiting for one second to allow server to start")OS.delay_msec(1000)print("trying to connect to server")stream = StreamPeerTCP.new()# "localhost" was not working on windows VM, had to use the IPvar ip = "127.0.0.1"var port = _get_port()var connect = stream.connect_to_host(ip, port)stream.set_no_delay(true) # TODO check if this improves performance or notstream.poll()# Fetch the status until it is either connected (2) or failed to connect (3)while stream.get_status() < 2:stream.poll()return stream.get_status() == 2func _get_args():print("getting command line arguments")var arguments = {}7 unmodified lines# with the value set to an empty string.arguments[argument.lstrip("--")] = ""return argumentsfunc _get_speedup():print(args)return args.get("speedup", str(speed_up)).to_float()func _get_port():return args.get("port", DEFAULT_PORT).to_int()func _set_seed():var _seed = args.get("env_seed", DEFAULT_SEED).to_int()seed(_seed)func _set_action_repeat():action_repeat = args.get("action_repeat", str(action_repeat)).to_int()func disconnect_from_server():stream.disconnect_from_host()func handle_message() -> bool:# get json message: reset, step, closevar message = _get_dict_json_message()if message["type"] == "close":print("received close message, closing game")get_tree().quit()get_tree().set_pause(false)return trueif message["type"] == "reset":print("resetting all agents")_reset_agents()just_reset = trueget_tree().set_pause(false)#print("resetting forcing draw")# RenderingServer.force_draw()# var obs = _get_obs_from_agents()2 unmodified lines# "type": "reset",# "obs": obs# }# _send_dict_as_json_message(reply)return trueif message["type"] == "call":var method = message["method"]var returns = _call_method_on_agents(method)var reply = {"type": "call", "returns": returns}print("calling method from Python")_send_dict_as_json_message(reply)return handle_message()if message["type"] == "action":var action = message["action"]_set_agent_actions(action, agents_training)need_to_send_obs = trueget_tree().set_pause(false)return trueprint("message was not handled")return falsefunc _call_method_on_agents(method):var returns = []for agent in all_agents:returns.append(agent.call(method))return returnsfunc _reset_agents_if_done(agents = all_agents):for agent in agents:if agent.get_done():agent.set_done_false()func _reset_agents(agents = all_agents):for agent in agents:agent.needs_reset = true#agent.reset()func _get_obs_from_agents(agents: Array = all_agents):var obs = []for agent in agents:obs.append(agent.get_obs())return obsfunc _get_reward_from_agents(agents: Array = agents_training):var rewards = []for agent in agents:rewards.append(agent.get_reward())agent.zero_reward()return rewardsfunc _get_done_from_agents(agents: Array = agents_training):var dones = []for agent in agents:var done = agent.get_done()if done:agent.set_done_false()dones.append(done)return donesfunc _set_agent_actions(actions, agents: Array = all_agents):for i in range(len(actions)):agents[i].set_action(actions[i])func clamp_array(arr: Array, min: float, max: float):var output: Array = []for a in arr:output.append(clamp(a, min, max))return output## Save recorded export demos on window exit (Close window instead of "Stop" button in Godot Editor)func _notification(what):if not agent_demo_record:returnif what == NOTIFICATION_PREDELETE:var json_string = JSON.stringify(demo_trajectories, "", false)var file = FileAccess.open(agent_demo_record.expert_demo_save_path, FileAccess.WRITE)if not file:var error: Error = FileAccess.get_open_error()assert(not error, "There was an error opening the file: %d" % error)file.store_line(json_string)var error = file.get_error()assert(not error, "There was an error after trying to write to the file: %d" % error)
123version https://git-lfs.github.com/spec/v1oid sha256:b9e3b0a80e0c9eac9dc780af6f3b948c787162bc756508639932709e3be9e772size 7141264123version https://git-lfs.github.com/spec/v1oid sha256:be528ff75d41e64ecafda7738cbb181fb5dbda7b928a942fbb67c75c30ee0827size 7229552
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980{ "runtimeTarget": { "name": ".NETCoreApp,Version=v6.0/linux-x64", "signature": "" }, "compilationOptions": {}, "targets": { ".NETCoreApp,Version=v6.0": {}, ".NETCoreApp,Version=v6.0/linux-x64": { "FlyBy/1.0.0": { "dependencies": { "Godot.SourceGenerators": "4.2.1", "GodotSharp": "4.2.1", "Microsoft.ML.OnnxRuntime": "1.15.1", "runtimepack.Microsoft.NETCore.App.Runtime.linux-x64": "6.0.27" }, "runtime": { "FlyBy.dll": {} } }, "runtimepack.Microsoft.NETCore.App.Runtime.linux-x64/6.0.27": { "runtime": { "Microsoft.CSharp.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "Microsoft.VisualBasic.Core.dll": { "assemblyVersion": "11.0.0.0", "fileVersion": "11.100.2724.6912" }, "Microsoft.VisualBasic.dll": { "assemblyVersion": "10.0.0.0", "fileVersion": "6.0.2724.6912" }, "Microsoft.Win32.Primitives.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "Microsoft.Win32.Registry.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.AppContext.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Buffers.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Collections.Concurrent.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Collections.Immutable.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Collections.NonGeneric.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Collections.Specialized.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Collections.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.ComponentModel.Annotations.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.ComponentModel.DataAnnotations.dll": { "assemblyVersion": "4.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.ComponentModel.EventBasedAsync.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.ComponentModel.Primitives.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.ComponentModel.TypeConverter.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.ComponentModel.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Configuration.dll": { "assemblyVersion": "4.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Console.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Core.dll": { "assemblyVersion": "4.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Data.Common.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Data.DataSetExtensions.dll": { "assemblyVersion": "4.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Data.dll": { "assemblyVersion": "4.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Diagnostics.Contracts.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Diagnostics.Debug.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Diagnostics.DiagnosticSource.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Diagnostics.FileVersionInfo.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Diagnostics.Process.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Diagnostics.StackTrace.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Diagnostics.TextWriterTraceListener.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Diagnostics.Tools.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Diagnostics.TraceSource.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Diagnostics.Tracing.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Drawing.Primitives.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Drawing.dll": { "assemblyVersion": "4.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Dynamic.Runtime.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Formats.Asn1.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Globalization.Calendars.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Globalization.Extensions.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Globalization.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.IO.Compression.Brotli.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.IO.Compression.FileSystem.dll": { "assemblyVersion": "4.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.IO.Compression.ZipFile.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.IO.Compression.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.IO.FileSystem.AccessControl.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.IO.FileSystem.DriveInfo.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.IO.FileSystem.Primitives.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.IO.FileSystem.Watcher.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.IO.FileSystem.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.IO.IsolatedStorage.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.IO.MemoryMappedFiles.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.IO.Pipes.AccessControl.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.IO.Pipes.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.IO.UnmanagedMemoryStream.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.IO.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Linq.Expressions.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Linq.Parallel.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Linq.Queryable.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Linq.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Memory.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Net.Http.Json.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Net.Http.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Net.HttpListener.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Net.Mail.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Net.NameResolution.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Net.NetworkInformation.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Net.Ping.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Net.Primitives.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Net.Quic.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Net.Requests.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Net.Security.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Net.ServicePoint.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Net.Sockets.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Net.WebClient.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Net.WebHeaderCollection.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Net.WebProxy.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Net.WebSockets.Client.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Net.WebSockets.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Net.dll": { "assemblyVersion": "4.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Numerics.Vectors.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Numerics.dll": { "assemblyVersion": "4.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.ObjectModel.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Private.CoreLib.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Private.DataContractSerialization.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Private.Uri.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Private.Xml.Linq.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Private.Xml.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Reflection.DispatchProxy.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Reflection.Emit.ILGeneration.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Reflection.Emit.Lightweight.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Reflection.Emit.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Reflection.Extensions.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Reflection.Metadata.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Reflection.Primitives.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Reflection.TypeExtensions.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Reflection.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Resources.Reader.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Resources.ResourceManager.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Resources.Writer.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Runtime.CompilerServices.Unsafe.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Runtime.CompilerServices.VisualC.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Runtime.Extensions.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Runtime.Handles.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Runtime.InteropServices.RuntimeInformation.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Runtime.InteropServices.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Runtime.Intrinsics.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Runtime.Loader.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Runtime.Numerics.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Runtime.Serialization.Formatters.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Runtime.Serialization.Json.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Runtime.Serialization.Primitives.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Runtime.Serialization.Xml.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Runtime.Serialization.dll": { "assemblyVersion": "4.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Runtime.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Security.AccessControl.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Security.Claims.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Security.Cryptography.Algorithms.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Security.Cryptography.Cng.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Security.Cryptography.Csp.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Security.Cryptography.Encoding.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Security.Cryptography.OpenSsl.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Security.Cryptography.Primitives.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Security.Cryptography.X509Certificates.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Security.Principal.Windows.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Security.Principal.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Security.SecureString.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Security.dll": { "assemblyVersion": "4.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.ServiceModel.Web.dll": { "assemblyVersion": "4.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.ServiceProcess.dll": { "assemblyVersion": "4.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Text.Encoding.CodePages.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Text.Encoding.Extensions.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Text.Encoding.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Text.Encodings.Web.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Text.Json.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Text.RegularExpressions.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Threading.Channels.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Threading.Overlapped.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Threading.Tasks.Dataflow.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Threading.Tasks.Extensions.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Threading.Tasks.Parallel.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Threading.Tasks.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Threading.Thread.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Threading.ThreadPool.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Threading.Timer.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Threading.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Transactions.Local.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Transactions.dll": { "assemblyVersion": "4.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.ValueTuple.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Web.HttpUtility.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Web.dll": { "assemblyVersion": "4.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Windows.dll": { "assemblyVersion": "4.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Xml.Linq.dll": { "assemblyVersion": "4.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Xml.ReaderWriter.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Xml.Serialization.dll": { "assemblyVersion": "4.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Xml.XDocument.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Xml.XPath.XDocument.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Xml.XPath.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Xml.XmlDocument.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Xml.XmlSerializer.dll": { "assemblyVersion": "6.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.Xml.dll": { "assemblyVersion": "4.0.0.0", "fileVersion": "6.0.2724.6912" }, "System.dll": { "assemblyVersion": "4.0.0.0", "fileVersion": "6.0.2724.6912" }, "WindowsBase.dll": { "assemblyVersion": "4.0.0.0", "fileVersion": "6.0.2724.6912" }, "mscorlib.dll": { "assemblyVersion": "4.0.0.0", "fileVersion": "6.0.2724.6912" }, "netstandard.dll": { "assemblyVersion": "2.1.0.0", "fileVersion": "6.0.2724.6912" } }, "native": { "createdump": { "fileVersion": "0.0.0.0" }, "libSystem.Globalization.Native.so": { "fileVersion": "0.0.0.0" }, "libSystem.IO.Compression.Native.so": { "fileVersion": "0.0.0.0" }, "libSystem.Native.so": { "fileVersion": "0.0.0.0" }, "libSystem.Net.Security.Native.so": { "fileVersion": "0.0.0.0" }, "libSystem.Security.Cryptography.Native.OpenSsl.so": { "fileVersion": "0.0.0.0" }, "libclrjit.so": { "fileVersion": "0.0.0.0" }, "libcoreclr.so": { "fileVersion": "0.0.0.0" }, "libcoreclrtraceptprovider.so": { "fileVersion": "0.0.0.0" }, "libdbgshim.so": { "fileVersion": "0.0.0.0" }, "libhostfxr.so": { "fileVersion": "0.0.0.0" }, "libhostpolicy.so": { "fileVersion": "0.0.0.0" }, "libmscordaccore.so": { "fileVersion": "0.0.0.0" }, "libmscordbi.so": { "fileVersion": "0.0.0.0" } } }, "Godot.SourceGenerators/4.2.1": {}, "GodotSharp/4.2.1": { "runtime": { "lib/net6.0/GodotSharp.dll": { "assemblyVersion": "4.2.1.0", "fileVersion": "4.2.1.0" } } }, "Microsoft.ML.OnnxRuntime/1.15.1": { "dependencies": { "Microsoft.ML.OnnxRuntime.Managed": "1.15.1" }, "native": { "runtimes/linux-x64/native/libonnxruntime.so": { "fileVersion": "0.0.0.0" } } }, "Microsoft.ML.OnnxRuntime.Managed/1.15.1": { "dependencies": { "System.Memory": "4.5.3" }, "runtime": { "lib/net6.0/Microsoft.ML.OnnxRuntime.dll": { "assemblyVersion": "0.0.0.0", "fileVersion": "0.0.0.0" } } }, "System.Memory/4.5.3": {} } }, "libraries": { "FlyBy/1.0.0": { "type": "project", "serviceable": false, "sha512": "" }, "runtimepack.Microsoft.NETCore.App.Runtime.linux-x64/6.0.27": { "type": "runtimepack", "serviceable": false, "sha512": "" }, "Godot.SourceGenerators/4.2.1": { "type": "package", "serviceable": true, "sha512": "sha512-MdLFzDZEMUbXRLH4bLX8o9Blk76M7Op76RyobZ1zyKgcIkgPqG+p53jgLFLSHpBGFKKaW3kB0w6om+wYauwHbw==", "path": "godot.sourcegenerators/4.2.1", "hashPath": "godot.sourcegenerators.4.2.1.nupkg.sha512" }, "GodotSharp/4.2.1": { "type": "package", "serviceable": true, "sha512": "sha512-6a/GML0jXcwT6LxDBtRx+hpPBUFGAmK7GVb/ehKP53nx0AHA+Yc//B7anXY4U4WCMB+ckgsouWpd8rAeupNfbw==", "path": "godotsharp/4.2.1", "hashPath": "godotsharp.4.2.1.nupkg.sha512" }, "Microsoft.ML.OnnxRuntime/1.15.1": { "type": "package", "serviceable": true, "sha512": "sha512-kqZ1pL08yus4rVi5gkqaVRzu2Dgu0fC05f1EdV/Th51DIromCh8ZiWrjX7xaED1jqLpa7gMQpa1XEiSgtaZo7Q==", "path": "microsoft.ml.onnxruntime/1.15.1", "hashPath": "microsoft.ml.onnxruntime.1.15.1.nupkg.sha512" }, "Microsoft.ML.OnnxRuntime.Managed/1.15.1": { "type": "package", "serviceable": true, "sha512": "sha512-sWsqzgVoPPfdj3/S/8+Rr9xEdS4LYH5nV7Na+K+jOnzdWjR71IFZUbpR8bbtAwT/qPmazgNgoc+tMmey4NrVmw==", "path": "microsoft.ml.onnxruntime.managed/1.15.1", "hashPath": "microsoft.ml.onnxruntime.managed.1.15.1.nupkg.sha512" }, "System.Memory/4.5.3": { "type": "package", "serviceable": true, "sha512": "sha512-3oDzvc/zzetpTKWMShs1AADwZjQ/36HnsufHRPcOjyRAAMLDlu2iD33MBI2opxnezcVUtXyqDXXjoFMOU9c7SA==", "path": "system.memory/4.5.3", "hashPath": "system.memory.4.5.3.nupkg.sha512" } }, "runtimes": { "alpine-x64": [ "alpine", "linux-musl-x64", "linux-musl", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "alpine.3.10-x64": [ "alpine.3.10", "alpine.3.9-x64", "alpine.3.9", "alpine.3.8-x64", "alpine.3.8", "alpine.3.7-x64", "alpine.3.7", "alpine.3.6-x64", "alpine.3.6", "alpine-x64", "alpine", "linux-musl-x64", "linux-musl", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "alpine.3.11-x64": [ "alpine.3.11", "alpine.3.10-x64", "alpine.3.10", "alpine.3.9-x64", "alpine.3.9", "alpine.3.8-x64", "alpine.3.8", "alpine.3.7-x64", "alpine.3.7", "alpine.3.6-x64", "alpine.3.6", "alpine-x64", "alpine", "linux-musl-x64", "linux-musl", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "alpine.3.12-x64": [ "alpine.3.12", "alpine.3.11-x64", "alpine.3.11", "alpine.3.10-x64", "alpine.3.10", "alpine.3.9-x64", "alpine.3.9", "alpine.3.8-x64", "alpine.3.8", "alpine.3.7-x64", "alpine.3.7", "alpine.3.6-x64", "alpine.3.6", "alpine-x64", "alpine", "linux-musl-x64", "linux-musl", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "alpine.3.13-x64": [ "alpine.3.13", "alpine.3.12-x64", "alpine.3.12", "alpine.3.11-x64", "alpine.3.11", "alpine.3.10-x64", "alpine.3.10", "alpine.3.9-x64", "alpine.3.9", "alpine.3.8-x64", "alpine.3.8", "alpine.3.7-x64", "alpine.3.7", "alpine.3.6-x64", "alpine.3.6", "alpine-x64", "alpine", "linux-musl-x64", "linux-musl", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "alpine.3.14-x64": [ "alpine.3.14", "alpine.3.13-x64", "alpine.3.13", "alpine.3.12-x64", "alpine.3.12", "alpine.3.11-x64", "alpine.3.11", "alpine.3.10-x64", "alpine.3.10", "alpine.3.9-x64", "alpine.3.9", "alpine.3.8-x64", "alpine.3.8", "alpine.3.7-x64", "alpine.3.7", "alpine.3.6-x64", "alpine.3.6", "alpine-x64", "alpine", "linux-musl-x64", "linux-musl", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "alpine.3.15-x64": [ "alpine.3.15", "alpine.3.14-x64", "alpine.3.14", "alpine.3.13-x64", "alpine.3.13", "alpine.3.12-x64", "alpine.3.12", "alpine.3.11-x64", "alpine.3.11", "alpine.3.10-x64", "alpine.3.10", "alpine.3.9-x64", "alpine.3.9", "alpine.3.8-x64", "alpine.3.8", "alpine.3.7-x64", "alpine.3.7", "alpine.3.6-x64", "alpine.3.6", "alpine-x64", "alpine", "linux-musl-x64", "linux-musl", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "alpine.3.16-x64": [ "alpine.3.16", "alpine.3.15-x64", "alpine.3.15", "alpine.3.14-x64", "alpine.3.14", "alpine.3.13-x64", "alpine.3.13", "alpine.3.12-x64", "alpine.3.12", "alpine.3.11-x64", "alpine.3.11", "alpine.3.10-x64", "alpine.3.10", "alpine.3.9-x64", "alpine.3.9", "alpine.3.8-x64", "alpine.3.8", "alpine.3.7-x64", "alpine.3.7", "alpine.3.6-x64", "alpine.3.6", "alpine-x64", "alpine", "linux-musl-x64", "linux-musl", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "alpine.3.17-x64": [ "alpine.3.17", "alpine.3.16-x64", "alpine.3.16", "alpine.3.15-x64", "alpine.3.15", "alpine.3.14-x64", "alpine.3.14", "alpine.3.13-x64", "alpine.3.13", "alpine.3.12-x64", "alpine.3.12", "alpine.3.11-x64", "alpine.3.11", "alpine.3.10-x64", "alpine.3.10", "alpine.3.9-x64", "alpine.3.9", "alpine.3.8-x64", "alpine.3.8", "alpine.3.7-x64", "alpine.3.7", "alpine.3.6-x64", "alpine.3.6", "alpine-x64", "alpine", "linux-musl-x64", "linux-musl", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "alpine.3.18-x64": [ "alpine.3.18", "alpine.3.17-x64", "alpine.3.17", "alpine.3.16-x64", "alpine.3.16", "alpine.3.15-x64", "alpine.3.15", "alpine.3.14-x64", "alpine.3.14", "alpine.3.13-x64", "alpine.3.13", "alpine.3.12-x64", "alpine.3.12", "alpine.3.11-x64", "alpine.3.11", "alpine.3.10-x64", "alpine.3.10", "alpine.3.9-x64", "alpine.3.9", "alpine.3.8-x64", "alpine.3.8", "alpine.3.7-x64", "alpine.3.7", "alpine.3.6-x64", "alpine.3.6", "alpine-x64", "alpine", "linux-musl-x64", "linux-musl", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "alpine.3.6-x64": [ "alpine.3.6", "alpine-x64", "alpine", "linux-musl-x64", "linux-musl", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "alpine.3.7-x64": [ "alpine.3.7", "alpine.3.6-x64", "alpine.3.6", "alpine-x64", "alpine", "linux-musl-x64", "linux-musl", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "alpine.3.8-x64": [ "alpine.3.8", "alpine.3.7-x64", "alpine.3.7", "alpine.3.6-x64", "alpine.3.6", "alpine-x64", "alpine", "linux-musl-x64", "linux-musl", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "alpine.3.9-x64": [ "alpine.3.9", "alpine.3.8-x64", "alpine.3.8", "alpine.3.7-x64", "alpine.3.7", "alpine.3.6-x64", "alpine.3.6", "alpine-x64", "alpine", "linux-musl-x64", "linux-musl", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "android-x64": [ "android", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "android.21-x64": [ "android.21", "android-x64", "android", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "android.22-x64": [ "android.22", "android.21-x64", "android.21", "android-x64", "android", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "android.23-x64": [ "android.23", "android.22-x64", "android.22", "android.21-x64", "android.21", "android-x64", "android", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "android.24-x64": [ "android.24", "android.23-x64", "android.23", "android.22-x64", "android.22", "android.21-x64", "android.21", "android-x64", "android", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "android.25-x64": [ "android.25", "android.24-x64", "android.24", "android.23-x64", "android.23", "android.22-x64", "android.22", "android.21-x64", "android.21", "android-x64", "android", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "android.26-x64": [ "android.26", "android.25-x64", "android.25", "android.24-x64", "android.24", "android.23-x64", "android.23", "android.22-x64", "android.22", "android.21-x64", "android.21", "android-x64", "android", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "android.27-x64": [ "android.27", "android.26-x64", "android.26", "android.25-x64", "android.25", "android.24-x64", "android.24", "android.23-x64", "android.23", "android.22-x64", "android.22", "android.21-x64", "android.21", "android-x64", "android", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "android.28-x64": [ "android.28", "android.27-x64", "android.27", "android.26-x64", "android.26", "android.25-x64", "android.25", "android.24-x64", "android.24", "android.23-x64", "android.23", "android.22-x64", "android.22", "android.21-x64", "android.21", "android-x64", "android", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "android.29-x64": [ "android.29", "android.28-x64", "android.28", "android.27-x64", "android.27", "android.26-x64", "android.26", "android.25-x64", "android.25", "android.24-x64", "android.24", "android.23-x64", "android.23", "android.22-x64", "android.22", "android.21-x64", "android.21", "android-x64", "android", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "android.30-x64": [ "android.30", "android.29-x64", "android.29", "android.28-x64", "android.28", "android.27-x64", "android.27", "android.26-x64", "android.26", "android.25-x64", "android.25", "android.24-x64", "android.24", "android.23-x64", "android.23", "android.22-x64", "android.22", "android.21-x64", "android.21", "android-x64", "android", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "android.31-x64": [ "android.31", "android.30-x64", "android.30", "android.29-x64", "android.29", "android.28-x64", "android.28", "android.27-x64", "android.27", "android.26-x64", "android.26", "android.25-x64", "android.25", "android.24-x64", "android.24", "android.23-x64", "android.23", "android.22-x64", "android.22", "android.21-x64", "android.21", "android-x64", "android", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "android.32-x64": [ "android.32", "android.31-x64", "android.31", "android.30-x64", "android.30", "android.29-x64", "android.29", "android.28-x64", "android.28", "android.27-x64", "android.27", "android.26-x64", "android.26", "android.25-x64", "android.25", "android.24-x64", "android.24", "android.23-x64", "android.23", "android.22-x64", "android.22", "android.21-x64", "android.21", "android-x64", "android", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "arch-x64": [ "arch", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "centos-x64": [ "centos", "rhel-x64", "rhel", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "centos.7-x64": [ "centos.7", "centos-x64", "rhel.7-x64", "centos", "rhel.7", "rhel-x64", "rhel", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "centos.8-x64": [ "centos.8", "centos-x64", "rhel.8-x64", "centos", "rhel.8", "rhel-x64", "rhel", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "centos.9-x64": [ "centos.9", "centos-x64", "rhel.9-x64", "centos", "rhel.9", "rhel-x64", "rhel", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "debian-x64": [ "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "debian.10-x64": [ "debian.10", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "debian.11-x64": [ "debian.11", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "debian.12-x64": [ "debian.12", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "debian.8-x64": [ "debian.8", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "debian.9-x64": [ "debian.9", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "exherbo-x64": [ "exherbo", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "fedora-x64": [ "fedora", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "fedora.23-x64": [ "fedora.23", "fedora-x64", "fedora", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "fedora.24-x64": [ "fedora.24", "fedora-x64", "fedora", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "fedora.25-x64": [ "fedora.25", "fedora-x64", "fedora", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "fedora.26-x64": [ "fedora.26", "fedora-x64", "fedora", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "fedora.27-x64": [ "fedora.27", "fedora-x64", "fedora", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "fedora.28-x64": [ "fedora.28", "fedora-x64", "fedora", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "fedora.29-x64": [ "fedora.29", "fedora-x64", "fedora", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "fedora.30-x64": [ "fedora.30", "fedora-x64", "fedora", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "fedora.31-x64": [ "fedora.31", "fedora-x64", "fedora", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "fedora.32-x64": [ "fedora.32", "fedora-x64", "fedora", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "fedora.33-x64": [ "fedora.33", "fedora-x64", "fedora", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "fedora.34-x64": [ "fedora.34", "fedora-x64", "fedora", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "fedora.35-x64": [ "fedora.35", "fedora-x64", "fedora", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "fedora.36-x64": [ "fedora.36", "fedora-x64", "fedora", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "fedora.37-x64": [ "fedora.37", "fedora-x64", "fedora", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "fedora.38-x64": [ "fedora.38", "fedora-x64", "fedora", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "fedora.39-x64": [ "fedora.39", "fedora-x64", "fedora", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "gentoo-x64": [ "gentoo", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "linux-musl-x64": [ "linux-musl", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "linux-x64": [ "linux", "unix-x64", "unix", "any", "base" ], "linuxmint.17-x64": [ "linuxmint.17", "ubuntu.14.04-x64", "ubuntu.14.04", "ubuntu-x64", "ubuntu", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "linuxmint.17.1-x64": [ "linuxmint.17.1", "linuxmint.17-x64", "linuxmint.17", "ubuntu.14.04-x64", "ubuntu.14.04", "ubuntu-x64", "ubuntu", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "linuxmint.17.2-x64": [ "linuxmint.17.2", "linuxmint.17.1-x64", "linuxmint.17.1", "linuxmint.17-x64", "linuxmint.17", "ubuntu.14.04-x64", "ubuntu.14.04", "ubuntu-x64", "ubuntu", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "linuxmint.17.3-x64": [ "linuxmint.17.3", "linuxmint.17.2-x64", "linuxmint.17.2", "linuxmint.17.1-x64", "linuxmint.17.1", "linuxmint.17-x64", "linuxmint.17", "ubuntu.14.04-x64", "ubuntu.14.04", "ubuntu-x64", "ubuntu", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "linuxmint.18-x64": [ "linuxmint.18", "ubuntu.16.04-x64", "ubuntu.16.04", "ubuntu-x64", "ubuntu", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "linuxmint.18.1-x64": [ "linuxmint.18.1", "linuxmint.18-x64", "linuxmint.18", "ubuntu.16.04-x64", "ubuntu.16.04", "ubuntu-x64", "ubuntu", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "linuxmint.18.2-x64": [ "linuxmint.18.2", "linuxmint.18.1-x64", "linuxmint.18.1", "linuxmint.18-x64", "linuxmint.18", "ubuntu.16.04-x64", "ubuntu.16.04", "ubuntu-x64", "ubuntu", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "linuxmint.18.3-x64": [ "linuxmint.18.3", "linuxmint.18.2-x64", "linuxmint.18.2", "linuxmint.18.1-x64", "linuxmint.18.1", "linuxmint.18-x64", "linuxmint.18", "ubuntu.16.04-x64", "ubuntu.16.04", "ubuntu-x64", "ubuntu", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "linuxmint.19-x64": [ "linuxmint.19", "ubuntu.18.04-x64", "ubuntu.18.04", "ubuntu-x64", "ubuntu", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "linuxmint.19.1-x64": [ "linuxmint.19.1", "linuxmint.19-x64", "linuxmint.19", "ubuntu.18.04-x64", "ubuntu.18.04", "ubuntu-x64", "ubuntu", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "linuxmint.19.2-x64": [ "linuxmint.19.2", "linuxmint.19.1-x64", "linuxmint.19.1", "linuxmint.19-x64", "linuxmint.19", "ubuntu.18.04-x64", "ubuntu.18.04", "ubuntu-x64", "ubuntu", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "ol-x64": [ "ol", "rhel-x64", "rhel", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "ol.7-x64": [ "ol.7", "ol-x64", "rhel.7-x64", "ol", "rhel.7", "rhel-x64", "rhel", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "ol.7.0-x64": [ "ol.7.0", "ol.7-x64", "rhel.7.0-x64", "ol.7", "rhel.7.0", "ol-x64", "rhel.7-x64", "ol", "rhel.7", "rhel-x64", "rhel", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "ol.7.1-x64": [ "ol.7.1", "ol.7.0-x64", "rhel.7.1-x64", "ol.7.0", "rhel.7.1", "ol.7-x64", "rhel.7.0-x64", "ol.7", "rhel.7.0", "ol-x64", "rhel.7-x64", "ol", "rhel.7", "rhel-x64", "rhel", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "ol.7.2-x64": [ "ol.7.2", "ol.7.1-x64", "rhel.7.2-x64", "ol.7.1", "rhel.7.2", "ol.7.0-x64", "rhel.7.1-x64", "ol.7.0", "rhel.7.1", "ol.7-x64", "rhel.7.0-x64", "ol.7", "rhel.7.0", "ol-x64", "rhel.7-x64", "ol", "rhel.7", "rhel-x64", "rhel", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "ol.7.3-x64": [ "ol.7.3", "ol.7.2-x64", "rhel.7.3-x64", "ol.7.2", "rhel.7.3", "ol.7.1-x64", "rhel.7.2-x64", "ol.7.1", "rhel.7.2", "ol.7.0-x64", "rhel.7.1-x64", "ol.7.0", "rhel.7.1", "ol.7-x64", "rhel.7.0-x64", "ol.7", "rhel.7.0", "ol-x64", "rhel.7-x64", "ol", "rhel.7", "rhel-x64", "rhel", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "ol.7.4-x64": [ "ol.7.4", "ol.7.3-x64", "rhel.7.4-x64", "ol.7.3", "rhel.7.4", "ol.7.2-x64", "rhel.7.3-x64", "ol.7.2", "rhel.7.3", "ol.7.1-x64", "rhel.7.2-x64", "ol.7.1", "rhel.7.2", "ol.7.0-x64", "rhel.7.1-x64", "ol.7.0", "rhel.7.1", "ol.7-x64", "rhel.7.0-x64", "ol.7", "rhel.7.0", "ol-x64", "rhel.7-x64", "ol", "rhel.7", "rhel-x64", "rhel", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "ol.7.5-x64": [ "ol.7.5", "ol.7.4-x64", "rhel.7.5-x64", "ol.7.4", "rhel.7.5", "ol.7.3-x64", "rhel.7.4-x64", "ol.7.3", "rhel.7.4", "ol.7.2-x64", "rhel.7.3-x64", "ol.7.2", "rhel.7.3", "ol.7.1-x64", "rhel.7.2-x64", "ol.7.1", "rhel.7.2", "ol.7.0-x64", "rhel.7.1-x64", "ol.7.0", "rhel.7.1", "ol.7-x64", "rhel.7.0-x64", "ol.7", "rhel.7.0", "ol-x64", "rhel.7-x64", "ol", "rhel.7", "rhel-x64", "rhel", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "ol.7.6-x64": [ "ol.7.6", "ol.7.5-x64", "rhel.7.6-x64", "ol.7.5", "rhel.7.6", "ol.7.4-x64", "rhel.7.5-x64", "ol.7.4", "rhel.7.5", "ol.7.3-x64", "rhel.7.4-x64", "ol.7.3", "rhel.7.4", "ol.7.2-x64", "rhel.7.3-x64", "ol.7.2", "rhel.7.3", "ol.7.1-x64", "rhel.7.2-x64", "ol.7.1", "rhel.7.2", "ol.7.0-x64", "rhel.7.1-x64", "ol.7.0", "rhel.7.1", "ol.7-x64", "rhel.7.0-x64", "ol.7", "rhel.7.0", "ol-x64", "rhel.7-x64", "ol", "rhel.7", "rhel-x64", "rhel", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "ol.8-x64": [ "ol.8", "ol-x64", "rhel.8-x64", "ol", "rhel.8", "rhel-x64", "rhel", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "ol.8.0-x64": [ "ol.8.0", "ol.8-x64", "rhel.8.0-x64", "ol.8", "rhel.8.0", "ol-x64", "rhel.8-x64", "ol", "rhel.8", "rhel-x64", "rhel", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "opensuse-x64": [ "opensuse", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "opensuse.13.2-x64": [ "opensuse.13.2", "opensuse-x64", "opensuse", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "opensuse.15.0-x64": [ "opensuse.15.0", "opensuse-x64", "opensuse", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "opensuse.15.1-x64": [ "opensuse.15.1", "opensuse-x64", "opensuse", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "opensuse.42.1-x64": [ "opensuse.42.1", "opensuse-x64", "opensuse", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "opensuse.42.2-x64": [ "opensuse.42.2", "opensuse-x64", "opensuse", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "opensuse.42.3-x64": [ "opensuse.42.3", "opensuse-x64", "opensuse", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "rhel-x64": [ "rhel", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "rhel.6-x64": [ "rhel.6", "rhel-x64", "rhel", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "rhel.7-x64": [ "rhel.7", "rhel-x64", "rhel", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "rhel.7.0-x64": [ "rhel.7.0", "rhel.7-x64", "rhel.7", "rhel-x64", "rhel", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "rhel.7.1-x64": [ "rhel.7.1", "rhel.7.0-x64", "rhel.7.0", "rhel.7-x64", "rhel.7", "rhel-x64", "rhel", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "rhel.7.2-x64": [ "rhel.7.2", "rhel.7.1-x64", "rhel.7.1", "rhel.7.0-x64", "rhel.7.0", "rhel.7-x64", "rhel.7", "rhel-x64", "rhel", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "rhel.7.3-x64": [ "rhel.7.3", "rhel.7.2-x64", "rhel.7.2", "rhel.7.1-x64", "rhel.7.1", "rhel.7.0-x64", "rhel.7.0", "rhel.7-x64", "rhel.7", "rhel-x64", "rhel", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "rhel.7.4-x64": [ "rhel.7.4", "rhel.7.3-x64", "rhel.7.3", "rhel.7.2-x64", "rhel.7.2", "rhel.7.1-x64", "rhel.7.1", "rhel.7.0-x64", "rhel.7.0", "rhel.7-x64", "rhel.7", "rhel-x64", "rhel", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "rhel.7.5-x64": [ "rhel.7.5", "rhel.7.4-x64", "rhel.7.4", "rhel.7.3-x64", "rhel.7.3", "rhel.7.2-x64", "rhel.7.2", "rhel.7.1-x64", "rhel.7.1", "rhel.7.0-x64", "rhel.7.0", "rhel.7-x64", "rhel.7", "rhel-x64", "rhel", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "rhel.7.6-x64": [ "rhel.7.6", "rhel.7.5-x64", "rhel.7.5", "rhel.7.4-x64", "rhel.7.4", "rhel.7.3-x64", "rhel.7.3", "rhel.7.2-x64", "rhel.7.2", "rhel.7.1-x64", "rhel.7.1", "rhel.7.0-x64", "rhel.7.0", "rhel.7-x64", "rhel.7", "rhel-x64", "rhel", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "rhel.8-x64": [ "rhel.8", "rhel-x64", "rhel", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "rhel.8.0-x64": [ "rhel.8.0", "rhel.8-x64", "rhel.8", "rhel-x64", "rhel", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "rhel.8.1-x64": [ "rhel.8.1", "rhel.8.0-x64", "rhel.8.0", "rhel.8-x64", "rhel.8", "rhel-x64", "rhel", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "rhel.9-x64": [ "rhel.9", "rhel-x64", "rhel", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "rocky-x64": [ "rocky", "rhel-x64", "rhel", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "rocky.8-x64": [ "rocky.8", "rocky-x64", "rhel.8-x64", "rocky", "rhel.8", "rhel-x64", "rhel", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "rocky.9-x64": [ "rocky.9", "rocky-x64", "rhel.9-x64", "rocky", "rhel.9", "rhel-x64", "rhel", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "sles-x64": [ "sles", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "sles.12-x64": [ "sles.12", "sles-x64", "sles", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "sles.12.1-x64": [ "sles.12.1", "sles.12-x64", "sles.12", "sles-x64", "sles", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "sles.12.2-x64": [ "sles.12.2", "sles.12.1-x64", "sles.12.1", "sles.12-x64", "sles.12", "sles-x64", "sles", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "sles.12.3-x64": [ "sles.12.3", "sles.12.2-x64", "sles.12.2", "sles.12.1-x64", "sles.12.1", "sles.12-x64", "sles.12", "sles-x64", "sles", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "sles.12.4-x64": [ "sles.12.4", "sles.12.3-x64", "sles.12.3", "sles.12.2-x64", "sles.12.2", "sles.12.1-x64", "sles.12.1", "sles.12-x64", "sles.12", "sles-x64", "sles", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "sles.15-x64": [ "sles.15", "sles.12.4-x64", "sles.12.4", "sles.12.3-x64", "sles.12.3", "sles.12.2-x64", "sles.12.2", "sles.12.1-x64", "sles.12.1", "sles.12-x64", "sles.12", "sles-x64", "sles", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "sles.15.1-x64": [ "sles.15.1", "sles.15-x64", "sles.15", "sles.12.4-x64", "sles.12.4", "sles.12.3-x64", "sles.12.3", "sles.12.2-x64", "sles.12.2", "sles.12.1-x64", "sles.12.1", "sles.12-x64", "sles.12", "sles-x64", "sles", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "ubuntu-x64": [ "ubuntu", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "ubuntu.14.04-x64": [ "ubuntu.14.04", "ubuntu-x64", "ubuntu", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "ubuntu.14.10-x64": [ "ubuntu.14.10", "ubuntu-x64", "ubuntu", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "ubuntu.15.04-x64": [ "ubuntu.15.04", "ubuntu-x64", "ubuntu", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "ubuntu.15.10-x64": [ "ubuntu.15.10", "ubuntu-x64", "ubuntu", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "ubuntu.16.04-x64": [ "ubuntu.16.04", "ubuntu-x64", "ubuntu", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "ubuntu.16.10-x64": [ "ubuntu.16.10", "ubuntu-x64", "ubuntu", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "ubuntu.17.04-x64": [ "ubuntu.17.04", "ubuntu-x64", "ubuntu", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "ubuntu.17.10-x64": [ "ubuntu.17.10", "ubuntu-x64", "ubuntu", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "ubuntu.18.04-x64": [ "ubuntu.18.04", "ubuntu-x64", "ubuntu", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "ubuntu.18.10-x64": [ "ubuntu.18.10", "ubuntu-x64", "ubuntu", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "ubuntu.19.04-x64": [ "ubuntu.19.04", "ubuntu-x64", "ubuntu", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "ubuntu.19.10-x64": [ "ubuntu.19.10", "ubuntu-x64", "ubuntu", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "ubuntu.20.04-x64": [ "ubuntu.20.04", "ubuntu-x64", "ubuntu", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "ubuntu.20.10-x64": [ "ubuntu.20.10", "ubuntu-x64", "ubuntu", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "ubuntu.21.04-x64": [ "ubuntu.21.04", "ubuntu-x64", "ubuntu", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "ubuntu.21.10-x64": [ "ubuntu.21.10", "ubuntu-x64", "ubuntu", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "ubuntu.22.04-x64": [ "ubuntu.22.04", "ubuntu-x64", "ubuntu", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "ubuntu.22.10-x64": [ "ubuntu.22.10", "ubuntu-x64", "ubuntu", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "ubuntu.23.04-x64": [ "ubuntu.23.04", "ubuntu-x64", "ubuntu", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ], "ubuntu.23.10-x64": [ "ubuntu.23.10", "ubuntu-x64", "ubuntu", "debian-x64", "debian", "linux-x64", "linux", "unix-x64", "unix", "any", "base" ] }}1234567891011121314{ "runtimeOptions": { "tfm": "net6.0", "includedFrameworks": [ { "name": "Microsoft.NETCore.App", "version": "6.0.27" } ], "configProperties": { "System.Reflection.Metadata.MetadataUpdater.IsSupported": false } }}123version https://git-lfs.github.com/spec/v1oid sha256:2f682df7d28190b6cf0e9a4ac452c31cd42473a8b0b1ac05dbc72b914f6a13f3size 4559872123version https://git-lfs.github.com/spec/v1oid sha256:33c091d557a11ea094e060e920708124c5ff5d620294a53683f9f82700d4896asize 1232656123version https://git-lfs.github.com/spec/v1oid sha256:ec5ecfa3706d3fc752c4e5c56ff49b212331693e53c116730c8ccbd03bf62539size 3016992.gitattributes+35
FlyBy.csproj+2-4
FlyBy.csproj.old+3-5
FlyBy.sln+18-12
addons/godot_rl_agents/controller/ai_controller_2d.gd+61-30
addons/godot_rl_agents/controller/ai_controller_3d.gd+62-28
addons/godot_rl_agents/onnx/wrapper/ONNX_wrapper.gd+6-3
addons/godot_rl_agents/sensors/sensors_2d/GridSensor2D.gdAdded+235
addons/godot_rl_agents/sensors/sensors_2d/ISensor2D.gd+9-4
addons/godot_rl_agents/sensors/sensors_2d/RaycastSensor2D.gd+40-40
addons/godot_rl_agents/sensors/sensors_3d/GridSensor3D.gdAdded+258
addons/godot_rl_agents/sensors/sensors_3d/ISensor3D.gd+9-4
addons/godot_rl_agents/sensors/sensors_3d/RGBCameraSensor3D.gd+13-3
addons/godot_rl_agents/sensors/sensors_3d/RGBCameraSensor3D.tscn+14-15
addons/godot_rl_agents/sensors/sensors_3d/RaycastSensor3D.gd+56-37
addons/godot_rl_agents/sensors/sensors_3d/RaycastSensor3D.tscn+6-12
addons/godot_rl_agents/sync.gd+331-129
bin/FlyBy.pck+2-2
bin/data_FlyBy_linuxbsd_x86_64/FlyBy.deps.jsonAdded+2980
bin/data_FlyBy_linuxbsd_x86_64/FlyBy.dllAdded
bin/data_FlyBy_linuxbsd_x86_64/FlyBy.pdbAdded
bin/data_FlyBy_linuxbsd_x86_64/FlyBy.runtimeconfig.jsonAdded+14
bin/data_FlyBy_linuxbsd_x86_64/GodotSharp.dllAdded+3
bin/data_FlyBy_linuxbsd_x86_64/Microsoft.CSharp.dllAdded
bin/data_FlyBy_linuxbsd_x86_64/Microsoft.ML.OnnxRuntime.dllAdded
bin/data_FlyBy_linuxbsd_x86_64/Microsoft.VisualBasic.Core.dllAdded+3
bin/data_FlyBy_linuxbsd_x86_64/Microsoft.VisualBasic.dllAdded
bin/data_FlyBy_linuxbsd_x86_64/Microsoft.Win32.Primitives.dllAdded
bin/data_FlyBy_linuxbsd_x86_64/Microsoft.Win32.Registry.dllAdded
bin/data_FlyBy_linuxbsd_x86_64/System.AppContext.dllAdded
bin/data_FlyBy_linuxbsd_x86_64/System.Buffers.dllAdded
bin/data_FlyBy_linuxbsd_x86_64/System.Collections.Concurrent.dllAdded
bin/data_FlyBy_linuxbsd_x86_64/System.Collections.Immutable.dllAdded
bin/data_FlyBy_linuxbsd_x86_64/System.Collections.NonGeneric.dllAdded
bin/data_FlyBy_linuxbsd_x86_64/System.Collections.Specialized.dllAdded
bin/data_FlyBy_linuxbsd_x86_64/System.Collections.dllAdded
bin/data_FlyBy_linuxbsd_x86_64/System.ComponentModel.Annotations.dllAdded
bin/data_FlyBy_linuxbsd_x86_64/System.ComponentModel.DataAnnotations.dllAdded
bin/data_FlyBy_linuxbsd_x86_64/System.ComponentModel.EventBasedAsync.dllAdded
bin/data_FlyBy_linuxbsd_x86_64/System.ComponentModel.Primitives.dllAdded
bin/data_FlyBy_linuxbsd_x86_64/System.ComponentModel.TypeConverter.dllAdded
bin/data_FlyBy_linuxbsd_x86_64/System.ComponentModel.dllAdded
bin/data_FlyBy_linuxbsd_x86_64/System.Configuration.dllAdded
bin/data_FlyBy_linuxbsd_x86_64/System.Console.dllAdded
bin/data_FlyBy_linuxbsd_x86_64/System.Core.dllAdded
bin/data_FlyBy_linuxbsd_x86_64/System.Data.Common.dllAdded+3
bin/data_FlyBy_linuxbsd_x86_64/System.Data.DataSetExtensions.dllAdded
bin/data_FlyBy_linuxbsd_x86_64/System.Data.dllAdded
bin/data_FlyBy_linuxbsd_x86_64/System.Diagnostics.Contracts.dllAdded
bin/data_FlyBy_linuxbsd_x86_64/System.Diagnostics.Debug.dllAdded