We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87ab883 commit 6d56181Copy full SHA for 6d56181
mujoco_py/mjcore.py
@@ -137,6 +137,18 @@ def numeric_names(self):
137
return [ctypes.string_at(start_addr + int(inc))
138
for inc in self.name_numericadr.flatten()]
139
140
+ @property
141
+ def actuator_names(self):
142
+ start_addr = ctypes.addressof(self.names.contents)
143
+ return [ctypes.string_at(start_addr + int(inc))
144
+ for inc in self.name_actuatoradr.flatten()]
145
+
146
147
+ def camera_names(self):
148
149
150
+ for inc in self.name_camadr.flatten()]
151
152
153
class MjData(MjDataWrapper):
154
0 commit comments