MCPcopy Create free account

hub / github.com/FrankZxShen/MCoCoNav / functions

Functions1,026 in github.com/FrankZxShen/MCoCoNav

↓ 2 callersFunction_resize_observation
(obs, observation_space, config)
multi-robot-setting/habitat/sims/pyrobot/pyrobot.py:46
↓ 2 callersMethod_set_shuffle_intervals
(self)
multi-robot-setting/habitat/core/dataset.py:514
↓ 2 callersMethod_setup_episode_iterator
(self)
multi-robot-setting/habitat/core/env.py:132
↓ 2 callersMethod_update_agents_state
(self)
multi-robot-setting/habitat/sims/habitat_simulator/habitat_simulator.py:368
↓ 2 callersMethodact
r"""Called to produce an action to perform in an environment. :param observations: observations coming in from environment to be
multi-robot-setting/habitat/core/agent.py:26
↓ 2 callersMethodact
(self, goal_points: list, )
agents/vlm_agents.py:440
↓ 2 callersMethodasync_step_at
( self, index_env: int, action: Union[int, str, Dict[str, Any]] )
multi-robot-setting/habitat/core/vector_env.py:397
↓ 2 callersFunctioncalculate_distance
(coord1, coord2)
main.py:745
↓ 2 callersMethodcheck_config_paths_exist
(config: Config)
multi-robot-setting/habitat/datasets/vln/r2r_vln_dataset.py:32
↓ 2 callersFunctioncheck_make_dir
Check for the existence of the provided directory_path and create it if not found.
multi-robot-setting/habitat/utils/common.py:14
↓ 2 callersFunctionconv3x3
3x3 convolution with padding
RedNet/RedNet_model.py:252
↓ 2 callersFunctionconvert_entry
(entry)
src/SystemPrompt.py:290
↓ 2 callersMethodcreate_sim_config
( self, _sensor_suite: SensorSuite )
multi-robot-setting/habitat/sims/habitat_simulator/habitat_simulator.py:282
↓ 2 callersFunctioncull_string_list_by_substrings
Cull a list of strings to the subset of strings containing any of the "included_substrings" and none of the "excluded_substrings". Returns th
multi-robot-setting/habitat/utils/common.py:33
↓ 2 callersFunctiondraw_agent
r"""Return an image with the agent image composited onto it. Args: image: the image onto which to put the agent. agent_center_coor
multi-robot-setting/habitat/utils/visualizations/maps.py:57
↓ 2 callersFunctionfind_receptacles
Scrape and return a list of all Receptacles defined in the metadata belonging to the scene's currently instanced objects.
multi-robot-setting/habitat/datasets/rearrange/receptacle.py:361
↓ 2 callersFunctionform_prompt_for_DecisionVLM_Frontier
(Scene_Information, agents_seg_list, pre_goal_point, target, cur_location, Frontier_list)
src/SystemPrompt.py:342
↓ 2 callersFunctionform_prompt_for_FN
(target, agents_seg_list, Perception_PR, pre_goal_point, Frontier_list, cur_location, History_nodes)
src/SystemPrompt.py:288
↓ 2 callersFunctionform_prompt_for_PerceptionVLM
(target, objs, yolo)
src/SystemPrompt.py:242
↓ 2 callersMethodfrom_json
( self, json_str: str, scenes_dir: Optional[str] = None )
multi-robot-setting/habitat/datasets/pointnav/pointnav_dataset.py:123
↓ 2 callersFunctiongenerate_stream_cogvlm
Generates a stream of responses using the CogVLM model in inference mode. It's optimized to handle continuous input-output interactions with
VLM/glm4_openai_api_demo_1gpu.py:369
↓ 2 callersMethodget_agent_state
(self, agent_id: int = 0)
multi-robot-setting/habitat/sims/habitat_simulator/habitat_simulator.py:542
↓ 2 callersMethodget_all_markers
(self)
multi-robot-setting/habitat/tasks/rearrange/rearrange_sim.py:137
↓ 2 callersMethodget_current_position
(self)
multi-robot-setting/habitat/tasks/rearrange/marker_info.py:42
↓ 2 callersMethodget_global_transform
Isolates boilerplate necessary to extract receptacle global transform of the Receptacle at the current state.
multi-robot-setting/habitat/datasets/rearrange/receptacle.py:68
↓ 2 callersFunctionget_grid
Input: `pose` FloatTensor(bs, 3) `grid_size` 4-tuple (bs, _, grid_h, grid_w) `device` torch.device (cpu or gpu) Outpu
utils/model.py:7
↓ 2 callersMethodget_local_map_boundaries
(self, agent_loc, local_sizes, full_sizes)
agents/vlm_agents.py:928
↓ 2 callersMethodget_local_map_boundaries
(self, agent_loc, local_sizes, full_sizes)
agents/vlm_agents_gt.py:951
↓ 2 callersMethodget_marker
(self, name: str)
multi-robot-setting/habitat/tasks/rearrange/rearrange_sim.py:134
↓ 2 callersMethodget_n_targets
Get the number of rearrange targets.
multi-robot-setting/habitat/tasks/rearrange/rearrange_sim.py:586
↓ 2 callersMethodget_next_action
Returns the next action along the shortest path.
multi-robot-setting/habitat/tasks/nav/shortest_path_follower.py:71
↓ 2 callersMethodget_polar_angle
(self)
multi-robot-setting/habitat/tasks/nav/nav.py:958
↓ 2 callersMethodget_prediction
(self, img)
utils/semantic_prediction.py:28
↓ 2 callersMethodget_sensor
(cls, name: str)
multi-robot-setting/habitat/core/registry.py:214
↓ 2 callersMethodget_short_term_goal
(self, state)
utils/fmm_planner.py:90
↓ 2 callersMethodget_size
(self)
multi-robot-setting/habitat/datasets/utils.py:109
↓ 2 callersMethodinit_map_and_pose
(self)
agents/vlm_agents.py:950
↓ 2 callersMethodinit_map_and_pose
(self)
agents/vlm_agents_gt.py:973
↓ 2 callersMethodinitialize_sim
Initialize a new Simulator object with a selected scene and dataset.
multi-robot-setting/habitat/datasets/rearrange/rearrange_generator.py:556
↓ 2 callersMethodis_navigable
r"""Return :py:`True` if the agent can stand at the specified point. :param point: the point to check.
multi-robot-setting/habitat/core/simulator.py:327
↓ 2 callersFunctionload_rednet
(device, ckpt="", resize=True, stabilize=False)
RedNet/RedNet_model.py:473
↓ 2 callersMethodmake_debug_video
Produce a video from a set of debug observations.
multi-robot-setting/habitat/sims/habitat_simulator/debug_visualizer.py:227
↓ 2 callersMethodmapping
(self, observations: Observations)
agents/vlm_agents.py:273
↓ 2 callersFunctionquaternion_to_list
(q: quaternion.quaternion)
multi-robot-setting/habitat/utils/geometry_utils.py:50
↓ 2 callersMethodreconfigure
(self, config: Config)
multi-robot-setting/habitat/core/env.py:358
↓ 2 callersFunctionregister_custom_wireframe_box_template
Generate and register a custom template for a wireframe box of given size. Return the new template's handle.
multi-robot-setting/habitat/sims/habitat_simulator/sim_utilities.py:15
↓ 2 callersMethodreset
r"""Reset method is called from ``Env`` on each reset for each new episode. Goal of the method is to reset ``Action``'s state for each
multi-robot-setting/habitat/core/embodied_task.py:33
↓ 2 callersMethodreset
(self)
agents/vlm_agents.py:224
↓ 2 callersMethodsample_navigable_point
r"""Samples a navigable point from the simulator. A point is defined as navigable if the agent can be initialized at that point. :ret
multi-robot-setting/habitat/core/simulator.py:319
↓ 2 callersFunctionsave_legend
(categories)
utils/visualization.py:19
↓ 2 callersMethodset_arm_state
(self, joint_pos, joint_vel=None)
multi-robot-setting/habitat/tasks/rearrange/utils.py:334
↓ 2 callersMethodset_legend
(self)
agents/vlm_agents.py:257
↓ 2 callersMethodset_legend
(self)
agents/vlm_agents_gt.py:276
↓ 2 callersMethodsingle_sample
( self, sim: habitat_sim.Simulator, snap_down: bool = False, vdb: Optional[Deb
multi-robot-setting/habitat/datasets/rearrange/samplers.py:296
↓ 2 callersMethodsnap_to_marker
Create a constraint between the end-effector and the marker on the articulated object to be grasped. :param marker_name: The
multi-robot-setting/habitat/tasks/rearrange/rearrange_grasp_manager.py:159
↓ 2 callersMethodstep
r"""Perform actions in the vectorized environments. :param data: list of size _num_envs containing keyword arguments to pass to :
multi-robot-setting/habitat/core/vector_env.py:441
↓ 2 callersFunctiontokenize
( sentence, regex=SENTENCE_SPLIT_REGEX, keep=("'s"), remove=(",", "?") )
multi-robot-setting/habitat/datasets/utils.py:32
↓ 2 callersMethodupdate_fog_of_war_mask
(self, agent_position)
multi-robot-setting/habitat/tasks/nav/nav.py:998
↓ 2 callersMethodwait_step_at
(self, index_env: int)
multi-robot-setting/habitat/core/vector_env.py:408
↓ 1 callersFunctionObjects_Extract
(args, full_map_pred, use_sam)
main.py:82
↓ 1 callersFunctionPerception_weight_decision4
(VLM_Rel: list, VLM_Pred: str)
src/SystemPrompt.py:470
↓ 1 callersFunctionVisualize
(args, episode_n, l_step, pose_pred, full_map_pred, goal_name, visited_vis, map_edge, Frontiers_dict, goal_poi
main.py:254
↓ 1 callersMethod__deserialize_goal
(serialized_goal: Dict[str, Any])
multi-robot-setting/habitat/datasets/object_nav/object_nav_dataset.py:78
↓ 1 callersMethod__init__
(self, *args: Any, **kwargs: Any)
multi-robot-setting/habitat/core/embodied_task.py:30
↓ 1 callersMethod__init__
(self, *args, config, sim: RearrangeSim, **kwargs)
multi-robot-setting/habitat/tasks/rearrange/grip_actions.py:88
↓ 1 callersMethod__init__
(self, *args, sim, config, task, **kwargs)
multi-robot-setting/habitat/tasks/rearrange/sub_tasks/pick_sensors.py:23
↓ 1 callersMethod__init__
(self, word_list=None, filepath=None)
multi-robot-setting/habitat/datasets/utils.py:61
↓ 1 callersMethod__init__
( self, object_set: List[str], receptacle_sets: List[ Tuple[List[str], Lis
multi-robot-setting/habitat/datasets/rearrange/samplers.py:70
↓ 1 callersMethod__init__
:param name: The name of the Receptacle. Should be unique and descriptive for any one object. :param parent_object_handle: The rigid
multi-robot-setting/habitat/datasets/rearrange/receptacle.py:25
↓ 1 callersMethod__init__
(self, num_inputs, num_outputs)
utils/distributions.py:36
↓ 1 callersMethod__init__
(self, recurrent, recurrent_input_size, hidden_size)
utils/model.py:81
↓ 1 callersMethod_add_objs
(self, ep_info: Config, should_add_objects: bool)
multi-robot-setting/habitat/tasks/rearrange/rearrange_sim.py:317
↓ 1 callersMethod_build_follower
(self)
multi-robot-setting/habitat/tasks/nav/shortest_path_follower.py:53
↓ 1 callersMethod_capture_robot_state
(self, sim)
multi-robot-setting/habitat/tasks/rearrange/actions.py:239
↓ 1 callersMethod_clear_objects
(self, should_add_objects: bool)
multi-robot-setting/habitat/tasks/rearrange/rearrange_sim.py:289
↓ 1 callersFunction_create_episode
( episode_id: Union[int, str], scene_id: str, start_position: List[float], start_rotation: Lis
multi-robot-setting/habitat/datasets/pointnav/pointnav_generator.py:73
↓ 1 callersMethod_create_obj_viz
(self, ep_info: Config)
multi-robot-setting/habitat/tasks/rearrange/rearrange_sim.py:363
↓ 1 callersMethod_draw_goals_aabb
(self, episode)
multi-robot-setting/habitat/tasks/nav/nav.py:835
↓ 1 callersMethod_draw_goals_positions
(self, episode)
multi-robot-setting/habitat/tasks/nav/nav.py:823
↓ 1 callersMethod_draw_goals_view_points
(self, episode)
multi-robot-setting/habitat/tasks/nav/nav.py:809
↓ 1 callersFunction_draw_loop
( top_down_map, fog_of_war_mask, current_point, current_angle, max_line_len, angles, )
multi-robot-setting/habitat/utils/visualizations/fog_of_war.py:101
↓ 1 callersMethod_draw_shortest_path
( self, episode: NavigationEpisode, agent_position: AgentState )
multi-robot-setting/habitat/tasks/nav/nav.py:886
↓ 1 callersMethod_find_nearest_goal
(self, goal)
utils/fmm_planner.py:136
↓ 1 callersMethod_forced_scene_switch
r"""Internal method to switch the scene. Moves remaining episodes from current scene to the end and switch to next scene episodes.
multi-robot-setting/habitat/core/dataset.py:457
↓ 1 callersMethod_forced_scene_switch_if
(self)
multi-robot-setting/habitat/core/dataset.py:527
↓ 1 callersMethod_gen_start_pos
(self, sim, is_easy_init)
multi-robot-setting/habitat/tasks/rearrange/sub_tasks/pick_task.py:48
↓ 1 callersMethod_get_ao_state_samplers
Initialize and cache all ArticulatedObject state samplers from configuration.
multi-robot-setting/habitat/datasets/rearrange/rearrange_generator.py:285
↓ 1 callersMethod_get_coll_reward
(self)
multi-robot-setting/habitat/tasks/rearrange/rearrange_sensors.py:647
↓ 1 callersMethod_get_obj_samplers
Extracts object sampler parameters from the yaml config file and constructs the sampler objects.
multi-robot-setting/habitat/datasets/rearrange/rearrange_generator.py:169
↓ 1 callersMethod_get_object_target_samplers
Initialize target samplers. Expects self.episode_data to be populated by object samples.
multi-robot-setting/habitat/datasets/rearrange/rearrange_generator.py:217
↓ 1 callersMethod_get_observation
( self, observations: Dict[str, Observations], episode: VLNEpisode, **kwargs
multi-robot-setting/habitat/tasks/vln/vln.py:65
↓ 1 callersMethod_get_observation_space
(self, *args: Any, **kwargs: Any)
multi-robot-setting/habitat/core/simulator.py:84
↓ 1 callersMethod_get_pointnav_episode_image_goal
(self, episode: NavigationEpisode)
multi-robot-setting/habitat/tasks/nav/nav.py:328
↓ 1 callersMethod_get_resource_sets
Extracts and validates scene, object, and receptacle sets from the config and fills internal datastructures for later reference. Assu
multi-robot-setting/habitat/datasets/rearrange/rearrange_generator.py:82
↓ 1 callersMethod_get_return_value
(self, action)
multi-robot-setting/habitat/tasks/nav/shortest_path_follower.py:65
↓ 1 callersMethod_get_scene_sampler
Initialize the scene sampler.
multi-robot-setting/habitat/datasets/rearrange/rearrange_generator.py:258
↓ 1 callersMethod_get_sem_pred
(self, rgb, depth, use_seg=True)
agents/vlm_agents.py:800
↓ 1 callersMethod_get_sem_pred
(self, rgb, depth, use_seg=True)
agents/vlm_agents_gt.py:823
↓ 1 callersMethod_get_sem_pred_rednet
(self, rgb, depth, use_seg=True)
agents/vlm_agents.py:842
↓ 1 callersMethod_get_sensor_type
(self, *args: Any, **kwargs: Any)
multi-robot-setting/habitat/core/simulator.py:81
← previousnext →101–200 of 1,026, ranked by callers