![]() |
AMS Advanced Air Mobility Sensors UG
|
Public Member Functions | |
| void | Init () override |
| bool | IsInitialized () override |
| void | Run () |
| Run vertical channel monitor. | |
Public Member Functions inherited from CSoftwareComponent< CVerticalChannelMonitorSwc, 1U > | |
| CSoftwareComponent (CSoftwareComponent &)=delete | |
| CSoftwareComponent (CSoftwareComponent &&)=delete | |
| CSoftwareComponent & | operator= (const CSoftwareComponent &orOther)=delete |
| CSoftwareComponent & | operator= (CSoftwareComponent &&orOther)=delete |
| virtual void | Init ()=0 |
| virtual bool | IsInitialized ()=0 |
Private Member Functions | |
| CVerticalChannelMonitorSwc (CVerticalChannelMonitorSwc &)=delete | |
| CVerticalChannelMonitorSwc (CVerticalChannelMonitorSwc &&)=delete | |
| CVerticalChannelMonitorSwc & | operator= (const CVerticalChannelMonitorSwc &orOther)=delete |
| CVerticalChannelMonitorSwc & | operator= (CVerticalChannelMonitorSwc &&orOther)=delete |
| CVerticalChannelMonitorSwc ()=default | |
| ~CVerticalChannelMonitorSwc ()=default | |
| SSafeVerticalChannelData | convertVerticalChannelDataToSafeVerticalChannelData (const SVerticalChannelData &korVerticalChannelData, CSerialProtocol::ESignalHealthInfo eHealth) |
| A helper function for converting related types. If input vertical channel data is marked invalid, then the function returns safe vertical channel data with health status "unavailable". Otherwise the function copies data fields from the input vertical channel data object to the output safe vertical channel data object and sets the health status to provided value. | |
Static Private Member Functions | |
| static CVerticalChannelMonitorSwc & | getInstanceImpl (unsigned uInstanceIndex) |
| static SVerticalChannelData | pickVerticalChannelDataFromFilterState (const CBahrsFilterOutput &korFilterOutput) |
| Pick vertical channel data from BAHRS filter output. | |
| static void | populateRedundantInputDataObject (const SVerticalChannelData &korVerticalChannelData, NFusionLibCommon::ESensorId eSensorId, NVerticalChannelMonitorApi::CRedundantInputData &orRedundantInputData) |
| A helper function to populate redundant input data object. | |
| static bool | isDatasetSafe (NFusionLibCommon::ESensorId eSensorId, const NVerticalChannelMonitorApi::COutputData &korMonitorOutput) |
| A helper method to check if vertical channel data from the query sensor is safe. A dataset is safe if one of the following is fulfilled for both height and downwards velocity. | |
| static SSafeVerticalChannelData | computeUnsafeVerticalChannelOutput (const NVerticalChannelMonitorApi::COutputData &korMonitorOutput) |
| Construct vertical channel output when no safe data is available. The function will set health status to "integrity risk" and populate vertical channel data fields with any valid data from the monitor output struct. | |
Friends | |
| class | CSoftwareComponent< CVerticalChannelMonitorSwc, 1U > |
Additional Inherited Members | |
Static Public Member Functions inherited from CSoftwareComponent< CVerticalChannelMonitorSwc, 1U > | |
| static CVerticalChannelMonitorSwc & | GetInstance (unsigned uInstanceIndex=0U) |
Static Public Attributes inherited from CSoftwareComponent< CVerticalChannelMonitorSwc, 1U > | |
| static constexpr unsigned | skuInstanceCount_ |
Protected Member Functions inherited from CSoftwareComponent< CVerticalChannelMonitorSwc, 1U > | |
| CSoftwareComponent ()=default | |
| ~CSoftwareComponent ()=default | |
|
privatedelete |
|
privatedelete |
|
privatedefault |
|
privatedefault |
|
staticprivate |
Construct vertical channel output when no safe data is available. The function will set health status to "integrity risk" and populate vertical channel data fields with any valid data from the monitor output struct.
|
private |
A helper function for converting related types. If input vertical channel data is marked invalid, then the function returns safe vertical channel data with health status "unavailable". Otherwise the function copies data fields from the input vertical channel data object to the output safe vertical channel data object and sets the health status to provided value.
|
staticprivate |
|
overridevirtual |
Initialize the software component.
Implements CSoftwareComponent< CVerticalChannelMonitorSwc, 1U >.
|
staticprivate |
A helper method to check if vertical channel data from the query sensor is safe. A dataset is safe if one of the following is fulfilled for both height and downwards velocity.
| eSensorId | Query sensor ID. |
| korMonitorOutput | Reference to fault detection and isolation results. |
|
overridevirtual |
Get initialization status of the software component.
Implements CSoftwareComponent< CVerticalChannelMonitorSwc, 1U >.
|
privatedelete |
|
privatedelete |
|
staticprivate |
Pick vertical channel data from BAHRS filter output.
| korFilterOutput | BAHRS filter output |
|
staticprivate |
A helper function to populate redundant input data object.
| korVerticalChannelData | Reference to vertical channel data object. |
| eSensorId | ID of the sensor that the data originates from. |
| orRedundantInputData | Reference to an object being populated. |
| void CVerticalChannelMonitorSwc::Run | ( | ) |
Run vertical channel monitor.
|
friend |