Click or drag to resize
UnityESkinSensor Class
e-skin sensor management class (Unity).
Inheritance Hierarchy

Namespace: ESkin.Unity
Assembly: ESkinLib4Unity (in ESkinLib4Unity.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public sealed class UnityESkinSensor : ESkinSensor

The UnityESkinSensor type exposes the following members.

Constructors
  NameDescription
Public methodUnityESkinSensor
Initializes the class.
Public methodUnityESkinSensor(Int32)
Initializes the class.
Public methodUnityESkinSensor(String)
Initializes the class.
Public methodUnityESkinSensor(Int32, String)
Initializes the class.
Top
Properties
  NameDescription
Public propertyAccel
Gets current Accel Value.
Public propertyAccelOrigin
Gets accel origin vector.
Public propertyBattery
Gets the remaining battery capacity (0 when not receiving).
(Inherited from ESkinSensor.)
Public propertyCounter
Gets the counter (-1 when not received).
(Inherited from ESkinSensor.)
Public propertyFirmwareVersion
Gets the firmware version ("" when not connecting).
(Inherited from ESkinSensor.)
Public propertyFramePerSecond
Gets the frame per second of e-skin Hub.
(Inherited from ESkinSensor.)
Public propertyGyroRotation
Gets current Gyro Rotation.
Public propertyGyroVelocity
Gets current Gyro Velocity.
Public propertyHubName
Gets the device name of e-skin Hub ("" when not connecting).
(Inherited from ESkinSensor.)
Public propertyIsConnected
Gets whether connected with the e-skin Hub.
(Inherited from ESkinSensor.)
Public propertyIsReceived
Gets whether a value has been received.
(Inherited from ESkinSensor.)
Public propertyNumberOfFrames
Gets the number of preserved data frames.
(Inherited from ESkinSensor.)
Public propertyPairingDevice
Gets or sets the port name or device name paired with the sensor.
(Inherited from ESkinSensor.)
Public propertySerialNumber
Gets the serial number of e-skin Hub ("" when not connecting).
(Inherited from ESkinSensor.)
Public propertyUpdatedDateTime
Gets the time-stamp when sensor data have been received (DateTime.MinValue when not received).
(Inherited from ESkinSensor.)
Top
Methods
  NameDescription
Public methodFixedUpdate
Updates per fixed time.
Public methodGetCalibratedStrainValue(StrainSensorChannel)
Returns the calibrated value of the specified strain sensor. When the frame index is not specified, the index is zero.
(Inherited from ESkinSensor.)
Public methodGetCalibratedStrainValue(StrainSensorChannel, Int32)
Returns the calibrated value of the specified strain sensor.
(Inherited from ESkinSensor.)
Public methodGetFilteredIMUValue(IMUSensorChannel)
Returns the filtered value of the specified IMU sensor. When the frame index is not specified, the index is zero.
(Inherited from ESkinSensor.)
Public methodGetFilteredIMUValue(IMUSensorChannel, Int32)
Returns the filtered value of the specified IMU sensor.
(Inherited from ESkinSensor.)
Public methodGetFilteredStrainValue(StrainSensorChannel)
Returns the filtered value of the specified strain sensor. When the frame index is not specified, the index is zero.
(Inherited from ESkinSensor.)
Public methodGetFilteredStrainValue(StrainSensorChannel, Int32)
Returns the filtered value of the specified strain sensor.
(Inherited from ESkinSensor.)
Public methodGetIMUValue(IMUSensorChannel)
Returns the value of the specified IMU sensor. When the frame index is not specified, the index is zero.
(Inherited from ESkinSensor.)
Public methodGetIMUValue(IMUSensorChannel, Int32)
Returns the value of the specified IMU sensor.
(Inherited from ESkinSensor.)
Public methodGetMinMaxRange(IMUSensorChannel)
Returns the range of values of the specified IMU sensor.
(Inherited from ESkinSensor.)
Public methodGetMinMaxRange(StrainSensorChannel)
Returns the range of values of the specified strain sensor.
(Inherited from ESkinSensor.)
Public methodGetPairingDevices
Returns the array of existing port names or device names associated with bluetooth devices.
(Overrides ESkinSensorGetPairingDevices.)
Public methodGetStrainSensorRange
Returns the range of values of strain sensors for calibration.
(Inherited from ESkinSensor.)
Public methodGetStrainValue(StrainSensorChannel)
Returns the value of the specified strain sensor. When the frame index is not specified, the index is zero.
(Inherited from ESkinSensor.)
Public methodGetStrainValue(StrainSensorChannel, Int32)
Returns the value of the specified strain sensor.
(Inherited from ESkinSensor.)
Public methodIsSetStrainSensorRange
Gets whether the range of values of the strain sensor for calibration is set.
(Inherited from ESkinSensor.)
Public methodLoadConfiguration
Loads configurations.
Public methodOnDestroy
The process when terminated.
Public methodSaveConfiguration
Saves configurations.
Public methodSetHubName
Set the name of e-skin Hub after stop communicating. An exception may occur.
(Inherited from ESkinSensor.)
Public methodSetStrainSensorRange
Sets the range of values of the strain sensor for calibration. An exception may occur.
(Inherited from ESkinSensor.)
Public methodStart
Starts reception from sensors. An exception may occur.
(Overrides ESkinSensorStart.)
Public methodStart(FramePerSecond)
Starts reception from sensors. An exception may occur.
(Overrides ESkinSensorStart(FramePerSecond).)
Public methodStartCalibrationForBoth
Starts calibration with changing the maximum and minimum values.
(Inherited from ESkinSensor.)
Public methodStartCalibrationForMax
Starts calibration with changing the maximum value.
(Inherited from ESkinSensor.)
Public methodStartCalibrationForMin
Starts calibration with changing the minimum value.
(Inherited from ESkinSensor.)
Public methodStop
Stops reception from sensors.
(Inherited from ESkinSensor.)
Public methodStopCalibration
Stops calibration.
(Inherited from ESkinSensor.)
Public methodUpdateGyroOrigin
Updates the Gyro Origin.
Top
Events
  NameDescription
Public eventOnDisconnected
Raises the disconnection event.
(Inherited from ESkinSensor.)
Public eventOnFrame
Raises the frame reception event on the worker thread.
(Inherited from ESkinSensor.)
Top
See Also