UnitySensors
Loading...
Searching...
No Matches
UnitySensors.Sensor.UnitySensor Class Referenceabstract
Inheritance diagram for UnitySensors.Sensor.UnitySensor:
Collaboration diagram for UnitySensors.Sensor.UnitySensor:

Public Member Functions

virtual IEnumerator UpdateSensorOnce ()
 

Public Attributes

Action onSensorUpdateComplete
 

Protected Member Functions

void Init ()
 
IEnumerator UpdateSensor ()
 
void OnSensorDestroy ()
 

Package Attributes

float _frequency = 10.0f
 

Properties

float dt [get]
 
float time [get]
 
float frequency [get, set]
 
- Properties inherited from UnitySensors.Interface.Std.ITimeInterface

Private Member Functions

void Awake ()
 
void InitializeSensorOffset ()
 
void Start ()
 
IEnumerator UpdateSensorPeriodically ()
 
void OnDestroy ()
 
void OnValidate ()
 

Private Attributes

float _time
 
float _dt
 
float _frequency_inv
 
int _sensor_id
 

Static Private Attributes

static int _sensor_count = 0
 

Member Function Documentation

◆ Awake()

void UnitySensors.Sensor.UnitySensor.Awake ( )
private
Here is the call graph for this function:

◆ Init()

void UnitySensors.Sensor.UnitySensor.Init ( )
abstractprotected
Here is the caller graph for this function:

◆ InitializeSensorOffset()

void UnitySensors.Sensor.UnitySensor.InitializeSensorOffset ( )
private
Here is the caller graph for this function:

◆ OnDestroy()

void UnitySensors.Sensor.UnitySensor.OnDestroy ( )
private
Here is the call graph for this function:

◆ OnSensorDestroy()

void UnitySensors.Sensor.UnitySensor.OnSensorDestroy ( )
abstractprotected
Here is the caller graph for this function:

◆ OnValidate()

void UnitySensors.Sensor.UnitySensor.OnValidate ( )
private

◆ Start()

void UnitySensors.Sensor.UnitySensor.Start ( )
private
Here is the call graph for this function:

◆ UpdateSensor()

IEnumerator UnitySensors.Sensor.UnitySensor.UpdateSensor ( )
abstractprotected
Here is the caller graph for this function:

◆ UpdateSensorOnce()

virtual IEnumerator UnitySensors.Sensor.UnitySensor.UpdateSensorOnce ( )
virtual

Reimplemented in UnitySensors.Sensor.IMU.IMUSensor.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UpdateSensorPeriodically()

IEnumerator UnitySensors.Sensor.UnitySensor.UpdateSensorPeriodically ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _dt

float UnitySensors.Sensor.UnitySensor._dt
private

◆ _frequency

float UnitySensors.Sensor.UnitySensor._frequency = 10.0f
package

◆ _frequency_inv

float UnitySensors.Sensor.UnitySensor._frequency_inv
private

◆ _sensor_count

int UnitySensors.Sensor.UnitySensor._sensor_count = 0
staticprivate

◆ _sensor_id

int UnitySensors.Sensor.UnitySensor._sensor_id
private

◆ _time

float UnitySensors.Sensor.UnitySensor._time
private

◆ onSensorUpdateComplete

Action UnitySensors.Sensor.UnitySensor.onSensorUpdateComplete

Property Documentation

◆ dt

float UnitySensors.Sensor.UnitySensor.dt
get

◆ frequency

float UnitySensors.Sensor.UnitySensor.frequency
getset

◆ time

float UnitySensors.Sensor.UnitySensor.time
get

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