MCPcopy Create free account

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

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

↓ 1 callersFunction_pick_display_gpu_index
(default_idx: int = 0)
gear_sonic/eval_agent_trl.py:185
↓ 1 callersMethod_poll
Poll for latest message (non-blocking).
gear_sonic/utils/data_collection/zmq_state_subscriber.py:65
↓ 1 callersMethod_poll_sonic_zmq_messages
Poll ZMQ for pose, planner, and manager_state messages (non-blocking).
gear_sonic/scripts/run_data_exporter.py:337
↓ 1 callersMethod_poll_state_zmq
Poll the ``g1_debug`` ZMQ topic for robot state (non-blocking).
gear_sonic/scripts/run_data_exporter.py:297
↓ 1 callersFunction_pose_stream_common
Shared pose streaming loop used by run_pico.
gear_sonic/scripts/pico_manager_thread_server.py:880
↓ 1 callersFunction_pose_vec_from_head_data
(head_pose: Any)
gear_sonic/utils/teleop/isaac_teleop_client.py:54
↓ 1 callersMethod_post_eval_env_step
(self, actor_state)
gear_sonic/trl/callbacks/im_eval_callback.py:340
↓ 1 callersMethod_post_evaluate_policy
(self, eval_res)
gear_sonic/trl/callbacks/im_eval_callback.py:218
↓ 1 callersMethod_preStartupConfigScan
Run a very primitive scan in order to pick up settings which has to be known before we launch the QtApplication object.
decoupled_wbc/control/teleop/gui/library/universal.py:61
↓ 1 callersMethod_pre_evaluate_policy
(self, reset_env=True)
gear_sonic/trl/callbacks/im_eval_callback.py:261
↓ 1 callersMethod_predict_pose_tokens
@brief: run the pose module here to pred the pose tokens.
motionbricks/motionbricks/motion_backbone/inference/motion_inference.py:244
↓ 1 callersMethod_predict_root_trajectories
@brief: run the root module here to pred how many frames are between the keyframes and predict the local and global root trajectories.
motionbricks/motionbricks/motion_backbone/inference/motion_inference.py:195
↓ 1 callersMethod_prepare_obs_for_action_transform_module
Use policy_atm observations for ATM if DOF mismatch exists, else use policy.
gear_sonic/envs/wrapper/manager_env_wrapper.py:337
↓ 1 callersMethod_prepare_transforms
Precompute all necessary transforms for efficient batch processing.
motionbricks/motionbricks/helper/mujoco_helper.py:161
↓ 1 callersMethod_preprocess_clips_from_ckpt
@brief: create and load the tensors according to the keys /shapes in the ckpt.
motionbricks/motionbricks/motion_backbone/demo/clips.py:48
↓ 1 callersMethod_preprocess_clips_from_dataloader
@brief: preprocess the clips from the dataloader: 1. figure out which clips are for walking, running, idle 2. Process them i
motionbricks/motionbricks/motion_backbone/demo/clips.py:57
↓ 1 callersMethod_print_debug_info
Print debug information about paired latents.
gear_sonic/trl/losses/token_losses.py:951
↓ 1 callersMethod_process_env_step
Handle post-step bookkeeping: reset models on done envs and log metrics. Args: rewards: Reward tensor ``(num_envs,)`` or ``(num_e
gear_sonic/trl/trainer/ppo_trainer.py:1060
↓ 1 callersMethod_process_event
Process a single input event from the Joy-Con.
decoupled_wbc/control/teleop/streamers/joycon_streamer.py:212
↓ 1 callersMethod_process_input_to_joint_transforms
@brief: process the input to joint transforms
motionbricks/motionbricks/motion_backbone/demo/full_agent.py:168
↓ 1 callersMethod_process_module_config
Replace ``"robot_action_dim"`` sentinels with the actual action count. Args: module_config_dict: Module config containing an ``ou
gear_sonic/trl/modules/base_module.py:191
↓ 1 callersMethod_process_upper_body_position_targets
( self, )
gear_sonic/scripts/pico_manager_thread_server.py:1680
↓ 1 callersMethod_randomize_robot_cameras
Randomize the poses of robot-mounted cameras while preserving their relative transforms.
decoupled_wbc/dexmg/gr00trobocasa/robocasa/environments/locomanipulation/base.py:451
↓ 1 callersMethod_randomize_table_rgba
(self)
decoupled_wbc/dexmg/gr00trobocasa/robocasa/environments/locomanipulation/locomanip_basic.py:119
↓ 1 callersMethod_randomize_table_texture
Randomize textures for the table (shelf texture is static)
decoupled_wbc/dexmg/gr00trobocasa/robocasa/environments/locomanipulation/base.py:1330
↓ 1 callersMethod_randomize_table_texture
(self)
decoupled_wbc/dexmg/gr00trobocasa/robocasa/environments/locomanipulation/base.py:1457
↓ 1 callersMethod_reapply_initial_root_info
@brief: The follow-up function of `_extract_initial_root_info` to recover the global information.
motionbricks/motionbricks/motion_backbone/inference/motion_inference.py:179
↓ 1 callersFunction_reconstruct_latest_action_gr1_impl
(robot, verbose=False)
decoupled_wbc/dexmg/gr00trobocasa/robocasa/models/robots/__init__.py:57
↓ 1 callersFunction_reconstruct_latest_action_panda_impl
(robot, action, verbose=False)
decoupled_wbc/dexmg/gr00trobocasa/robocasa/models/robots/__init__.py:79
↓ 1 callersMethod_register_stats_buffer
Allocate per-epoch/mini-batch/micro-batch statistic tensors for logging. Tensors have shape ``(num_ppo_epochs, num_mini_batches, num_micro_ba
gear_sonic/trl/trainer/ppo_trainer.py:1074
↓ 1 callersFunction_resolve_object_usd_paths
(usd_path)
gear_sonic/envs/manager_env/modular_tracking_env_cfg.py:220
↓ 1 callersMethod_rollout_step
Collect a full rollout of ``num_steps_per_env`` transitions and compute returns. Performs the environment interaction loop under ``torch.no_g
gear_sonic/trl/trainer/ppo_trainer.py:884
↓ 1 callersFunction_run_planner_and_streamed_steps
Steps 2-13: planner walking, streamed motion, upper body control.
gear_sonic_deploy/src/g1/g1_deploy_onnx_ref/tests/test_zmq_manager.py:434
↓ 1 callersMethod_sample_before_contact
Sample timestamps before the first contact frame for contact-based initialization. Args: env_ids: Environment indices to resample
gear_sonic/envs/manager_env/mdp/commands.py:2777
↓ 1 callersMethod_sample_quat
Samples the orientation for a given object Returns: np.array: sampled object quaternion in (w,x,y,z) form Raise
decoupled_wbc/dexmg/gr00trobocasa/robocasa/utils/placement_samplers.py:250
↓ 1 callersMethod_sample_text_embedding
(self, text_embedding: t.Tensor = None, has_global_root_values: t.Tensor = None,
motionbricks/motionbricks/motion_backbone/models/root_model.py:287
↓ 1 callersMethod_sample_the_local_pose_conditions
@brief: generate the local pose cond during training. Note the sampling for starting frames, ending frames and middle frames are done separat
motionbricks/motionbricks/motion_backbone/models/pose_model.py:340
↓ 1 callersMethod_sample_tokens_with_highest_prob
(self, pose_tokens: t.Tensor, pose_tokens_prob: t.Tensor, pred_num_to
motionbricks/motionbricks/motion_backbone/inference/motion_inference.py:128
↓ 1 callersMethod_sample_x
Samples the x location for a given object Returns: float: sampled x position
decoupled_wbc/dexmg/gr00trobocasa/robocasa/utils/placement_samplers.py:230
↓ 1 callersMethod_sample_y
Samples the y location for a given object Returns: float: sampled y position
decoupled_wbc/dexmg/gr00trobocasa/robocasa/utils/placement_samplers.py:240
↓ 1 callersMethod_say_blocking
(self, message: str)
gear_sonic/utils/data_collection/text_to_speech.py:29
↓ 1 callersMethod_setMeshUVMap
(self, filename, mesh)
decoupled_wbc/control/teleop/gui/core/guicommon.py:493
↓ 1 callersFunction_set_complex_path_value
Set a value using a complex path by navigating to the parent and setting the final element.
gear_sonic/trl/utils/scheduler.py:254
↓ 1 callersMethod_set_refinement_properties
(self)
decoupled_wbc/dexmg/gr00trobocasa/robocasa/utils/usd/component.py:253
↓ 1 callersMethod_setup_contact_center_visualizer
Setup visualization markers for per-hand contact centers during replay.
gear_sonic/envs/wrapper/manager_env_wrapper.py:1724
↓ 1 callersMethod_setup_finger_primitives
Setup finger primitive action mapping from config. Finger primitives allow the policy to output 2 actions (left/right gripper) instea
gear_sonic/envs/wrapper/manager_env_wrapper.py:226
↓ 1 callersMethod_setup_from_hydra
Setup configuration from Hydra config.
gear_sonic/envs/manager_env/modular_tracking_env_cfg.py:928
↓ 1 callersMethod_setup_logging
Setup simple file logging with timestamp-based filename
decoupled_wbc/control/utils/logging_utils.py:28
↓ 1 callersMethod_setup_mappings
Set up button and axis mappings for Joy-Con event codes.
decoupled_wbc/control/teleop/streamers/joycon_streamer.py:44
↓ 1 callersMethod_setup_policy_atm
Setup policy_atm for action_transform_module when robot has more DOFs than ATM expects.
gear_sonic/envs/wrapper/manager_env_wrapper.py:195
↓ 1 callersMethod_setup_replay_joint_indices
Setup joint indices for replay mode if robot has more DOFs than motion lib (29).
gear_sonic/envs/wrapper/manager_env_wrapper.py:173
↓ 1 callersMethod_setup_replay_keyboard
Setup keyboard controls for replay mode
gear_sonic/envs/wrapper/manager_env_wrapper.py:1703
↓ 1 callersMethod_setup_storage
Allocate rollout storage buffers and episode tracking accumulators. Registers observation, action, reward, done, value, return, and advantage
gear_sonic/trl/trainer/ppo_trainer.py:751
↓ 1 callersMethod_shelf_top_z
Get the Z coordinate of the shelf top surface
decoupled_wbc/dexmg/gr00trobocasa/robocasa/environments/locomanipulation/base.py:1279
↓ 1 callersMethod_shelf_xy
Get the XY coordinates of the shelf
decoupled_wbc/dexmg/gr00trobocasa/robocasa/environments/locomanipulation/base.py:1284
↓ 1 callersMethod_should_regenerate
(self, input: dict)
motionbricks/motionbricks/motion_backbone/demo/full_agent.py:589
↓ 1 callersMethod_slerp
Spherical linear interpolation between two quaternions.
gear_sonic/utils/motion_lib/torch_humanoid_batch.py:325
↓ 1 callersFunction_slerp_batch
Spherical linear interpolation between two quaternions.
gear_sonic/trl/utils/math.py:59
↓ 1 callersMethod_sort_scene_objects
(scene_objects: list[SceneObject])
decoupled_wbc/dexmg/gr00trobocasa/robocasa/utils/scene/scene.py:138
↓ 1 callersFunction_sqrt_positive_part
Returns torch.sqrt(torch.max(0, x)) subgradient is zero where x is 0.
motionbricks/motionbricks/motionlib/core/utils/rotations.py:103
↓ 1 callersFunction_sqrt_positive_part
Returns torch.sqrt(torch.max(0, x)) subgradient is zero where x is 0.
motionbricks/motionbricks/geometry/quaternions.py:5
↓ 1 callersFunction_sqrt_positive_part
Returns torch.sqrt(torch.max(0, x)) but with a zero subgradient where x is 0.
gear_sonic/isaac_utils/rotations.py:669
↓ 1 callersFunction_sqrt_positive_part
Returns torch.sqrt(torch.max(0, x)) but with a zero subgradient where x is 0.
gear_sonic/trl/utils/rotation_conversion.py:97
↓ 1 callersMethod_table_xy
Get the XY coordinates of the table
decoupled_wbc/dexmg/gr00trobocasa/robocasa/environments/locomanipulation/base.py:1288
↓ 1 callersMethod_train_mode
(self)
gear_sonic/trl/callbacks/im_eval_callback.py:251
↓ 1 callersMethod_train_mode
Switch to gradient-update mode: model in train, transforms on.
gear_sonic/trl/trainer/ppo_trainer.py:1995
↓ 1 callersMethod_train_rollout_mode
Switch to rollout collection mode: model in eval, transforms off, env in train.
gear_sonic/trl/trainer/ppo_trainer.py:1984
↓ 1 callersMethod_uncanonicalize_mujoco_qpos
(self, input: dict)
motionbricks/motionbricks/motion_backbone/demo/full_agent.py:563
↓ 1 callersMethod_unconcat_vecs
(self, concat_vec: np.ndarray)
decoupled_wbc/control/policy/interpolation_policy.py:72
↓ 1 callersMethod_update_action_plot
(self, env_actions: torch.Tensor)
gear_sonic/envs/wrapper/manager_env_wrapper.py:1157
↓ 1 callersMethod_update_cameras
( self, data: mujoco.MjData, scene_option: Optional[mujoco.MjvOption] = None, )
decoupled_wbc/dexmg/gr00trobocasa/robocasa/utils/usd/exporter.py:328
↓ 1 callersMethod_update_compliance_force_push_related_metrics
Compute and log per-body force magnitudes, compliance levels, and encoder ratios. Populates ``self.metrics`` with force norms per body, compl
gear_sonic/envs/manager_env/mdp/commands.py:3686
↓ 1 callersMethod_update_contact_center_visualization
Update per-hand contact center visualization during replay.
gear_sonic/envs/wrapper/manager_env_wrapper.py:1778
↓ 1 callersMethod_update_faces
(self, resize=False)
decoupled_wbc/control/teleop/gui/core/module3d.py:726
↓ 1 callersMethod_update_geoms
(self)
decoupled_wbc/dexmg/gr00trobocasa/robocasa/utils/usd/exporter.py:259
↓ 1 callersMethod_update_lights
(self)
decoupled_wbc/dexmg/gr00trobocasa/robocasa/utils/usd/exporter.py:305
↓ 1 callersMethod_update_mean_var_count_from_moments
( self, mean, var, count, batch_mean, batch_var, batch_count )
gear_sonic/utils/running_mean_std.py:79
↓ 1 callersMethod_update_per_env_first_contact
Update _per_env_first_contact for given env_ids based on their assigned motion.
gear_sonic/envs/manager_env/mdp/commands.py:2631
↓ 1 callersMethod_update_stats_buffer
Record per-update diagnostic statistics into the pre-allocated stat buffers. Args: ppo_epoch_idx: Current PPO epoch index.
gear_sonic/trl/trainer/ppo_trainer.py:1497
↓ 1 callersMethod_validate_and_align_contact_frame_counts
Validate contact data frame counts match the loaded motion frame counts. Allows a tolerance of ±3 frames due to slight duration differences b
gear_sonic/envs/manager_env/mdp/commands.py:2640
↓ 1 callersMethod_visualize_pose
Visualize the 6D pose using matplotlib
decoupled_wbc/control/teleop/main/test_iphone.py:226
↓ 1 callersMethod_wait_for_all_cameras_ready
(self, timeout: float = 60.0)
gear_sonic/camera/composed_camera.py:190
↓ 1 callersMethod_wbc_action_space
(self)
decoupled_wbc/control/utils/n1_utils.py:81
↓ 1 callersFunction_withinJail
(path)
decoupled_wbc/control/teleop/gui/library/getpath.py:425
↓ 1 callersMethodact_inference
Compute deterministic actions for inference during rollout. Similar to ``rollout`` but returns only the action mean (no sampling), su
gear_sonic/trl/modules/actor_critic_modules.py:499
↓ 1 callersMethodaction_to_cmd
(self, action: dict[str, any])
decoupled_wbc/control/policy/lerobot_replay_policy.py:87
↓ 1 callersMethodactivate
(self)
decoupled_wbc/tests/control/main/teleop/test_g1_control_loop.py:269
↓ 1 callersMethodaddCategory
(self, category, sortOrder=None)
decoupled_wbc/control/teleop/gui/core/gui3d.py:439
↓ 1 callersMethodaddItemObject
(self, item, pos=None)
decoupled_wbc/control/teleop/gui/library/qtgui.py:135
↓ 1 callersMethodaddLogItem
(self, text, color=None, data=None, checkbox=False, pos=None)
decoupled_wbc/control/teleop/gui/library/qtgui.py:124
↓ 1 callersMethodaddTopWidget
(self, widget)
decoupled_wbc/control/teleop/gui/core/gui3d.py:227
↓ 1 callersMethodaddView
Adds the view to this view. If this view is attached to the app, the view will also be attached. :param view: The view to be added.
decoupled_wbc/control/teleop/gui/core/gui3d.py:91
↓ 1 callersMethodaddView
Adds the view to the application.The view will also be attached. :param view: The view to be added. :type view: gui3d.View
decoupled_wbc/control/teleop/gui/core/gui3d.py:401
↓ 1 callersMethodadd_frame
(self, frame: np.ndarray)
gear_sonic/data/video_writer.py:44
↓ 1 callersMethodadd_key_points_realtime
Add key point visualizations for real-time updates. Args: plotter: PyVista plotter q: Initial joint configur
gear_sonic/utils/teleop/vis/vr3pt_pose_visualizer.py:618
↓ 1 callersMethodadd_to_plotter_realtime
Add G1 robot meshes to a PyVista plotter for real-time updates. Uses VTK transforms for efficient updates without recreating meshes.
gear_sonic/utils/teleop/vis/vr3pt_pose_visualizer.py:473
↓ 1 callersMethodallowMultipleSelection
(self, allow)
decoupled_wbc/control/teleop/gui/library/qtgui.py:168
↓ 1 callersMethodallowsMultipleSelection
(self)
decoupled_wbc/control/teleop/gui/library/qtgui.py:175
↓ 1 callersFunctionangle_axis_to_exp_map
(angle, axis)
motionbricks/motionbricks/motionlib/core/utils/rotations.py:305
↓ 1 callersFunctionangle_axis_to_exp_map
(angle, axis)
gear_sonic/isaac_utils/rotations.py:251
← previousnext →1,701–1,800 of 6,086, ranked by callers