file_path stringlengths 21 207 | content stringlengths 5 1.02M | size int64 5 1.02M | lang stringclasses 9
values | avg_line_length float64 1.33 100 | max_line_length int64 4 993 | alphanum_fraction float64 0.27 0.93 |
|---|---|---|---|---|---|---|
ashleygoldstein/LWM-Warehouse-Scene/README.md | # LWM-Warehouse-Scene
This Sample was developed during the Learn With Me livestream Series.
Learn With Me streams every Monday and Wednesday at 1pm EST on the NVIDIA Omniverse Twitch and YouTube channels
https://www.youtube.com/@NVIDIAOmniverse/streams
Playlist of the previously recorded streams:
https://youtube.co... | 1,435 | Markdown | 38.888888 | 242 | 0.77561 |
ashleygoldstein/LWM-Warehouse-Scene/Scripts/pallet_collision.py | from omni.kit.scripting import BehaviorScript
import omni
import omni.physx
from pxr import Gf, Sdf, PhysxSchema, UsdGeom, Usd
from omni.physx.scripts import utils
from omni.physx import get_physx_scene_query_interface
from omni.physx import get_physx_interface, get_physx_simulation_interface
from omni.physx.scripts.ph... | 3,729 | Python | 35.213592 | 130 | 0.616251 |
dantreble/a2f/README.md | # a2f
Unreal plugin to import json blendshape animations generated by audio2face in Nvidia Omniverse
It can convert a blend shape channel to a bone transform:

