MCPcopy Create free account

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

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

↓ 2 callersMethod__init__
(self, *args, **kwargs)
gear_sonic/data/exporter.py:157
↓ 2 callersMethod__init__
(self)
gear_sonic/trl/utils/scheduler.py:400
↓ 2 callersMethod__init__
(self, target = None, name = None, args = (), kwargs = None)
external_dependencies/unitree_sdk2_python/unitree_sdk2py/utils/thread.py:12
↓ 2 callersMethod__init__
(self)
external_dependencies/unitree_sdk2_python/unitree_sdk2py/utils/joystick.py:46
↓ 2 callersMethod__new__
(cls, *args, **kwargs)
external_dependencies/unitree_sdk2_python/unitree_sdk2py/utils/singleton.py:4
↓ 2 callersMethod_add_coordinate_frame
Add a coordinate frame (3 RGB arrows + colored ball) to the plotter. Args: plotter: PyVista plotter position
gear_sonic/utils/teleop/vis/vr3pt_pose_visualizer.py:967
↓ 2 callersFunction_aggregate_files_mutexExt
(filepath)
decoupled_wbc/control/teleop/gui/library/getpath.py:376
↓ 2 callersFunction_angle_from_tan
Extract the first or third Euler angle from the two members of the matrix which are positive constant times its sine and cosine. Args:
gear_sonic/trl/utils/rotation_conversion.py:220
↓ 2 callersFunction_angle_from_tan
Extract the first or third Euler angle from the two members of the matrix which are positive constant times its sine and cosine. Args:
gear_sonic/trl/utils/smplx/body_model/rotation_conversions.py:176
↓ 2 callersMethod_assert_dimensions
(self, frame: np.ndarray)
decoupled_wbc/data/video_writer.py:37
↓ 2 callersMethod_assert_dimensions
(self, frame: np.ndarray)
gear_sonic/data/video_writer.py:36
↓ 2 callersMethod_build_first_contact_lookup
Build a tensor for efficient per-env first contact frame lookup.
gear_sonic/envs/manager_env/mdp/commands.py:2586
↓ 2 callersMethod_calc_frame_blend
(self, time, len, num_frames, dt)
gear_sonic/utils/motion_lib/motion_lib_base.py:2236
↓ 2 callersMethod_calculate_exceeded_percentage
Calculate by how much percentage a value exceeds the limits.
decoupled_wbc/control/envs/g1/utils/joint_safety.py:263
↓ 2 callersMethod_capture_calibration
Capture calibration offsets from vr_3pt_pose against G1 FK reference. If neck calibration already exists (e.g. from calibrate_now), it is pres
gear_sonic/scripts/pico_manager_thread_server.py:1098
↓ 2 callersMethod_check_success_condition
(self, obs)
decoupled_wbc/tests/control/main/teleop/test_g1_control_loop.py:262
↓ 2 callersMethod_compute_angular_velocity
(r, time_delta: float, guassian_filter=True)
gear_sonic/utils/motion_lib/torch_humanoid_batch.py:740
↓ 2 callersMethod_compute_velocity
(p, time_delta, guassian_filter=True)
gear_sonic/utils/motion_lib/torch_humanoid_batch.py:728
↓ 2 callersMethod_concat_vecs
Concatenate the vectors into a 2D array to be used for interpolation. Args: values: The values to concatenate.
decoupled_wbc/control/policy/interpolation_policy.py:48
↓ 2 callersFunction_controller_inputs_to_dict_side
Project one ControllerSnapshot.inputs into the dict shape consumed by helpers.
gear_sonic/utils/teleop/input_readers.py:295
↓ 2 callersFunction_controller_pose_vec
``[x, y, z, qx, qy, qz, qw]`` from ``ControllerSnapshot``; aim preferred, then grip.
gear_sonic/utils/teleop/isaac_teleop_client.py:33
↓ 2 callersFunction_convert_affinematrix_to_homography_impl
(A: torch.Tensor)
gear_sonic/trl/utils/kornia_transform.py:222
↓ 2 callersMethod_create_blueprint
(self)
decoupled_wbc/data/viz/rerun_viz.py:62
↓ 2 callersMethod_create_bottles
(self)
decoupled_wbc/dexmg/gr00trobocasa/robocasa/environments/locomanipulation/base.py:1496
↓ 2 callersMethod_decode_direct_latent_batch
Decode a batch of full latents directly using ATM decoder. The student policy outputs pre-quantization values (latent + residual). We
gear_sonic/envs/wrapper/manager_env_wrapper.py:580
↓ 2 callersMethod_draw_axes
Draw coordinate axes, labels, and legend on the given axes object.
decoupled_wbc/control/teleop/main/test_iphone.py:31
↓ 2 callersMethod_draw_cube
Draw a 1x1x1 meter cube centered at the origin on the given axes object.
decoupled_wbc/control/teleop/main/test_iphone.py:83
↓ 2 callersMethod_encode_single
Encode using a single encoder without quantization or additive composition. This is the core encoding logic used by both regular and additive
gear_sonic/trl/modules/universal_token_modules.py:586
↓ 2 callersFunction_evaluate_arg
Evaluate a function argument string to its proper type.
gear_sonic/trl/utils/scheduler.py:191
↓ 2 callersMethod_extract_bool
(pose_data: dict, key: str)
gear_sonic/scripts/run_data_exporter.py:505
↓ 2 callersFunction_extract_dof_pos
Extract DOF angles from decoder output via inverse kinematics. Runs ``humanoid.global_transforms_to_qpos`` on egocentric transforms to recove
gear_sonic/trl/losses/token_losses.py:296
↓ 2 callersMethod_finalize_frame
(self, t_start: float)
gear_sonic/scripts/run_data_exporter.py:540
↓ 2 callersFunction_find_matching_bracket
Find the matching closing bracket for an opening bracket at position start.
gear_sonic/trl/utils/scheduler.py:117
↓ 2 callersMethod_flip_actions
Mirror actions left-right for symmetry augmentation. Args: actions: Action tensor ``(batch, seq, act_dim)``. Returns:
gear_sonic/trl/trainer/ppo_trainer.py:1046
↓ 2 callersMethod_generate_finger_data
Generate finger position data.
decoupled_wbc/control/teleop/streamers/pico_streamer.py:247
↓ 2 callersMethod_generate_finger_data
Generate finger position data similar to iPhone streamer.
decoupled_wbc/control/teleop/streamers/joycon_streamer.py:451
↓ 2 callersMethod_get_geom_name
(self, objtype, objid)
decoupled_wbc/dexmg/gr00trobocasa/robocasa/utils/usd/exporter.py:398
↓ 2 callersFunction_get_joint_indices_by_names
Get indices of specified joints in the robot's joint list.
gear_sonic/envs/env_utils/joint_utils.py:65
↓ 2 callersMethod_get_live_data
Get structured data instead of raw dict
decoupled_wbc/control/teleop/teleop_streamer.py:147
↓ 2 callersMethod_get_middle_close_q_desired
(self)
gear_sonic/utils/teleop/solver/hand/g1_gripper_ik_solver.py:121
↓ 2 callersMethod_get_object_pos_with_offset
Get object position with randomization offset applied. This method also resamples the offset for the given env_ids. Called at environ
gear_sonic/envs/manager_env/mdp/commands.py:1548
↓ 2 callersMethod_get_pairwise_average_translation
(self)
gear_sonic/utils/motion_lib/skeleton.py:806
↓ 2 callersMethod_get_positions
(self, decoder_output, decoder_cfg)
gear_sonic/trl/losses/token_losses.py:1144
↓ 2 callersFunction_index_from_letter
(letter: str)
gear_sonic/trl/utils/rotation_conversion.py:251
↓ 2 callersFunction_index_from_letter
(letter: str)
gear_sonic/trl/utils/smplx/body_model/rotation_conversions.py:207
↓ 2 callersFunction_init_input_source
Create, start, and wait for readiness of the requested teleop input source.
gear_sonic/scripts/pico_manager_thread_server.py:1568
↓ 2 callersMethod_init_socket
Initialize or reinitialize the socket with current settings
decoupled_wbc/control/utils/service.py:119
↓ 2 callersFunction_init_variable_frames
Initialize variable frame support tensors. Returns (per_env_num_frames, frame_choices) or (None, None) if disabled.
gear_sonic/envs/manager_env/mdp/commands.py:46
↓ 2 callersMethod_initialize_frames
(self)
motionbricks/motionbricks/motion_backbone/demo/full_agent.py:88
↓ 2 callersMethod_initialize_usd_stage
(self)
decoupled_wbc/dexmg/gr00trobocasa/robocasa/utils/usd/exporter.py:125
↓ 2 callersMethod_inverse_kinematics
Solve the inverse kinematics problem for the given target poses. Args: body_target_pose: Dictionary of link names and the
decoupled_wbc/control/teleop/teleop_retargeting_ik.py:82
↓ 2 callersFunction_is_complex_path
Check if a path contains complex access patterns (brackets or parentheses).
gear_sonic/trl/utils/scheduler.py:249
↓ 2 callersMethod_load_mesh
Load a mesh file and return PyVista PolyData. Raises: FileNotFoundError: If the mesh file cannot be found. RuntimeErr
gear_sonic/utils/teleop/vis/vr3pt_pose_visualizer.py:344
↓ 2 callersFunction_log_unrecognised_schema_once
One-shot diagnostic if ``body_data`` doesn't look like either schema we expect. Logs the type once per process so it doesn't flood the streamer.
gear_sonic/utils/teleop/input_readers.py:197
↓ 2 callersMethod_meshes
(self)
decoupled_wbc/control/teleop/gui/core/guicommon.py:140
↓ 2 callersFunction_navigate_object_path
Navigate through a complex object path that may include: - Attribute access: obj.attr - Function calls: obj.method('param') - Diction
gear_sonic/trl/utils/scheduler.py:17
↓ 2 callersMethod_one_subset_to_the_other
Convert features between global and local representations. Args: features: Input features to convert is_normalized: W
motionbricks/motionbricks/motionlib/core/motion_reps/motion_reps_base/dual_root_local_body.py:164
↓ 2 callersMethod_pre_eval_env_step
(self, actor_state: dict)
gear_sonic/trl/callbacks/im_eval_callback.py:332
↓ 2 callersMethod_prepare_low_state
(self)
decoupled_wbc/control/envs/g1/utils/state_processor.py:72
↓ 2 callersMethod_process_xr_pose
(self, controller_pose, headset_pose)
decoupled_wbc/control/teleop/streamers/pico_streamer.py:196
↓ 2 callersFunction_quat_lerp_normalized
Linear interpolate two quaternions and renormalize. Input shape (4,), xyzw order. Ensures shortest path by flipping sign if dot < 0.
gear_sonic/scripts/pico_manager_thread_server.py:769
↓ 2 callersFunction_quat_xyzw
Extract (qx, qy, qz, qw) from an orientation-like.
gear_sonic/utils/teleop/input_readers.py:169
↓ 2 callersFunction_recursive_instantiate
(obj)
gear_sonic/trl/utils/common.py:78
↓ 2 callersMethod_remapped_to
(self, joint_mapping: dict[str, str], target_skeleton_tree: SkeletonTree)
gear_sonic/utils/motion_lib/skeleton.py:867
↓ 2 callersMethod_resample_command
Resample motion clips, reset robot state, and position objects for given envs. This is the main episode-reset handler. It performs the follow
gear_sonic/envs/manager_env/mdp/commands.py:2825
↓ 2 callersMethod_reset_internal
(self)
decoupled_wbc/dexmg/gr00trobocasa/robocasa/environments/locomanipulation/locomanip_basic.py:113
↓ 2 callersMethod_restore_terminal
Restore terminal to a sane state.
decoupled_wbc/control/utils/keyboard_dispatcher.py:148
↓ 2 callersFunction_sanitize_rotation_matrices
Replace degenerate (near-zero) rotation matrices with identity. Variable-frame masking can zero out padded frames, producing zero 3x3 matrice
gear_sonic/trl/losses/token_losses.py:355
↓ 2 callersMethod_set_debug_vis_impl
Create or toggle visibility of debug visualization markers. Lazily initializes feet contact markers, height-map dot markers, and cont
gear_sonic/envs/manager_env/mdp/commands.py:3306
↓ 2 callersFunction_set_final_target
Set the final target value, handling complex paths.
gear_sonic/trl/utils/scheduler.py:236
↓ 2 callersMethod_setup_action_joint_indices
Compute joint indices for mapping body (29 DOF) and hand (14 DOF) actions.
gear_sonic/envs/wrapper/manager_env_wrapper.py:217
↓ 2 callersMethod_setup_observables
(self)
decoupled_wbc/dexmg/gr00trobocasa/robocasa/environments/locomanipulation/base.py:1006
↓ 2 callersMethod_setup_visualization
Setup matplotlib figure for 6D pose visualization
decoupled_wbc/control/teleop/main/test_iphone.py:116
↓ 2 callersFunction_sleep_remaining
Sleep for the remainder of the loop period.
gear_sonic/scripts/run_vla_inference.py:767
↓ 2 callersMethod_table_top_z
(self)
decoupled_wbc/dexmg/gr00trobocasa/robocasa/environments/locomanipulation/base.py:1112
↓ 2 callersMethod_taskTab
(self, task)
decoupled_wbc/control/teleop/gui/core/gui3d.py:296
↓ 2 callersFunction_unpack_msgpack_zmq
Strip a ZMQ topic prefix and decode the msgpack payload.
gear_sonic/utils/data_collection/zmq_state_subscriber.py:21
↓ 2 callersFunction_vec3
Extract (x, y, z) from a point-like (.x/.y/.z attrs or 3-sequence).
gear_sonic/utils/teleop/input_readers.py:154
↓ 2 callersMethodactivate
(self)
decoupled_wbc/control/teleop/device/manus.py:101
↓ 2 callersMethodadd_key_points_to_plotter
Add key point visualizations (left wrist, right wrist, torso) to the plotter. Args: plotter: PyVista plotter
gear_sonic/utils/teleop/vis/vr3pt_pose_visualizer.py:538
↓ 2 callersMethodadd_objects
Add additional objects to this sampler. Checks to make sure there's no identical objects already stored. Args: mujoco_ob
decoupled_wbc/dexmg/gr00trobocasa/robocasa/utils/placement_samplers.py:76
↓ 2 callersMethodadd_to_plotter
Add G1 robot meshes to a PyVista plotter. Args: plotter: PyVista plotter to add meshes to q: Joint configura
gear_sonic/utils/teleop/vis/vr3pt_pose_visualizer.py:403
↓ 2 callersMethodappend_sampler
Adds a new placement initializer with corresponding @sampler and arguments Args: sampler (ObjectPositionSampler): sample
decoupled_wbc/dexmg/gr00trobocasa/robocasa/utils/placement_samplers.py:516
↓ 2 callersFunctionat
@brief access specified array element with bounds checking @sa https://json.nlohmann.me/api/basic_json/at/
external_dependencies/XRoboToolkit-PC-Service-Pybind_X86_and_ARM64/include/aarch64/nlohmann/json.hpp:21240
↓ 2 callersFunctionat
@brief access specified array element with bounds checking @sa https://json.nlohmann.me/api/basic_json/at/
external_dependencies/XRoboToolkit-PC-Service-Pybind_X86_and_ARM64/include/nlohmann/json.hpp:21240
↓ 2 callersFunctionbatch_rigid_transform_v2
Args: rot_mats: (*, J, 3, 3) joints: (*, J, 3)
gear_sonic/trl/utils/smplx/body_model/smplx_lite.py:292
↓ 2 callersFunctionbuild_planner_message
Assemble a 'planner' topic message: - mode: i32 (LocomotionMode enum) - movement: f32[3] (x,y,z) - facing: f32[3] (x,y,z)
gear_sonic/utils/teleop/zmq/zmq_planner_sender.py:64
↓ 2 callersFunctionbuiltin_interfaces_msgs_msg_dds__Time_
()
external_dependencies/unitree_sdk2_python/unitree_sdk2py/idl/default.py:25
↓ 2 callersFunctioncalc_heading
Extract heading angle from quaternion (returns angle in radians) - float version
gear_sonic_deploy/src/g1/g1_deploy_onnx_ref/include/math_utils.hpp:194
↓ 2 callersFunctioncalc_heading
(q, w_last=True)
gear_sonic/isaac_utils/rotations.py:298
↓ 2 callersFunctioncalc_heading_d
Extract heading angle from quaternion (returns angle in radians) - double version
gear_sonic_deploy/src/g1/g1_deploy_onnx_ref/include/math_utils.hpp:206
↓ 2 callersFunctioncalc_heading_from_joints_pos
Compute the heading direction from the joint positions, by looking at the hip vector. Args: posed_joints (torch.Tensor): [..., T, J, 3] g
motionbricks/motionbricks/motionlib/core/motion_reps/tools/heading.py:95
↓ 2 callersFunctioncalc_heading_refdir
Compute the heading direction from the root quaternion, by computing the changes from a reference direction. Args: root_quat (torch.T
motionbricks/motionbricks/motionlib/core/motion_reps/tools/heading.py:35
↓ 2 callersMethodcalibrate_hand
(self)
decoupled_wbc/control/envs/g1/g1_hand.py:59
↓ 2 callersMethodchange_first_heading_body
( self, motion: torch.Tensor, corrective_mat: torch.Tensor, )
motionbricks/motionbricks/motionlib/core/motion_reps/motion_reps_base/seperate_root_local_body.py:855
↓ 2 callersMethodchange_state
Cycle through states: IDLE -> RECORDING -> NEED_TO_SAVE -> IDLE
gear_sonic/utils/data_collection/episode_state.py:17
↓ 2 callersMethodcheck_activation
Activation logic only looks at teleop data commands
decoupled_wbc/control/policy/teleop_policy.py:140
↓ 2 callersFunctioncheck_height
Checks if the height of a geom is greater than a given height.
decoupled_wbc/control/envs/g1/sim/metric_utils.py:58
↓ 2 callersMethodclear
Reset the write cursor to the start of the buffer.
gear_sonic/trl/modules/data_utils.py:131
↓ 2 callersMethodclear_last_timing
Clears the timing results for the next iteration.
decoupled_wbc/control/utils/telemetry.py:66
← previousnext →901–1,000 of 6,086, ranked by callers