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.
181 182 183 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 181 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
167 168 169 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 167 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
173 174 175 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 173 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
179 180 181 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 179 def mag_ut @mag_ut end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
186 187 188 189 190 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 186 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 |