MCPcopy Create free account

hub / github.com/NVlabs/GR00T-WholeBodyControl / functions

Functions6,086 in github.com/NVlabs/GR00T-WholeBodyControl

↓ 1 callersMethodcompute_observation
Compute the observation vector from current state
decoupled_wbc/control/policy/g1_gear_wbc_policy.py:68
↓ 1 callersMethodcompute_perplexity_per_head
(self, code_idx)
motionbricks/motionbricks/vqvae/neural_modules/quantize_cnn_multihead.py:46
↓ 1 callersFunctioncompute_position_features
Compute local position features from the original joints position, and the heading direction. Canonicalize each frame so that they all face in the
motionbricks/motionbricks/motionlib/core/motion_reps/tools/motion_features.py:208
↓ 1 callersFunctioncompute_position_features_with_smooth_root
Compute local position features from the original joints position, and the heading direction. Canonicalize each frame so that they all face in the
motionbricks/motionbricks/motionlib/core/motion_reps/tools/motion_features.py:330
↓ 1 callersMethodcompute_root_pos_and_rot
Compute root position and rotation from the representation. Args: motion (torch.Tensor): Motion tensor of shape [..., T, D] where
motionbricks/motionbricks/motionlib/core/motion_reps/motion_reps_base/global_root_local_body.py:54
↓ 1 callersMethodcompute_root_pos_and_rot
Compute root position and rotation from the representation. Args: motion (torch.Tensor): Motion features of shape [..., D] (can b
motionbricks/motionbricks/motionlib/core/motion_reps/motion_reps_base/seperate_root_local_body.py:283
↓ 1 callersMethodcompute_root_rep_from_root_pos_and_rot
Compute root representation from root position and rotation. Args: r_pos (torch.Tensor): [..., T, 3] global root position
motionbricks/motionbricks/motionlib/core/motion_reps/motion_reps_base/local_root_local_body.py:119
↓ 1 callersMethodcompute_waist_joints_from_orientation
Compute waist joint angles from VR neck orientation. The neck orientation from VR represents the upper body tilt. We decompose it
gear_sonic/utils/teleop/vis/vr3pt_pose_visualizer.py:238
↓ 1 callersFunctionconcat_action
Combine individual joint-group targets into the upper-body action vector.
decoupled_wbc/control/utils/n1_utils.py:127
↓ 1 callersFunctionconcat_action
Process the action dict from the policy into a flat dict. Strips ``action.`` prefixes from keys (if present) and returns the result. Args:
gear_sonic/utils/inference/vla_utils.py:14
↓ 1 callersFunctionconcat_into
external_dependencies/XRoboToolkit-PC-Service-Pybind_X86_and_ARM64/include/aarch64/nlohmann/json.hpp:4265
↓ 1 callersFunctionconcat_into
external_dependencies/XRoboToolkit-PC-Service-Pybind_X86_and_ARM64/include/nlohmann/json.hpp:4265
↓ 1 callersFunctionconcat_length
external_dependencies/XRoboToolkit-PC-Service-Pybind_X86_and_ARM64/include/aarch64/nlohmann/json.hpp:4234
↓ 1 callersFunctionconcat_length
external_dependencies/XRoboToolkit-PC-Service-Pybind_X86_and_ARM64/include/nlohmann/json.hpp:4234
↓ 1 callersMethodconcat_root_body
Concatenates root and body features into full motion representation. Args: root_data (torch.Tensor): Root motion features of shap
motionbricks/motionbricks/motionlib/core/motion_reps/motion_reps_base/seperate_root_local_body.py:794
↓ 1 callersFunctionconfig
()
decoupled_wbc/control/teleop/gui/library/log.py:247
↓ 1 callersMethodcontrol_goal_callback
* @brief ROS 2 subscriber callback (runs on the executor thread). * * Deserialises the ByteMultiArray payload via msgpack, stores the result
gear_sonic_deploy/src/g1/g1_deploy_onnx_ref/include/input_interface/ros2_input_handler.hpp:1193
↓ 1 callersFunctionconvert_motion_data
Convert the motion pickle file to C++ readable formats
gear_sonic_deploy/reference/convert_motions.py:10
↓ 1 callersMethodconvert_mujoco_transforms_to_motion_transforms
@brief: convert the mujoco transforms to motion transforms: 1. coordinate system conversion, 2. t-pose conversion, 3. populat
motionbricks/motionbricks/helper/mujoco_helper.py:376
↓ 1 callersFunctionconvert_single_motion
Convert a single motion sequence to various formats
gear_sonic_deploy/reference/convert_motions.py:78
↓ 1 callersMethodconvert_to_int
(self, input_str)
external_dependencies/unitree_sdk2_python/example/b2w/high_level/b2w_sport_client.py:30
↓ 1 callersMethodconvert_to_int
(self, input_str)
external_dependencies/unitree_sdk2_python/example/b2/high_level/b2_sport_client.py:31
↓ 1 callersMethodconvert_to_int
(self, input_str)
external_dependencies/unitree_sdk2_python/example/g1/high_level/g1_loco_client_example.py:35
↓ 1 callersMethodconvert_to_int
(self, input_str)
external_dependencies/unitree_sdk2_python/example/go2w/high_level/go2w_sport_client.py:32
↓ 1 callersMethodconvert_to_int
(self, input_str)
external_dependencies/unitree_sdk2_python/example/h1/high_level/h1_loco_client_example.py:30
↓ 1 callersMethodconvert_to_int
(self, input_str)
external_dependencies/unitree_sdk2_python/example/go2/high_level/go2_sport_client.py:47
↓ 1 callersFunctioncopy_filtered_bones_data
Copy bones data while filtering out unwanted sequences. Args: source_dir (Path): Source directory containing bones_xxx subdirs
gear_sonic/data_process/filter_and_copy_bones_data.py:94
↓ 1 callersFunctioncopy_modality_json
Copy modality.json from the first source that has one.
gear_sonic/scripts/process_dataset.py:425
↓ 1 callersFunctioncopysign
Copy the sign of tensor ``b`` onto scalar ``a``. Returns a tensor of the same shape as ``b`` with magnitude ``|a|`` and sign matching each el
gear_sonic/utils/torch_utils.py:352
↓ 1 callersFunctioncrbegin
@brief returns a const reverse iterator to the last element @sa https://json.nlohmann.me/api/basic_json/crbegin/
external_dependencies/XRoboToolkit-PC-Service-Pybind_X86_and_ARM64/include/aarch64/nlohmann/json.hpp:22148
↓ 1 callersFunctioncrbegin
@brief returns a const reverse iterator to the last element @sa https://json.nlohmann.me/api/basic_json/crbegin/
external_dependencies/XRoboToolkit-PC-Service-Pybind_X86_and_ARM64/include/nlohmann/json.hpp:22148
↓ 1 callersMethodcreateFaceGroup
Creates a new module3d.FaceGroup with the given name. :param name: The name for the face group. :type name: [float, float, f
decoupled_wbc/control/teleop/gui/core/module3d.py:987
↓ 1 callersMethodcreate_encoder_masks
Create encoder masks for each encoder. When optimize_encoders_ratio_for_CHIP=False (legacy): - encoder_index is multi-hot: SMPL-n
gear_sonic/trl/modules/universal_token_modules.py:506
↓ 1 callersFunctioncreate_gym_sync_env_class
(env, robot, robot_alias, wbc_version)
decoupled_wbc/control/envs/robocasa/sync_env.py:539
↓ 1 callersFunctioncreate_hemisphere
( radius: float, resolution: int = 20, theta_steps: int = 50, phi_steps: int = 50 )
decoupled_wbc/dexmg/gr00trobocasa/robocasa/utils/usd/shapes.py:9
↓ 1 callersFunctioncreate_manager_env
(config, device, args_cli)
gear_sonic/train_agent_trl.py:97
↓ 1 callersFunctioncreate_output_structure
Create the output directory structure.
gear_sonic/data_process/split_pkl_files.py:21
↓ 1 callersMethodcreate_simulator
Create a simulator based on the configuration. Args: config: Configuration dictionary containing SIMULATOR type
gear_sonic/utils/mujoco_sim/simulator_factory.py:28
↓ 1 callersFunctioncreate_summary_file
Create a summary file with all motion information
gear_sonic_deploy/reference/convert_motions.py:199
↓ 1 callersMethodcreate_visual_only_goal_cube
(self)
decoupled_wbc/dexmg/gr00trobocasa/robocasa/environments/locomanipulation/base.py:927
↓ 1 callersFunctioncrend
@brief returns a const reverse iterator to one before the first @sa https://json.nlohmann.me/api/basic_json/crend/
external_dependencies/XRoboToolkit-PC-Service-Pybind_X86_and_ARM64/include/aarch64/nlohmann/json.hpp:22155
↓ 1 callersFunctioncrend
@brief returns a const reverse iterator to one before the first @sa https://json.nlohmann.me/api/basic_json/crend/
external_dependencies/XRoboToolkit-PC-Service-Pybind_X86_and_ARM64/include/nlohmann/json.hpp:22155
↓ 1 callersMethodcvtype2_to_dtype_with_channels
(self, cvtype)
decoupled_wbc/control/utils/cv_bridge.py:215
↓ 1 callersFunctiondebug_joycons
Debug function to show Joy-Con devices and capture real-time events.
decoupled_wbc/control/teleop/streamers/joycon_streamer.py:545
↓ 1 callersMethoddecode_image
(image: str)
decoupled_wbc/control/sensor/sensor_server.py:119
↓ 1 callersMethoddecode_image
(image: str)
gear_sonic/utils/mujoco_sim/sensor_server.py:80
↓ 1 callersMethoddecode_image
(image: str)
gear_sonic/camera/sensor_server.py:234
↓ 1 callersMethoddeploy
Run the complete deployment process
decoupled_wbc/scripts/deploy_g1.py:354
↓ 1 callersMethoddequantize
(self, code_idx, use_overall_indices = True)
motionbricks/motionbricks/vqvae/neural_modules/quantize_cnn_multihead.py:66
↓ 1 callersMethoddeserialize
Deserialize received message data.
decoupled_wbc/control/sensor/sensor_server.py:35
↓ 1 callersMethoddeserialize
(packed_data: bytes)
gear_sonic/camera/sensor_server.py:86
↓ 1 callersFunctiondiff_between_two_angles
(b, a, fps: float)
motionbricks/motionbricks/motionlib/core/utils/rotations.py:352
↓ 1 callersMethoddisconnect
(sid)
decoupled_wbc/control/teleop/device/iphone/iphone.py:51
↓ 1 callersFunctiondisplay_controls
Method to pretty print controls.
decoupled_wbc/control/main/teleop/run_sync_sim_data_collection.py:33
↓ 1 callersFunctiondof_to_rotation_matrices
Convert DOF angles [..., N] to rotation matrices [..., N, 3, 3].
gear_sonic/utils/motion_lib/torch_humanoid_batch.py:48
↓ 1 callersFunctiondownload_and_extract_smpl
Download split tar parts and extract SMPL data.
download_from_hf.py:128
↓ 1 callersFunctiondownload_sample_data
Download sample motion data (1 walking sequence).
download_from_hf.py:178
↓ 1 callersMethoddrop_nodes_by_names
Drop a list of nodes from the skeleton and re-compute the local rotation to match the original joint position as much as possible.
gear_sonic/utils/motion_lib/skeleton.py:827
↓ 1 callersMethoddump_data_to_file
Save recorded data to file if recording was enabled.
decoupled_wbc/control/teleop/streamers/leapmotion_streamer.py:270
↓ 1 callersFunctiondump_float
! @brief dump a floating-point number Dump a given floating-point number to output stream @a o. Works internally with @a number_buffer.
external_dependencies/XRoboToolkit-PC-Service-Pybind_X86_and_ARM64/include/aarch64/nlohmann/json.hpp:18807
↓ 1 callersFunctiondump_float
! @brief dump a floating-point number Dump a given floating-point number to output stream @a o. Works internally with @a number_buffer.
external_dependencies/XRoboToolkit-PC-Service-Pybind_X86_and_ARM64/include/nlohmann/json.hpp:18807
↓ 1 callersMethodedit_model_xml
This function postprocesses the model.xml collected from a MuJoCo demonstration for retrospective model changes. Args:
decoupled_wbc/dexmg/gr00trobocasa/robocasa/environments/locomanipulation/base.py:303
↓ 1 callersMethodemit
(self, record)
decoupled_wbc/control/teleop/gui/library/log.py:208
↓ 1 callersMethodenableCheckbox
(self)
decoupled_wbc/control/teleop/gui/library/qtgui.py:23
↓ 1 callersMethodencode_episode_videos
(self, episode_index: int)
decoupled_wbc/data/exporter.py:436
↓ 1 callersMethodencode_episode_videos
(self, episode_index: int)
gear_sonic/data/exporter.py:401
↓ 1 callersMethodencode_image
(image: np.ndarray)
gear_sonic/camera/sensor_server.py:224
↓ 1 callersMethodencode_into_idx
@brief: encoder part of the @forward function @param x: the frame features.
motionbricks/motionbricks/vqvae/neural_modules/vqvae.py:134
↓ 1 callersMethodencoding_to_cvtype2
(self, encoding)
decoupled_wbc/control/utils/cv_bridge.py:218
↓ 1 callersMethodencoding_to_dtype_with_channels
(self, encoding)
decoupled_wbc/control/utils/cv_bridge.py:224
↓ 1 callersMethodenv_step
(self, actor_state)
gear_sonic/trl/callbacks/im_eval_callback.py:327
↓ 1 callersFunctionerase
external_dependencies/XRoboToolkit-PC-Service-Pybind_X86_and_ARM64/include/aarch64/nlohmann/json.hpp:19166
↓ 1 callersFunctionerase
external_dependencies/XRoboToolkit-PC-Service-Pybind_X86_and_ARM64/include/nlohmann/json.hpp:19166
↓ 1 callersMethodevaluate_policy
(self)
gear_sonic/trl/callbacks/im_eval_callback.py:158
↓ 1 callersMethodeventFailed
(self, level)
decoupled_wbc/control/teleop/gui/core/events3d.py:241
↓ 1 callersFunctionexp_map_to_angle_axis
(exp_map)
motionbricks/motionbricks/motionlib/core/utils/rotations.py:247
↓ 1 callersFunctionexp_map_to_matrix
(exp_map)
motionbricks/motionbricks/motionlib/core/utils/rotations.py:163
↓ 1 callersFunctionexpand_regex
(path_pattern)
gear_sonic/envs/manager_env/modular_tracking_env_cfg.py:221
↓ 1 callersMethodextract_foot_contacts
Extracts foot contact states from motion features. Args: motion (torch.Tensor): Motion features of shape [..., D] is_
motionbricks/motionbricks/motionlib/core/motion_reps/motion_reps_base/seperate_root_local_body.py:251
↓ 1 callersFunctionextract_motion_metadata
Extract metadata (length, fps) from motion data.
gear_sonic/data_process/split_pkl_files.py:34
↓ 1 callersMethodfilterMaskedVerts
Set the vertices, faces and vertex attributes of other object to the vertices and faces of this mesh object, with the hidden faces an
decoupled_wbc/control/teleop/gui/core/module3d.py:285
↓ 1 callersFunctionfindFile
Inverse of getRelativePath: find an absolute path from specified relative path in one of the search paths. First occurence is returned, s
decoupled_wbc/control/teleop/gui/library/getpath.py:303
↓ 1 callersMethodfind_checkpoints
Find all checkpoint files in the experiment directory.
gear_sonic/eval_exp.py:327
↓ 1 callersMethodfind_evaluated_checkpoints
Find all checkpoints that have been successfully evaluated.
gear_sonic/eval_exp.py:297
↓ 1 callersFunctionfind_interface_by_ip
Find interface name for given IP address
decoupled_wbc/control/utils/network_utils.py:62
↓ 1 callersFunctionfind_interface_by_ip
Find interface name for given IP address
gear_sonic/utils/network/network_utils.py:62
↓ 1 callersFunctionfind_largest_pow10
! For n != 0, returns k, such that pow10 := 10^(k-1) <= n < 10^k. For n == 0, returns 1 and sets pow10 := 1. */
external_dependencies/XRoboToolkit-PC-Service-Pybind_X86_and_ARM64/include/aarch64/nlohmann/json.hpp:17399
↓ 1 callersFunctionfind_largest_pow10
! For n != 0, returns k, such that pow10 := 10^(k-1) <= n < 10^k. For n == 0, returns 1 and sets pow10 := 1. */
external_dependencies/XRoboToolkit-PC-Service-Pybind_X86_and_ARM64/include/nlohmann/json.hpp:17399
↓ 1 callersMethodfind_webcam
Find available webcam device.
decoupled_wbc/scripts/run_webcam_recorder.py:33
↓ 1 callersFunctionfix_discountinuity_interpolation
Fix discountinuity in rotation Args: heading (torch.Tensor): [..., T] rot_dir (torch.Tensor): [..., T, 3] Returns: hea
motionbricks/motionbricks/motionlib/core/motion_reps/tools/heading.py:193
↓ 1 callersMethodfix_trans_height
(self, pose_aa, trans, fix_height_mode)
gear_sonic/utils/motion_lib/motion_lib_base.py:1718
↓ 1 callersMethodflush
(self)
gear_sonic/utils/logging.py:31
↓ 1 callersMethodfoot_detect
(self, positions, vel_thres, height_thresh)
gear_sonic/utils/motion_lib/motion_lib_base.py:1628
↓ 1 callersFunctionformat_buffer
external_dependencies/XRoboToolkit-PC-Service-Pybind_X86_and_ARM64/include/aarch64/nlohmann/json.hpp:17887
↓ 1 callersFunctionformat_buffer
external_dependencies/XRoboToolkit-PC-Service-Pybind_X86_and_ARM64/include/nlohmann/json.hpp:17887
↓ 1 callersMethodforward
Forward pass with automatic temporal dim handling. Accepts either a tensor or a dict keyed by observation name. When ``num_input_temp
gear_sonic/trl/modules/base_module.py:532
↓ 1 callersMethodforward
Args: body_pose: (B, L, 63) betas: (B, L, 10) global_orient: (B, L, 3) transl: (B, L, 3)
gear_sonic/trl/utils/smplx/body_model/smpl_lite.py:79
↓ 1 callersMethodforward
Note dmpls are not supported.
gear_sonic/trl/utils/smplx/body_model/body_model.py:74
↓ 1 callersMethodforward
( self, betas=None, global_orient=None, transl=None, body_pose=None,
gear_sonic/trl/utils/smplx/body_model/body_model_smplx.py:43
↓ 1 callersMethodforward_component
Dispatch a forward pass to a single component identified by *mode*. Supported modes: - ``"policy"`` -- standard policy forward wi
gear_sonic/trl/trainer/ppo_trainer.py:134
← previousnext →1,901–2,000 of 6,086, ranked by callers