struct PlaceOS::Driver::Interface::Sensor::MapLocation

Defined in:

placeos-driver/interface/sensor.cr

Constructors

Instance Method Summary

Constructor methods inherited from struct PlaceOS::Driver::Interface::Sensor::Location

new(pull : JSON::PullParser) new

Constructor Detail

def self.new(x : Float64, y : Float64) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def type : String #

[View source]
def x : Float64 #

this is expected to be the raw unadjusted values


[View source]
def x=(x : Float64) #

this is expected to be the raw unadjusted values


[View source]
def y : Float64 #

[View source]
def y=(y : Float64) #

[View source]