It supports reimport and batch import.
| 261 | Markdown | 25.199997 | 94 | 0.804598 |
dantreble/a2f/Source/a2fEditor/Private/a2fOptionWindow.cpp | // Copyright Epic Games, Inc. All Rights Reserved.
#include "a2fOptionWindow.h"
#include "Modules/ModuleManager.h"
#include "Widgets/Layout/SBorder.h"
#include "Widgets/Text/STextBlock.h"
#include "Widgets/Layout/SBox.h"
#include "Widgets/Layout/SUniformGridPanel.h"
#include "Widgets/Input/SButton.h"
#include "EditorSt... | 5,784 | C++ | 24.372807 | 162 | 0.703147 |
dantreble/a2f/Source/a2fEditor/Private/a2fEditor.cpp | // Copyright Spitfire Interactive Pty Ltd. All Rights Reserved.
#include "a2fEditor.h"
#define LOCTEXT_NAMESPACE "Fa2fEditorModule"
void Fa2fEditorModule::StartupModule()
{
// This code will execute after your module is loaded into memory; the exact timing is specified in the .uplugin file per-module
}
void Fa2fEd... | 593 | C++ | 28.699999 | 129 | 0.784148 |
dantreble/a2f/Source/a2fEditor/Private/a2fImportUI.cpp | // Copyright Spitfire Interactive Pty Ltd. All Rights Reserved.
#include "a2fImportUI.h"
#include "a2fAssetImportData.h"
#include "AnimationUtils.h"
Ua2fImportUI::Ua2fImportUI()
{
ResetToDefault();
}
void Ua2fImportUI::ResetToDefault()
{
AnimSequenceImportData = CreateDefaultSubobject<Ua2fAssetImportData>(TEXT(... | 541 | C++ | 21.583332 | 108 | 0.815157 |
dantreble/a2f/Source/a2fEditor/Private/a2fAssetImportData.cpp | // Copyright Spitfire Interactive Pty Ltd. All Rights Reserved.
#include "a2fAssetImportData.h"
void Ua2fAssetImportData::GetCurvesToStrip(TSet<FString> &CurvesToStrip) const
{
for (const FCurveDrivenBoneTransform &CurveDrivenBoneTransform : CurveDrivenBoneTransforms)
{
for (const FCurveDrivenTransform &CurveDr... | 502 | C++ | 24.149999 | 106 | 0.794821 |
dantreble/a2f/Source/a2fEditor/Private/a2fFactory.cpp | // Copyright Spitfire Interactive Pty Ltd. All Rights Reserved.
#include "a2fFactory.h"
#include "a2fAssetImportData.h"
#include "a2fImportUI.h"
#include "a2fOptionWindow.h"
#include "AnimationUtils.h"
#include "EditorFramework/AssetImportData.h"
#include "Interfaces/IMainFrameModule.h"
#include "Misc/FileHelper.h"
#... | 11,808 | C++ | 28.972081 | 182 | 0.766599 |
dantreble/a2f/Source/a2fEditor/Public/a2fEditor.h | // Copyright Spitfire Interactive Pty Ltd. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Modules/ModuleManager.h"
class Fa2fEditorModule : public IModuleInterface
{
public:
/** IModuleInterface implementation */
virtual void StartupModule() override;
virtual void ShutdownModule() override;... | 324 | C | 19.312499 | 63 | 0.777778 |
dantreble/a2f/Source/a2fEditor/Public/a2fAssetImportData.h | // Copyright Spitfire Interactive Pty Ltd. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "EditorFramework/AssetImportData.h"
#include "a2fAssetImportData.generated.h"
/**
*
*/
USTRUCT(BlueprintType)
struct FCurveDrivenTransform
{
GENERATED_BODY()
UPROPERTY(EditAnywhere, BlueprintReadWrit... | 1,405 | C | 22.04918 | 149 | 0.798577 |
dantreble/a2f/Source/a2fEditor/Public/a2fFactory.h | // Copyright Spitfire Interactive Pty Ltd. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Factories/Factory.h"
#include "EditorReimportHandler.h"
#include "a2fFactory.generated.h"
/**
*
*/
UCLASS()
class A2FEDITOR_API Ua2fFactory : public UFactory, public FReimportHandler
{
GENERATED_UCLASS... | 1,227 | C | 22.615384 | 108 | 0.772616 |
dantreble/a2f/Source/a2fEditor/Public/a2fImportUI.h | // Copyright Spitfire Interactive Pty Ltd. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "a2fImportUI.generated.h"
/**
*
*/
UCLASS(BlueprintType, HideCategories = Object, MinimalAPI)
class Ua2fImportUI : public UObject
{
public:
Ua2fImportUI();
private:
GENERATED_BODY()
public:
void Re... | 1,278 | C | 29.45238 | 189 | 0.788732 |
dantreble/a2f/Source/a2fEditor/Public/a2fOptionWindow.h | // Copyright Spitfire Interactive Pty Ltd. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "InputCoreTypes.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "Input/Reply.h"
#include "Widgets/SCompoundWidget.h"
#include "Widgets/SWindow.h"
#include "a2fImportUI.h"
class SButton;
class A2F... | 1,612 | C | 20.506666 | 95 | 0.747519 |
Vadim-Karpenko/omniverse-material-manager-extended/CHANGELOG.md | # Change Log
All notable changes to this project will be documented in this file.
## [1.1.1] - 2022-12-26
### Fixed
Support of Create 2022.3.1
## [1.1.1] - 2022-10-04
### Fixed
Convert icon and preview_image to png format
## [1.1.0] - 2022-09-26
### Added
#### Roaming mode (settings tab)
Allowing you to au... | 757 | Markdown | 18.947368 | 158 | 0.694848 |
Vadim-Karpenko/omniverse-material-manager-extended/README.md | # Material Manager Extended

### About
This extension will let you quickly toggle between different materials for the static objects in your scene.
## Quick links
* [Installation](#installation)
* [Restrictions](#restrictions)
* [How to use](#how-to-use)
* [Linking with an Omnivers... | 3,671 | Markdown | 35.72 | 338 | 0.749387 |
Vadim-Karpenko/omniverse-material-manager-extended/tools/scripts/link_app.py | import os
import argparse
import sys
import json
import packmanapi
import urllib3
def find_omniverse_apps():
http = urllib3.PoolManager()
try:
r = http.request("GET", "http://127.0.0.1:33480/components")
except Exception as e:
print(f"Failed retrieving apps from an Omniverse Launcher, mayb... | 2,813 | Python | 32.5 | 133 | 0.562389 |
Vadim-Karpenko/omniverse-material-manager-extended/tools/packman/config.packman.xml | <config remotes="cloudfront">
<remote2 name="cloudfront">
<transport actions="download" protocol="https" packageLocation="d4i3qtqj3r0z5.cloudfront.net/${name}@${version}" />
</remote2>
</config>
| 211 | XML | 34.333328 | 123 | 0.691943 |
Vadim-Karpenko/omniverse-material-manager-extended/tools/packman/bootstrap/install_package.py | # Copyright 2019 NVIDIA CORPORATION
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writi... | 1,888 | Python | 31.568965 | 103 | 0.68697 |
Vadim-Karpenko/omniverse-material-manager-extended/exts/karpenko.materialsmanager.ext/karpenko/materialsmanager/ext/prim_serializer.py | # Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
#
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto. Any use, reproduction, disclosure or
# distribution of this software and rel... | 3,123 | Python | 32.956521 | 101 | 0.675312 |
Vadim-Karpenko/omniverse-material-manager-extended/exts/karpenko.materialsmanager.ext/karpenko/materialsmanager/ext/style.py | # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
#
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto. Any use, reproduction, disclosure or
# distribution of this software and rel... | 2,175 | Python | 27.25974 | 89 | 0.605057 |
Vadim-Karpenko/omniverse-material-manager-extended/exts/karpenko.materialsmanager.ext/karpenko/materialsmanager/ext/extension.py | import asyncio
import base64
import json
import math
import carb
import omni.ext
import omni.kit.commands
import omni.ui as ui
import omni.usd
from omni.kit.viewport.utility import (get_active_viewport_camera_path,
get_active_viewport_window,
... | 61,602 | Python | 44.329654 | 168 | 0.542271 |
Vadim-Karpenko/omniverse-material-manager-extended/exts/karpenko.materialsmanager.ext/karpenko/materialsmanager/ext/__init__.py | from .extension import *
| 25 | Python | 11.999994 | 24 | 0.76 |
Vadim-Karpenko/omniverse-material-manager-extended/exts/karpenko.materialsmanager.ext/karpenko/materialsmanager/ext/viewport_ui/widget_info_manipulator.py | # Copyright (c) 2018-2021, NVIDIA CORPORATION. All rights reserved.
#
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto. Any use, reproduction, disclosure or
# distribution of this software an... | 8,631 | Python | 39.336448 | 117 | 0.588228 |
Vadim-Karpenko/omniverse-material-manager-extended/exts/karpenko.materialsmanager.ext/karpenko/materialsmanager/ext/viewport_ui/widget_info_scene.py | # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
#
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto. Any use, reproduction, disclosure or
# distribution of this software and rel... | 2,570 | Python | 38.553846 | 97 | 0.624125 |
Vadim-Karpenko/omniverse-material-manager-extended/exts/karpenko.materialsmanager.ext/karpenko/materialsmanager/ext/viewport_ui/widget_info_model.py | # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
#
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto. Any use, reproduction, disclosure or
# distribution of this software and rel... | 6,966 | Python | 34.728205 | 127 | 0.604795 |
Vadim-Karpenko/omniverse-material-manager-extended/exts/karpenko.materialsmanager.ext/config/extension.toml | [package]
# Semantic Versionning is used: https://semver.org/
version = "1.1.4"
# The title and description fields are primarily for displaying extension info in UI
title = "Material Manager"
description="Allows you to quickly toggle between different materials"
# Path (relative to the root) or content of readme mark... | 1,207 | TOML | 25.260869 | 118 | 0.716653 |
Vadim-Karpenko/omniverse-material-manager-extended/exts/karpenko.materialsmanager.ext/docs/README.md | ## Material Manager Extended
This extension will let you quickly toggle between different materials for the static objects in your scene. | 137 | Markdown | 67.999966 | 108 | 0.832117 |
zslrmhb/Omniverse-Virtual-Assisstant/nlp.py | # natural language processing module utilizing the Riva SDK
import wikipedia as wiki
import wikipediaapi as wiki_api
import riva.client
from config import URI
class NLPService:
def __init__(self, max_wiki_articles):
"""
:param max_wiki_articles: max wiki articles to search
"""
se... | 1,428 | Python | 32.232557 | 87 | 0.60084 |
zslrmhb/Omniverse-Virtual-Assisstant/tts.py | # text-to-speech module utilizting the Riva SDK
import riva.client
import riva.client.audio_io
from config import URI
class TTSService:
def __init__(self, language='en-US', sample_rate_hz=44100):
"""
:param language: language code
:param sample_rate_hz: sample rate herz
"""
... | 1,310 | Python | 28.795454 | 107 | 0.603817 |
zslrmhb/Omniverse-Virtual-Assisstant/audio2face_streaming_utils.py | """
This demo script shows how to send audio data to Audio2Face Streaming Audio Player via gRPC requests.
There are two options:
* Send the whole track at once using PushAudioRequest()
* Send the audio chunks seuqntially in a stream using PushAudioStreamRequest()
For the second option this script emulates the stream ... | 6,202 | Python | 42.377622 | 158 | 0.697356 |
zslrmhb/Omniverse-Virtual-Assisstant/asr.py | # Audio to Speech Module utilizing the Riva SDK
import riva.client
import riva.client.audio_io
from typing import Iterable
import riva.client.proto.riva_asr_pb2 as rasr
from config import URI
config = riva.client.StreamingRecognitionConfig(
config=riva.client.RecognitionConfig(
encoding=riva.client.AudioE... | 2,796 | Python | 34.858974 | 115 | 0.545422 |
zslrmhb/Omniverse-Virtual-Assisstant/main.py | # Running the Demo
from asr import ASRService
from nlp import NLPService
from tts import TTSService
from audio2face import Audio2FaceService
asr_service = ASRService()
nlp_service = NLPService(max_wiki_articles=5)
tts_service = TTSService()
audio2face_service = Audio2FaceService()
while True:
# speech recognitio... | 721 | Python | 24.785713 | 64 | 0.736477 |
zslrmhb/Omniverse-Virtual-Assisstant/config.py | # configuration for accessing the remote local host on the Google Cloud Server
URI = "" # This will be in the syntax of external ip of your Riva Server:Port of your Riva Server
# Example: 12.34.56.789:50050
| 218 | Python | 53.749987 | 98 | 0.724771 |
zslrmhb/Omniverse-Virtual-Assisstant/audio2face_pb2_grpc.py | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
import audio2face_pb2 as audio2face__pb2
class Audio2FaceStub(object):
"""Missing associated documentation comment in .proto file."""
def __init__(sel... | 4,208 | Python | 33.219512 | 111 | 0.642586 |
zslrmhb/Omniverse-Virtual-Assisstant/audio2face.py | # speech to Audio2Face module utilizing the gRPC protocal from audio2face_streaming_utils
import riva.client
import io
from pydub import AudioSegment
from scipy.io.wavfile import read
import numpy as np
from audio2face_streaming_utils import push_audio_track
class Audio2FaceService:
def __init__(self, sample_rat... | 1,769 | Python | 32.396226 | 127 | 0.62182 |
zslrmhb/Omniverse-Virtual-Assisstant/README.md | # Omniverse-Virtual-Assisstant using Riva Server (with Riva SDK, deployed in Google Cloud) and Audio2Face
## Demo
[](https://youtu.be/kv9QM-SODIM "Video Title")
## Prerequisites
- Riva Server
- Audio2Face
- In a conda environment(Prefer)
- Riva Pytho... | 1,474 | Markdown | 34.119047 | 157 | 0.717096 |
zslrmhb/Omniverse-Virtual-Assisstant/LICENSE.md | MIT License
Copyright (c) 2023 Hongbin Miao
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | 1,069 | Markdown | 47.636361 | 78 | 0.805426 |
PegasusSimulator/PegasusSimulator/README.md | # Pegasus Simulator



**Pegasus Simulator** is a framework built ... | 4,976 | Markdown | 58.963855 | 417 | 0.76246 |
PegasusSimulator/PegasusSimulator/examples/1_px4_single_vehicle.py | #!/usr/bin/env python
"""
| File: 1_px4_single_vehicle.py
| Author: Marcelo Jacinto (marcelo.jacinto@tecnico.ulisboa.pt)
| License: BSD-3-Clause. Copyright (c) 2023, Marcelo Jacinto. All rights reserved.
| Description: This files serves as an example on how to build an app that makes use of the Pegasus API to run a sim... | 4,153 | Python | 35.438596 | 192 | 0.667229 |
PegasusSimulator/PegasusSimulator/examples/6_paper_results.py | #!/usr/bin/env python
"""
| File: python_control_backend.py
| Author: Marcelo Jacinto and Joao Pinto (marcelo.jacinto@tecnico.ulisboa.pt, joao.s.pinto@tecnico.ulisboa.pt)
| License: BSD-3-Clause. Copyright (c) 2023, Marcelo Jacinto. All rights reserved.
| Description: This files serves as an example on how to use the c... | 6,750 | Python | 37.79885 | 128 | 0.652741 |
PegasusSimulator/PegasusSimulator/examples/3_ros2_single_vehicle.py | #!/usr/bin/env python
"""
| File: 3_ros2_single_vehicle.py
| Author: Marcelo Jacinto (marcelo.jacinto@tecnico.ulisboa.pt)
| License: BSD-3-Clause. Copyright (c) 2023, Marcelo Jacinto. All rights reserved.
| Description: This files serves as an example on how to build an app that makes use of the Pegasus API to run a
s... | 4,374 | Python | 37.043478 | 216 | 0.679927 |
PegasusSimulator/PegasusSimulator/examples/5_python_multi_vehicle.py | #!/usr/bin/env python
"""
| File: python_control_backend.py
| Author: Marcelo Jacinto and Joao Pinto (marcelo.jacinto@tecnico.ulisboa.pt, joao.s.pinto@tecnico.ulisboa.pt)
| License: BSD-3-Clause. Copyright (c) 2023, Marcelo Jacinto. All rights reserved.
| Description: This files serves as an example on how to use the c... | 6,518 | Python | 37.803571 | 128 | 0.642989 |
PegasusSimulator/PegasusSimulator/examples/4_python_single_vehicle.py | #!/usr/bin/env python
"""
| File: 4_python_single_vehicle.py
| Author: Marcelo Jacinto and Joao Pinto (marcelo.jacinto@tecnico.ulisboa.pt, joao.s.pinto@tecnico.ulisboa.pt)
| License: BSD-3-Clause. Copyright (c) 2023, Marcelo Jacinto. All rights reserved.
| Description: This files serves as an example on how to use the ... | 4,221 | Python | 34.478991 | 121 | 0.666667 |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 3