Class: Google::Apis::StreetviewpublishV1::Imu
- Inherits:
-
Object
- Object
- Google::Apis::StreetviewpublishV1::Imu
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/streetviewpublish_v1/classes.rb,
lib/google/apis/streetviewpublish_v1/representations.rb,
lib/google/apis/streetviewpublish_v1/representations.rb
Overview
IMU data from the device sensors.
Instance Attribute Summary collapse
-
#accel_mpsps ⇒ Array<Google::Apis::StreetviewpublishV1::Measurement3d>
The accelerometer measurements in meters/sec^2 with increasing timestamps from devices.
-
#gyro_rps ⇒ Array<Google::Apis::StreetviewpublishV1::Measurement3d>
The gyroscope measurements in radians/sec with increasing timestamps from devices.
-
#mag_ut ⇒ Array<Google::Apis::StreetviewpublishV1::Measurement3d>
The magnetometer measurements of the magnetic field in microtesla (uT) with increasing timestamps from devices.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Imu
constructor
A new instance of Imu.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Imu
Returns a new instance of Imu.
207 208 209 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 207 def initialize(**args) update!(**args) end |
Instance Attribute Details
#accel_mpsps ⇒ Array<Google::Apis::StreetviewpublishV1::Measurement3d>
The accelerometer measurements in meters/sec^2 with increasing timestamps from
devices.
Corresponds to the JSON property accelMpsps
193 194 195 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 193 def accel_mpsps @accel_mpsps end |
#gyro_rps ⇒ Array<Google::Apis::StreetviewpublishV1::Measurement3d>
The gyroscope measurements in radians/sec with increasing timestamps from
devices.
Corresponds to the JSON property gyroRps
199 200 201 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 199 def gyro_rps @gyro_rps end |
#mag_ut ⇒ Array<Google::Apis::StreetviewpublishV1::Measurement3d>
The magnetometer measurements of the magnetic field in microtesla (uT) with
increasing timestamps from devices.
Corresponds to the JSON property magUt
205 206 207 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 205 def mag_ut @mag_ut end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
212 213 214 215 216 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 212 def update!(**args) @accel_mpsps = args[:accel_mpsps] if args.key?(:accel_mpsps) @gyro_rps = args[:gyro_rps] if args.key?(:gyro_rps) @mag_ut = args[:mag_ut] if args.key?(:mag_ut) end |