#python#isaac_sim#omniverse_kit_extension#robot_learning#robotics
Isaac Lab is a free, open-source tool that helps you easily create and test robot learning projects using fast, realistic simulations powered by NVIDIA’s Isaac Sim. It supports many robot types and environments, with accurate sensors like cameras and LIDAR, and runs quickly on GPUs. You can train robots using popular AI methods like reinforcement learning, either on your computer or in the cloud. This saves you time and money by letting you develop and improve robot skills virtually before using real hardware. Isaac Lab also has detailed guides and a community to support your learning and projects. This makes robot research and development simpler and more efficient.
https://github.com/isaac-sim/IsaacLab
🚀 Вышел стабильный JavaScript движок от Google для Android
Новая стабильная библиотека Jetpack JavaScript Engine позволит разработчикам выполнять JS код в изолированной и ограниченной среде.
class MainActivity : ComponentActivity() {
// Теперь nullable, без lateinit
private var jsSandbox: JavaScriptSandbox? = null
private var jsIsolate: JavaScriptIsolate? = null
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
if (!JavaScriptSandbox.isSupported()) {
Log.e("JS", "JavaScriptSandbox не поддерживается")
return
}
lifecycleScope.launch {
// Создаём и сохраняем в nullable-поле
jsSandbox = JavaScriptSandbox
.createConnectedInstanceAsync(applicationContext)
.await()
jsIsolate = jsSandbox?.createIsolate()
// При выполнении гарантируем, что jsIsolate != null
val result: String = jsIsolate
?.evaluateJavaScriptAsync(JS_SCRIPT_SCRING)
?.await()
?: "Ошибка: isolate не инициализирован"
Log.d("JS", "Результат выполнения: $result")
}
}
override fun onDestroy() {
super.onDestroy()
// Закрываем только если не null
jsIsolate?.close()
jsSandbox?.close()
}
}
#jetpack#js