Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 7495db24 authored by SANCHEZ Victor's avatar SANCHEZ Victor
Browse files

adding possibility to give the velocity of the humans for the social map component

parent ca0a7160
No related branches found
No related tags found
No related merge requests found
...@@ -72,18 +72,12 @@ class SocialMapping(SensorComponent): ...@@ -72,18 +72,12 @@ class SocialMapping(SensorComponent):
r"""The shape of the local map defined as (width, height).""" r"""The shape of the local map defined as (width, height)."""
return self._local_map_shape return self._local_map_shape
# @property def set_human_velocities(self, human_velocities):
# def human_velocities(self): r""" Set the velocities of the human """
# if self.human_velocities is None: # Necessary when the humans are navigating with the navigation component
# pass self.human_velocities= human_velocities
# else :
# return self.human_velocities
# @human_velocities.setter
# def human_velocities(self, human_velocities):
# self.human_velocities = human_velocities
def set_global_map(self, global_map): def set_global_map(self, global_map):
self.state.global_map = mpi_sim.utils.SocialMap( self.state.global_map = mpi_sim.utils.SocialMap(
map=global_map, map=global_map,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment