Platforms to show: All Mac Windows Linux Cross-Platform
Back to OldPhidgetSpatialMBS class.
OldPhidgetSpatialMBS.Constructor
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 11.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
On success the handle value is not zero.
Lasterror is set.
OldPhidgetSpatialMBS.getAcceleration(index as Integer) as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 11.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
index: The acceleration index.
Returns the acceleration in gs.
Lasterror is set.
OldPhidgetSpatialMBS.getAccelerationAxisCount as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 11.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
OldPhidgetSpatialMBS.getAccelerationMax(index as Integer) as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 11.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
index: The acceleration index.
Lasterror is set.
OldPhidgetSpatialMBS.getAccelerationMin(index as Integer) as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 11.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
index: The acceleration index.
OldPhidgetSpatialMBS.getAngularRate(index as Integer) as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 11.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Returns the angular rate in degrees/second.
index: The angular rate index.
Lasterror is set.
OldPhidgetSpatialMBS.getAngularRateMax(index as Integer) as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 11.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
index: The angular rate index.
Lasterror is set.
OldPhidgetSpatialMBS.getAngularRateMin(index as Integer) as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 11.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
index: The angular rate index.
Lasterror is set.
OldPhidgetSpatialMBS.getCompassAxisCount as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 11.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Lasterror is set.
OldPhidgetSpatialMBS.getDataRate as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 11.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Lasterror is set.
OldPhidgetSpatialMBS.getDataRateMax as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 11.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Lasterror is set.
OldPhidgetSpatialMBS.getDataRateMin as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 11.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Lasterror is set.
OldPhidgetSpatialMBS.getGyroAxisCount as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 11.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Lasterror is set.
OldPhidgetSpatialMBS.getMagneticField(index as Integer) as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 11.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
index: The magnetic field index.
Returns the magnetic field strength in Gauss.
Lasterror is set.
OldPhidgetSpatialMBS.getMagneticFieldMax(index as Integer) as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 11.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
index: The magnetic field index.
Lasterror is set.
OldPhidgetSpatialMBS.getMagneticFieldMin(index as Integer) as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 11.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
index: The magnetic field index.
Lasterror is set.
OldPhidgetSpatialMBS.resetCompassCorrectionParameters
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 11.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Magnetic field data will be presented directly as reported by the sensor.
Lasterror is set.
OldPhidgetSpatialMBS.setCompassCorrectionParameters(magField as Double, offset0 as Double, offset1 as Double, offset2 as Double, gain0 as Double, gain1 as Double, gain2 as Double, T0 as Double, T1 as Double, T2 as Double, T3 as Double, T4 as Double, T5 as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 11.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Lasterror is set.
magField: Local magnetic field strength.
offset0: Axis 0 offset correction.
offset1: Axis 1 offset correction.
offset2: Axis 2 offset correction.
gain0: Axis 0 gain correction.
gain1: Axis 1 gain correction.
gain2: Axis 2 gain correction.
T0: Non-orthogonality correction factor 0.
T1: Non-orthogonality correction factor 1.
T2: Non-orthogonality correction factor 2.
T3: Non-orthogonality correction factor 3.
T4: Non-orthogonality correction factor 4.
T5: Non-orthogonality correction factor 5.
OldPhidgetSpatialMBS.setDataRate(milliseconds as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 11.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Lasterror is set.
Note that data at rates faster then 8ms will be delivered to events as an array of data.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 11.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
This takes about two seconds and the gyro zxes will report 0 during the process.
This should only be called when the board is not moving.
Lasterror is set.
The items on this page are in the following plugins: MBS Phidgets Plugin.