We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eeeb3e2 commit fa09146Copy full SHA for fa09146
lgsvl/simulator.py
@@ -54,6 +54,10 @@ def layers(self):
54
def current_scene(self):
55
return self.remote.command("simulator/current_scene")
56
57
+ @property
58
+ def current_scene_id(self):
59
+ return self.remote.command("simulator/current_scene_id")
60
+
61
@property
62
def current_frame(self):
63
return self.remote.command("simulator/current_frame")
quickstart/02-loading-scene-show-spawns.py
@@ -21,6 +21,7 @@
21
sim.load("BorregasAve")
22
23
print("Current Scene = {}".format(sim.current_scene))
24
+print("Current Scene ID = {}".format(sim.current_scene_id))
25
26
# This will print out the position and rotation vectors for each of the spawn points in the loaded map
27
spawns = sim.get_spawn()
0 commit comments