CloudTwin  ROS2 Humble
Digital twin for path and trajectory optimisation
Public Member Functions | Public Attributes | Private Member Functions | List of all members
obstacle_spawner.ObstacleSpawner Class Reference
+ Inheritance diagram for obstacle_spawner.ObstacleSpawner:

Public Member Functions

def __init__ (self)
 
def cleanup (self)
 
def spawn_people (self)
 
def update_cb (self)
 

Public Attributes

 delete_client
 
 people
 
 people_pub
 
 set_state_client
 
 spawn_client
 
 start_time
 
 timer
 

Private Member Functions

def _check_response (self, future)
 

Constructor & Destructor Documentation

◆ __init__()

def obstacle_spawner.ObstacleSpawner.__init__ (   self)

Member Function Documentation

◆ _check_response()

def obstacle_spawner.ObstacleSpawner._check_response (   self,
  future 
)
private
Log any errors from SetEntityState calls.

◆ cleanup()

def obstacle_spawner.ObstacleSpawner.cleanup (   self)
Delete all spawned people from Gazebo.

◆ spawn_people()

def obstacle_spawner.ObstacleSpawner.spawn_people (   self)
Spawn all people using the Scrubs model.

◆ update_cb()

def obstacle_spawner.ObstacleSpawner.update_cb (   self)
Move all people using sinusoidal interpolation.

Member Data Documentation

◆ delete_client

obstacle_spawner.ObstacleSpawner.delete_client

◆ people

obstacle_spawner.ObstacleSpawner.people

◆ people_pub

obstacle_spawner.ObstacleSpawner.people_pub

◆ set_state_client

obstacle_spawner.ObstacleSpawner.set_state_client

◆ spawn_client

obstacle_spawner.ObstacleSpawner.spawn_client

◆ start_time

obstacle_spawner.ObstacleSpawner.start_time

◆ timer

obstacle_spawner.ObstacleSpawner.timer

The documentation for this class was generated from the following file: