mlr 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ee80c68b8bfa8b710d10ddc145d2767a2353f767ba312c00ef8cf06fd6a82868
4
- data.tar.gz: 1fc654793659844b0db38f94c4ffb0c16d025b8546cddbf646d52334cd2d44c8
3
+ metadata.gz: 2bbe9d29418a1d6ddc9aa136f365816831cd1de497dd83a94d8d4063140485a7
4
+ data.tar.gz: 8ca6ea82d8edd986603904797062bf42b42e9d22b81a0a71e687e7ed6f5ae5e5
5
5
  SHA512:
6
- metadata.gz: c5b708d5d2c63a4f0ded13b4693e81366a3f2be740889c07e8af8452231d45e418af081e71b10d3dae6fcad3b2cf522dda1185840b0e03105b2dbc50253720ad
7
- data.tar.gz: 57a689231bfd5c029189761581e52b96b7120a4aea40f8a72779e94940af0586b50a1595cecc91925554c01596ab05b3942bd4dc59d2158708466ca358d59eee
6
+ metadata.gz: ed0f7a8fe73cd5910a363ed58ac52d634b9d9393b3713bbce2b5ae0fac60ebecf14e2250ec8d4a58d4429c291e9f22b29d3a2940cfa0fb0df7efa973596435ed
7
+ data.tar.gz: fdd563f681ab656bd34fcee7704a8294f7f035153a94b625733cefbf2dfbd7bacbf9b06ec6e5ae1a2fe5babe636f1297493aa75dfce5fa7e1ba9bfce12eedf90
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mlr (0.1.0)
4
+ mlr (0.1.1)
5
5
  pycall (~> 1.0)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -24,3 +24,41 @@ Also you need python libraries
24
24
  $ pip install numpy
25
25
  $ pip install scipy
26
26
  $ pip install shapely
27
+
28
+ ## Usage
29
+
30
+ # detect point from Mlr::AnchorPoint struct
31
+
32
+ ```ruby
33
+
34
+ # Mlr::AnchorPoint2D.new(X, Y, D)
35
+ # Mlr::AnchorPoint3D.new(X, Y, Z, D)
36
+
37
+ Mlr.from_points([
38
+ Mlr::AnchorPoint2D.new(0, 100, 50),
39
+ Mlr::AnchorPoint2D.new(100, 100, 50),
40
+ Mlr::AnchorPoint2D.new(100, 0, 50)
41
+ ])
42
+
43
+ ```
44
+
45
+ # detect point from Array of Arrays
46
+
47
+ ```ruby
48
+
49
+ # 3xN (2d result)
50
+
51
+ Mlr.from_points([
52
+ [0, 100, 50],
53
+ [100, 100, 50],
54
+ [100, 0, 50]
55
+ ])
56
+
57
+ # or 4xN (3d result)
58
+ Mlr.from_points([
59
+ [0, 100, 0, 50],
60
+ [100, 100, 100, 50],
61
+ [100, 0, 200, 50]
62
+ ])
63
+
64
+ ```
@@ -1,3 +1,3 @@
1
1
  module Mlr
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["skcc321@gmail.com"]
11
11
 
12
12
  spec.summary = %q{multilateration}
13
- spec.description = %q{ruby wrapper from this python multilateration solution - https://github.com/kamalshadi/Localization}
13
+ spec.description = %q{ruby wrapper for https://github.com/kamalshadi/Localization}
14
14
  spec.homepage = "https://github.com/skcc321/mlr"
15
15
  spec.license = "MIT"
16
16
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mlr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - rafael
@@ -80,7 +80,7 @@ dependencies:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '5.0'
83
- description: ruby wrapper from this python multilateration solution - https://github.com/kamalshadi/Localization
83
+ description: ruby wrapper for https://github.com/kamalshadi/Localization
84
84
  email:
85
85
  - skcc321@gmail.com
86
86
  executables: []