UnitySensors
UnitySensors.Sensor.IMU.IMUSensor Class Reference
Inheritance diagram for UnitySensors.Sensor.IMU.IMUSensor:
Collaboration diagram for UnitySensors.Sensor.IMU.IMUSensor:

Protected Member Functions

override void Init ()
 
override void Update ()
 
override void UpdateSensor ()
 
override void OnSensorDestroy ()
 

Properties

Vector3 position [get]
 
Vector3 velocity [get]
 
Vector3 acceleration [get]
 
Quaternion rotation [get]
 
Vector3 angularVelocity [get]
 
Vector3 localVelocity [get]
 
Vector3 localAcceleration [get]
 
- Properties inherited from UnitySensors.Sensor.UnitySensor
float dt [get]
 
float time [get]
 
- Properties inherited from UnitySensors.Interface.Std.ITimeInterface
float time [get]
 
- Properties inherited from UnitySensors.Interface.Sensor.IImuDataInterface
Vector3 acceleration [get]
 
Quaternion rotation [get]
 
Vector3 angularVelocity [get]
 

Private Attributes

Transform _transform
 
Vector3 _position
 
Vector3 _velocity
 
Vector3 _acceleration
 
Quaternion _rotation
 
Vector3 _angularVelocity
 
Vector3 _position_tmp
 
Vector3 _velocity_tmp
 
Vector3 _acceleration_tmp
 
Quaternion _rotation_tmp
 
Vector3 _angularVelocity_tmp
 
Vector3 _position_last
 
Vector3 _velocity_last
 
Quaternion _rotation_last
 
Vector3 _gravityDirection
 
float _gravityMagnitude
 
float _time_last
 

Additional Inherited Members

- Public Member Functions inherited from UnitySensors.Sensor.UnitySensor
delegate void OnSensorUpdated ()
 
- Public Attributes inherited from UnitySensors.Sensor.UnitySensor
OnSensorUpdated onSensorUpdated
 

Member Function Documentation

◆ Init()

override void UnitySensors.Sensor.IMU.IMUSensor.Init ( )
protectedvirtual

◆ OnSensorDestroy()

override void UnitySensors.Sensor.IMU.IMUSensor.OnSensorDestroy ( )
protectedvirtual

◆ Update()

override void UnitySensors.Sensor.IMU.IMUSensor.Update ( )
protectedvirtual

Reimplemented from UnitySensors.Sensor.UnitySensor.

◆ UpdateSensor()

override void UnitySensors.Sensor.IMU.IMUSensor.UpdateSensor ( )
protectedvirtual

Member Data Documentation

◆ _acceleration

Vector3 UnitySensors.Sensor.IMU.IMUSensor._acceleration
private

◆ _acceleration_tmp

Vector3 UnitySensors.Sensor.IMU.IMUSensor._acceleration_tmp
private

◆ _angularVelocity

Vector3 UnitySensors.Sensor.IMU.IMUSensor._angularVelocity
private

◆ _angularVelocity_tmp

Vector3 UnitySensors.Sensor.IMU.IMUSensor._angularVelocity_tmp
private

◆ _gravityDirection

Vector3 UnitySensors.Sensor.IMU.IMUSensor._gravityDirection
private

◆ _gravityMagnitude

float UnitySensors.Sensor.IMU.IMUSensor._gravityMagnitude
private

◆ _position

Vector3 UnitySensors.Sensor.IMU.IMUSensor._position
private

◆ _position_last

Vector3 UnitySensors.Sensor.IMU.IMUSensor._position_last
private

◆ _position_tmp

Vector3 UnitySensors.Sensor.IMU.IMUSensor._position_tmp
private

◆ _rotation

Quaternion UnitySensors.Sensor.IMU.IMUSensor._rotation
private

◆ _rotation_last

Quaternion UnitySensors.Sensor.IMU.IMUSensor._rotation_last
private

◆ _rotation_tmp

Quaternion UnitySensors.Sensor.IMU.IMUSensor._rotation_tmp
private

◆ _time_last

float UnitySensors.Sensor.IMU.IMUSensor._time_last
private

◆ _transform

Transform UnitySensors.Sensor.IMU.IMUSensor._transform
private

◆ _velocity

Vector3 UnitySensors.Sensor.IMU.IMUSensor._velocity
private

◆ _velocity_last

Vector3 UnitySensors.Sensor.IMU.IMUSensor._velocity_last
private

◆ _velocity_tmp

Vector3 UnitySensors.Sensor.IMU.IMUSensor._velocity_tmp
private

Property Documentation

◆ acceleration

Vector3 UnitySensors.Sensor.IMU.IMUSensor.acceleration
get

◆ angularVelocity

Vector3 UnitySensors.Sensor.IMU.IMUSensor.angularVelocity
get

◆ localAcceleration

Vector3 UnitySensors.Sensor.IMU.IMUSensor.localAcceleration
get

◆ localVelocity

Vector3 UnitySensors.Sensor.IMU.IMUSensor.localVelocity
get

◆ position

Vector3 UnitySensors.Sensor.IMU.IMUSensor.position
get

◆ rotation

Quaternion UnitySensors.Sensor.IMU.IMUSensor.rotation
get

◆ velocity

Vector3 UnitySensors.Sensor.IMU.IMUSensor.velocity
get

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