MCPcopy Create free account

hub / github.com/FrankZxShen/MCoCoNav / functions

Functions1,026 in github.com/FrankZxShen/MCoCoNav

↓ 1 callersMethodget_current_transform
(self)
multi-robot-setting/habitat/tasks/rearrange/marker_info.py:45
↓ 1 callersMethodget_dataset
(cls, name: str)
multi-robot-setting/habitat/core/registry.py:222
↓ 1 callersFunctionget_dist
(sx, sy, scale, step_size)
utils/fmm_planner.py:25
↓ 1 callersMethodget_done
r"""Returns boolean indicating whether episode is done after performing the last action. :param observations: observations from simul
multi-robot-setting/habitat/core/env.py:448
↓ 1 callersMethodget_episode_iterator
r"""Gets episode iterator with options. Options are specified in :ref:`EpisodeIterator` documentation. :param args: positional args f
multi-robot-setting/habitat/core/dataset.py:172
↓ 1 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:138
↓ 1 callersMethodget_info
r""".. :param observations: observations from simulator and task. :return: info after performing the last action.
multi-robot-setting/habitat/core/env.py:459
↓ 1 callersFunctionget_l2_distance
Computes the L2 distance between two points.
utils/pose.py:4
↓ 1 callersFunctionget_mask
(sx, sy, scale, step_size)
utils/fmm_planner.py:8
↓ 1 callersMethodget_mask
(self, step_size)
semantic_mapping.py:230
↓ 1 callersFunctionget_match_link
(coll, name)
multi-robot-setting/habitat/tasks/rearrange/utils.py:48
↓ 1 callersFunctionget_nav_mesh_settings
(agent_config)
multi-robot-setting/habitat/tasks/rearrange/utils.py:165
↓ 1 callersFunctionget_nav_mesh_settings_from_height
(height)
multi-robot-setting/habitat/tasks/rearrange/utils.py:169
↓ 1 callersMethodget_original_map
(self)
multi-robot-setting/habitat/tasks/nav/nav.py:783
↓ 1 callersMethodget_pose_change
Returns dx, dy, do pose change of the agent relative to the last timestep.
agents/vlm_agents.py:855
↓ 1 callersMethodget_pose_change
Returns dx, dy, do pose change of the agent relative to the last timestep.
agents/vlm_agents_gt.py:878
↓ 1 callersMethodget_predictions
(self, img, visualize=0)
utils/semantic_prediction.py:82
↓ 1 callersMethodget_reward
r"""Returns reward after action has been performed. :param observations: observations from simulator and task. :return: reward after
multi-robot-setting/habitat/core/env.py:438
↓ 1 callersMethodget_reward_range
r"""Get min, max range of reward. :return: :py:`[min, max]` range of reward.
multi-robot-setting/habitat/core/env.py:431
↓ 1 callersFunctionget_seg_parser
()
utils/semantic_prediction.py:100
↓ 1 callersMethodget_sim_location
Returns x, y, o pose of the agent in the Habitat simulator.
envs/habitat/multi_agent_env_vlm.py:100
↓ 1 callersMethodget_sim_location
Returns x, y, o pose of the agent in the Habitat simulator.
envs/habitat/multi_agent_sem_env.py:114
↓ 1 callersMethodget_simulator
(cls, name: str)
multi-robot-setting/habitat/core/registry.py:210
↓ 1 callersMethodget_straight_shortest_path_points
r"""Returns points along the geodesic (shortest) path between two points irrespective of the angles between the waypoints. :param pos
multi-robot-setting/habitat/core/simulator.py:348
↓ 1 callersMethodget_task
(cls, name: str)
multi-robot-setting/habitat/core/registry.py:202
↓ 1 callersFunctionget_topdown_map
r"""Return a top-down occupancy map for a sim. Note, this only returns valid values for whatever floor the agent is currently on. :param path
multi-robot-setting/habitat/utils/visualizations/maps.py:292
↓ 1 callersMethodidx2word
(self, n_w)
multi-robot-setting/habitat/datasets/utils.py:94
↓ 1 callersFunctionif_config_to_lower
(config)
multi-robot-setting/habitat/sims/habitat_simulator/habitat_simulator.py:63
↓ 1 callersFunctioninference
()
RedNet/RedNet_inference.py:28
↓ 1 callersFunctionis_compatible_episode
( s: Sequence[float], t: Sequence[float], sim: "HabitatSim", near_dist: float, far_dist: f
multi-robot-setting/habitat/datasets/pointnav/pointnav_generator.py:45
↓ 1 callersFunctionis_pb_installed
()
multi-robot-setting/habitat/tasks/rearrange/utils.py:296
↓ 1 callersFunctionload_ckpt
(model, optimizer, model_file, device)
RedNet/utils.py:113
↓ 1 callersFunctionload_str_list
(fname)
multi-robot-setting/habitat/datasets/utils.py:48
↓ 1 callersMethodlocal_evaluate
( self, agent: "Agent", num_episodes: Optional[int] = None )
multi-robot-setting/habitat/core/benchmark.py:116
↓ 1 callersFunctionmain
()
main.py:748
↓ 1 callersFunctionmake_dataset
(id_dataset, **kwargs)
multi-robot-setting/habitat/datasets/registration.py:16
↓ 1 callersFunctionmake_render_only
(obj, sim)
multi-robot-setting/habitat/tasks/rearrange/utils.py:25
↓ 1 callersFunctionmake_sim
(id_sim, **kwargs)
multi-robot-setting/habitat/sims/registration.py:13
↓ 1 callersFunctionmake_task
(id_task, **kwargs)
multi-robot-setting/habitat/tasks/registration.py:15
↓ 1 callersFunctionmerge_sim_episode_config
(sim_config: Config, episode: Episode, sim: Simulator)
multi-robot-setting/habitat/tasks/nav/nav.py:104
↓ 1 callersFunctionmerge_sim_episode_with_object_config
(sim_config, episode)
multi-robot-setting/habitat/tasks/rearrange/rearrange_task.py:19
↓ 1 callersMethodnum_episodes
r"""number of episodes in the dataset
multi-robot-setting/habitat/core/dataset.py:145
↓ 1 callersMethodoverwrite_sim_config
r"""Update config merging information from :p:`sim_config` and :p:`episode`. :param sim_config: config for simulator. :param
multi-robot-setting/habitat/core/embodied_task.py:374
↓ 1 callersFunctionpredict
Handle streaming predictions. It continuously generates responses for a given input stream. This is particularly useful for real-time, contin
VLM/glm4_openai_api_demo_1gpu.py:229
↓ 1 callersFunctionprocess_history_and_images
Process history messages to extract text, identify the last user query, and convert base64 encoded image URLs to PIL images. Args:
VLM/glm4_openai_api_demo_1gpu.py:282
↓ 1 callersFunctionprocess_history_and_images_glm4
(messages: List[ChatMessageInput])
VLM/glm4_openai_api_demo_1gpu.py:336
↓ 1 callersFunctionr_between
(v_from_, v_to_)
utils/rotation_utils.py:40
↓ 1 callersFunctionrange_pop
r"""Wrapper for habitat_sim profiling_utils.range_pop
multi-robot-setting/habitat/utils/profiling_wrapper.py:42
↓ 1 callersFunctionrange_push
r"""Wrapper for habitat_sim profiling_utils.range_push
multi-robot-setting/habitat/utils/profiling_wrapper.py:36
↓ 1 callersMethodremote_evaluate
( self, agent: "Agent", num_episodes: Optional[int] = None )
multi-robot-setting/habitat/core/benchmark.py:40
↓ 1 callersMethodrender
r"""Render observations from all environments in a tiled image.
multi-robot-setting/habitat/core/vector_env.py:548
↓ 1 callersMethodrender
(self, mode="rgb")
multi-robot-setting/habitat/core/env.py:369
↓ 1 callersMethodreset
Resets the environment to a new episode. Returns: obs (ndarray): RGBD observations (4 x H x W) info (dict): contains
envs/habitat/multi_agent_env_vlm.py:30
↓ 1 callersMethodreset_measures
(self, *args: Any, **kwargs: Any)
multi-robot-setting/habitat/core/embodied_task.py:160
↓ 1 callersMethodreset_metric
r"""Reset :ref:`_metric`, this method is called from :ref:`env.Env` on each reset.
multi-robot-setting/habitat/core/embodied_task.py:105
↓ 1 callersMethodrun_on_image
Args: image (np.ndarray): an image of shape (H, W, C) (in BGR order). This is the format used by OpenCV.
utils/semantic_prediction.py:154
↓ 1 callersMethodsample_object
Sample an object handle from the object_set and return it.
multi-robot-setting/habitat/datasets/rearrange/samplers.py:196
↓ 1 callersMethodsample_placement
Attempt to sample a valid placement of the object in/on a receptacle given an object handle and receptacle information.
multi-robot-setting/habitat/datasets/rearrange/samplers.py:202
↓ 1 callersMethodsample_receptacle
Sample a receptacle from the receptacle_set and return relevant information. If cull_tilted_receptacles is True, receptacles are cull
multi-robot-setting/habitat/datasets/rearrange/samplers.py:110
↓ 1 callersMethodsample_uniform_global
Sample a uniform random point in the local Receptacle volume and then transform it into global space. :param sample_region_scale: de
multi-robot-setting/habitat/datasets/rearrange/receptacle.py:73
↓ 1 callersMethodsample_uniform_local
Sample a uniform random point within Receptacle in local space. :param sample_region_scale: defines a XZ scaling of the sample regio
multi-robot-setting/habitat/datasets/rearrange/receptacle.py:58
↓ 1 callersMethodsave_observation
Get an observation and save it to file. Return the filepath.
multi-robot-setting/habitat/sims/habitat_simulator/debug_visualizer.py:86
↓ 1 callersMethodscene_from_scene_path
r"""Helper method to get the scene name from an episode. :param scene_path: The path to the scene, assumes this is formatted
multi-robot-setting/habitat/core/dataset.py:105
↓ 1 callersMethodset_desired_ee_pos
(self, ee_pos: np.ndarray)
multi-robot-setting/habitat/tasks/rearrange/actions.py:350
↓ 1 callersMethodset_goal
(self, goal, auto_improve=False)
utils/fmm_planner.py:67
↓ 1 callersMethodsettle_sim
Run dynamics for a few seconds to check for stability of newly placed objects and optionally produce a video. Returns whether or not
multi-robot-setting/habitat/datasets/rearrange/rearrange_generator.py:625
↓ 1 callersFunctionsetup_cfg
(args)
utils/semantic_prediction.py:86
↓ 1 callersMethodsleep_all_objects
De-activate (sleep) all rigid objects in the scene, assuming they are already in a dynamically stable state.
multi-robot-setting/habitat/tasks/rearrange/rearrange_sim.py:102
↓ 1 callersMethodstep
Function to take an action in the environment. Args: action (dict): dict with following keys:
envs/habitat/multi_agent_env_vlm.py:52
↓ 1 callersMethodstep_taken
(self)
multi-robot-setting/habitat/core/dataset.py:505
↓ 1 callersFunctiontile_images
Tiles multiple images of non-equal size to a single image. Images are tiled into columns making the returned image wider than tall.
multi-robot-setting/habitat/utils/visualizations/utils.py:167
↓ 1 callersFunctiontile_images
r"""Tile multiple images into single image Args: images: list of images where each image has dimension (height x width x chan
multi-robot-setting/habitat/core/utils.py:30
↓ 1 callersMethodto_json
(self)
multi-robot-setting/habitat/datasets/rearrange/rearrange_dataset.py:44
↓ 1 callersMethodupdate_base
(self)
multi-robot-setting/habitat/tasks/rearrange/actions.py:255
↓ 1 callersMethodupdate_map
(self, agent_position)
multi-robot-setting/habitat/tasks/nav/nav.py:971
↓ 1 callersMethodupdate_measures
(self, *args: Any, **kwargs: Any)
multi-robot-setting/habitat/core/embodied_task.py:164
↓ 1 callersMethodupdate_metric
r"""Update :ref:`_metric`, this method is called from :ref:`env.Env` on each :ref:`step() <env.Env.step()>`
multi-robot-setting/habitat/core/embodied_task.py:111
↓ 1 callersMethodupdate_metric
( self, episode, task: EmbodiedTask, *args: Any, **kwargs: Any )
multi-robot-setting/habitat/tasks/nav/nav.py:601
↓ 1 callersMethodupdate_metric
( self, episode, task: EmbodiedTask, *args: Any, **kwargs: Any )
multi-robot-setting/habitat/tasks/nav/nav.py:663
↓ 1 callersMethodupdate_metric
(self, episode, task, *args: Any, **kwargs: Any)
multi-robot-setting/habitat/tasks/nav/nav.py:706
↓ 1 callersMethodupdate_metric
( self, episode: NavigationEpisode, *args: Any, **kwargs: Any )
multi-robot-setting/habitat/tasks/nav/nav.py:1049
↓ 1 callersMethodupdate_metric
(self, *args, episode, **kwargs)
multi-robot-setting/habitat/tasks/rearrange/rearrange_sensors.py:351
↓ 1 callersMethodupdate_metric
(self, *args, episode, **kwargs)
multi-robot-setting/habitat/tasks/rearrange/rearrange_sensors.py:379
↓ 1 callersMethodupdate_metric
(self, *args, episode, task, observations, **kwargs)
multi-robot-setting/habitat/tasks/rearrange/rearrange_sensors.py:411
↓ 1 callersMethodupdate_metric
(self, *args, episode, task, observations, **kwargs)
multi-robot-setting/habitat/tasks/rearrange/rearrange_sensors.py:438
↓ 1 callersMethodupdate_metric
(self, *args, episode, **kwargs)
multi-robot-setting/habitat/tasks/rearrange/rearrange_sensors.py:469
↓ 1 callersMethodupdate_metric
(self, *args, episode, task, observations, **kwargs)
multi-robot-setting/habitat/tasks/rearrange/rearrange_sensors.py:497
↓ 1 callersMethodupdate_metric
(self, *args, episode, task, observations, **kwargs)
multi-robot-setting/habitat/tasks/rearrange/rearrange_sensors.py:539
↓ 1 callersMethodupdate_metric
(self, *args, episode, task, observations, **kwargs)
multi-robot-setting/habitat/tasks/rearrange/rearrange_sensors.py:592
↓ 1 callersMethodupdate_metric
(self, *args, episode, task, observations, **kwargs)
multi-robot-setting/habitat/tasks/rearrange/rearrange_sensors.py:631
↓ 1 callersMethodupdate_metric
(self, *args, episode, task, observations, **kwargs)
multi-robot-setting/habitat/tasks/rearrange/sub_tasks/pick_sensors.py:162
↓ 1 callersMethodvisualize_scene_receptacles
Generate a wireframe bounding box for each receptacle in the scene, aim the camera at it and record 1 observation.
multi-robot-setting/habitat/datasets/rearrange/rearrange_generator.py:359
↓ 1 callersMethodwait_step
r"""Wait until all the asynchronized environments have synchronized.
multi-robot-setting/habitat/core/vector_env.py:435
↓ 1 callersMethodword2idx
(self, w)
multi-robot-setting/habitat/datasets/utils.py:118
↓ 1 callersMethodwrap
(to_register)
multi-robot-setting/habitat/core/registry.py:50
MethodCoT3
Facilitates a simple chat interaction involving an image. Args: use_stream (bool): Specifies whether to use streaming fo
src/vlm.py:191
FunctionExtractExplorableAreas
(full_map_pred, explo_area_map, VLM_PR, VLM_PR_last, color_map, count)
main.py:125
FunctionPerception_weight_decision26
(VLM_Rel: list, VLM_Pred: str)
src/SystemPrompt.py:501
MethodToT3
Facilitates a simple chat interaction involving an image. Args: use_stream (bool): Specifies whether to use streaming fo
src/vlm.py:245
FunctionVisualize0
(args, episode_n, l_step, pose_pred, full_map_pred, goal_name, visited_vis, map_edge, goal_points)
main.py:627
← previousnext →301–400 of 1,026, ranked by callers