Am5os
 All Classes Functions Pages
Public Member Functions | List of all members
HumansInFrontOfBusScenario Class Reference
Inheritance diagram for HumansInFrontOfBusScenario:
[legend]
Collaboration diagram for HumansInFrontOfBusScenario:
[legend]

Public Member Functions

virtual bool Detect (FrameDetectionData detected_objects) override
 
virtual std::string GetScenarioInformation () override
 

Additional Inherited Members

- Static Public Member Functions inherited from Scenario
static float ComputeDistance (Element first, Element second)
 
static float ComputeCenterDistance (Element first, Element second)
 
static bool DoOverlap (Element first, Element second)
 
static bool DoContain (Element big, Element small)
 

Member Function Documentation

bool HumansInFrontOfBusScenario::Detect ( FrameDetectionData  detected_objects)
overridevirtual

Overrides the Detect function from Scenario. Deetects whether there are humans in front of the bus.

Returns
true whether the are humans in front of the bus, false if not

Implements Scenario.

Here is the call graph for this function:

std::string HumansInFrontOfBusScenario::GetScenarioInformation ( )
overridevirtual

Returns the information about the detected scenario as a human-readable string

Returns
A string that describes the scenario

Implements Scenario.


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