sgslib 0.4.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE +24 -17
- data/README.md +43 -7
- data/Rakefile +2 -2
- data/bin/console +34 -1
- data/exe/sgs_alarm +41 -0
- data/exe/sgs_diag +41 -0
- data/exe/sgs_gpsread +42 -0
- data/exe/sgs_logger +45 -0
- data/exe/sgs_mission +45 -0
- data/exe/sgs_nav +43 -0
- data/exe/sgs_otto +46 -0
- data/exe/sgs_report +44 -0
- data/lib/sgs/alarm.rb +74 -32
- data/lib/sgs/bearing.rb +151 -0
- data/lib/sgs/config.rb +35 -24
- data/lib/sgs/course.rb +29 -24
- data/lib/sgs/diagnostics.rb +50 -0
- data/lib/sgs/gps.rb +50 -21
- data/lib/sgs/location.rb +58 -159
- data/lib/sgs/logger.rb +30 -84
- data/lib/sgs/mission.rb +97 -173
- data/lib/sgs/mission_status.rb +127 -0
- data/lib/sgs/navigate.rb +56 -21
- data/lib/sgs/nmea.rb +32 -22
- data/lib/sgs/otto.rb +207 -22
- data/lib/sgs/redis_base.rb +32 -24
- data/lib/sgs/report.rb +54 -0
- data/lib/sgs/rpc.rb +29 -21
- data/lib/sgs/timing.rb +32 -24
- data/lib/sgs/version.rb +35 -1
- data/lib/sgs/waypoint.rb +69 -33
- data/lib/sgslib.rb +34 -21
- data/sgslib.gemspec +16 -6
- metadata +91 -21
- data/.gitignore +0 -9
- data/.rspec +0 -2
- data/.travis.yml +0 -4
- data/CODE_OF_CONDUCT.md +0 -49
- data/bin/setup +0 -8
data/lib/sgs/waypoint.rb
CHANGED
@@ -1,54 +1,80 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2013, Kalopa
|
3
|
-
#
|
4
|
-
# GNU General Public License as published by the Free Software Foundation;
|
5
|
-
# either version 2, or (at your option) any later version.
|
2
|
+
# Copyright (c) 2013-2023, Kalopa Robotics Limited. All rights
|
3
|
+
# reserved.
|
6
4
|
#
|
7
|
-
#
|
8
|
-
#
|
9
|
-
#
|
10
|
-
#
|
5
|
+
# This program is free software; you can redistribute it and/or
|
6
|
+
# modify it under the terms of the GNU General Public License as
|
7
|
+
# published by the Free Software Foundation; either version 2 of
|
8
|
+
# the License, or (at your option) any later version.
|
11
9
|
#
|
12
|
-
#
|
13
|
-
#
|
14
|
-
#
|
10
|
+
# This program is distributed in the hope that it will be useful,
|
11
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13
|
+
# GNU General Public License for more details.
|
15
14
|
#
|
16
|
-
#
|
17
|
-
#
|
18
|
-
#
|
19
|
-
#
|
20
|
-
#
|
21
|
-
#
|
22
|
-
#
|
23
|
-
#
|
24
|
-
#
|
25
|
-
#
|
15
|
+
# You should have received a copy of the GNU General Public License
|
16
|
+
# along with this program; if not, write to the Free Software
|
17
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
18
|
+
# 02110-1301, USA.
|
19
|
+
#
|
20
|
+
# THIS SOFTWARE IS PROVIDED BY KALOPA ROBOTICS LIMITED "AS IS" AND
|
21
|
+
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
22
|
+
# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
23
|
+
# PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL KALOPA
|
24
|
+
# ROBOTICS LIMITED BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
25
|
+
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
26
|
+
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
27
|
+
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
28
|
+
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
29
|
+
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
30
|
+
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
31
|
+
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
32
|
+
#
|
33
|
+
# ABSTRACT
|
26
34
|
#
|
27
35
|
|
28
36
|
##
|
29
37
|
# Routines for handling sailboat navigation and route planning.
|
30
38
|
#
|
31
|
-
require 'date'
|
32
|
-
|
33
39
|
module SGS
|
34
40
|
#
|
35
41
|
# Waypoint, Attractor, and Repellor definitions
|
36
42
|
class Waypoint < RedisBase
|
37
|
-
attr_accessor :location, :normal, :
|
43
|
+
attr_accessor :location, :normal, :range, :name, :attractor
|
38
44
|
attr_reader :bearing, :distance
|
39
45
|
|
46
|
+
@@count = 0
|
47
|
+
|
48
|
+
#
|
49
|
+
# Parse a waypoint from a hash. Uses the instance method to do the work.
|
50
|
+
def self.parse(data)
|
51
|
+
waypt = new
|
52
|
+
waypt.parse(data)
|
53
|
+
waypt
|
54
|
+
end
|
55
|
+
|
56
|
+
#
|
57
|
+
# Parse the waypoint data and save it
|
58
|
+
def parse(data)
|
59
|
+
@@count += 1
|
60
|
+
@name = data["name"] || "Waypoint ##{@@count}"
|
61
|
+
@location = SGS::Location.parse(data)
|
62
|
+
@normal = data["normal"] || 0.0
|
63
|
+
@range = data["range"] || 0.1
|
64
|
+
end
|
65
|
+
|
40
66
|
#
|
41
67
|
# Define a new Attractor or Repellor, based on certain parameters.
|
42
68
|
# The location is the centre of the waypoint. The normal is the compass
|
43
|
-
# angle of the start of the semicircle, and the
|
69
|
+
# angle of the start of the semicircle, and the range is the size of
|
44
70
|
# the arc. You can specify an optional name for the waypoint and also
|
45
71
|
# indicate if we should be attracted or repelled by it.
|
46
|
-
def initialize(location = nil, normal = 0.0,
|
72
|
+
def initialize(location = nil, normal = 0.0, range = 0.1, name = "", attractor = true)
|
47
73
|
@location = location || Location.new
|
48
74
|
@normal = normal
|
49
|
-
@
|
75
|
+
@range = range
|
50
76
|
@name = name
|
51
|
-
@
|
77
|
+
@attractor = attractor
|
52
78
|
@bearing = nil
|
53
79
|
@distance = 0
|
54
80
|
end
|
@@ -66,8 +92,8 @@ module SGS
|
|
66
92
|
d = Bearing.new(@bearing.back_angle - @normal, @bearing.distance)
|
67
93
|
# A chord angle of 0 gives a semicircle from 0 to 180 degrees. If our
|
68
94
|
# approach angle is within range, then reduce our distance to the mark
|
69
|
-
# by the chord distance (
|
70
|
-
@distance -= @
|
95
|
+
# by the chord distance (range).
|
96
|
+
@distance -= @range if d.angle >= 0.0 and d.angle < Math::PI
|
71
97
|
@distance = 0.0 if @distance < 0.0
|
72
98
|
@distance
|
73
99
|
end
|
@@ -75,13 +101,13 @@ module SGS
|
|
75
101
|
#
|
76
102
|
# Is this an attractor?
|
77
103
|
def attractor?
|
78
|
-
@
|
104
|
+
@attractor == true
|
79
105
|
end
|
80
106
|
|
81
107
|
#
|
82
108
|
# Is this a repellor?
|
83
109
|
def repellor?
|
84
|
-
@
|
110
|
+
@attractor == true
|
85
111
|
end
|
86
112
|
|
87
113
|
#
|
@@ -103,10 +129,20 @@ module SGS
|
|
103
129
|
@normal = Bearing.dtor val
|
104
130
|
end
|
105
131
|
|
132
|
+
#
|
133
|
+
# Convert to a hash
|
134
|
+
def to_hash
|
135
|
+
hash = @location.to_hash
|
136
|
+
hash["name"] = @name
|
137
|
+
hash["normal"] = @normal
|
138
|
+
hash["range"] = @range
|
139
|
+
hash
|
140
|
+
end
|
141
|
+
|
106
142
|
#
|
107
143
|
# Pretty version of the waypoint.
|
108
144
|
def to_s
|
109
|
-
"'#{@name}' at #{@location} => #{normal_d}%#{@
|
145
|
+
"'#{@name}' at #{@location} => #{normal_d}%#{@range}"
|
110
146
|
end
|
111
147
|
|
112
148
|
#
|
data/lib/sgslib.rb
CHANGED
@@ -1,37 +1,48 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2013, Kalopa
|
3
|
-
#
|
4
|
-
# GNU General Public License as published by the Free Software Foundation;
|
5
|
-
# either version 2, or (at your option) any later version.
|
2
|
+
# Copyright (c) 2013-2023, Kalopa Robotics Limited. All rights
|
3
|
+
# reserved.
|
6
4
|
#
|
7
|
-
#
|
8
|
-
#
|
9
|
-
#
|
10
|
-
#
|
5
|
+
# This program is free software; you can redistribute it and/or
|
6
|
+
# modify it under the terms of the GNU General Public License as
|
7
|
+
# published by the Free Software Foundation; either version 2 of
|
8
|
+
# the License, or (at your option) any later version.
|
11
9
|
#
|
12
|
-
#
|
13
|
-
#
|
14
|
-
#
|
10
|
+
# This program is distributed in the hope that it will be useful,
|
11
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13
|
+
# GNU General Public License for more details.
|
15
14
|
#
|
16
|
-
#
|
17
|
-
#
|
18
|
-
#
|
19
|
-
#
|
20
|
-
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
21
|
-
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
|
22
|
-
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
23
|
-
# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
24
|
-
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
25
|
-
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
15
|
+
# You should have received a copy of the GNU General Public License
|
16
|
+
# along with this program; if not, write to the Free Software
|
17
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
18
|
+
# 02110-1301, USA.
|
26
19
|
#
|
20
|
+
# THIS SOFTWARE IS PROVIDED BY KALOPA ROBOTICS LIMITED "AS IS" AND
|
21
|
+
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
22
|
+
# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
23
|
+
# PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL KALOPA
|
24
|
+
# ROBOTICS LIMITED BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
25
|
+
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
26
|
+
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
27
|
+
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
28
|
+
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
29
|
+
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
30
|
+
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
31
|
+
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
32
|
+
#
|
33
|
+
# ABSTRACT
|
34
|
+
# Include all of the various components.
|
27
35
|
|
28
36
|
##
|
29
37
|
#
|
30
38
|
require "sgs/version"
|
31
39
|
require 'sgs/redis_base'
|
32
40
|
require 'sgs/config'
|
41
|
+
require 'sgs/logger'
|
42
|
+
require 'sgs/mission_status'
|
33
43
|
require 'sgs/rpc'
|
34
44
|
require 'sgs/location'
|
45
|
+
require 'sgs/bearing'
|
35
46
|
require 'sgs/nmea'
|
36
47
|
require 'sgs/gps'
|
37
48
|
require 'sgs/waypoint'
|
@@ -41,3 +52,5 @@ require 'sgs/otto'
|
|
41
52
|
require 'sgs/course'
|
42
53
|
require 'sgs/navigate'
|
43
54
|
require 'sgs/mission'
|
55
|
+
require 'sgs/diagnostics'
|
56
|
+
require 'sgs/report'
|
data/sgslib.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.summary = %q{Sailboat Guidance System}
|
13
13
|
spec.description = %q{Sailboat Guidance System - an autonomous navigation and control system for robotic sailboats.}
|
14
14
|
spec.homepage = "http://github.com/kalopa/sgslib"
|
15
|
-
spec.license = "
|
15
|
+
spec.license = "GPL-2.0"
|
16
16
|
|
17
17
|
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
18
18
|
# delete this section to allow pushing this gem to any host.
|
@@ -22,18 +22,28 @@ Gem::Specification.new do |spec|
|
|
22
22
|
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
23
23
|
end
|
24
24
|
|
25
|
-
spec.files =
|
25
|
+
spec.files = [
|
26
|
+
"Gemfile",
|
27
|
+
"LICENSE",
|
28
|
+
"Rakefile",
|
29
|
+
"bin/console",
|
30
|
+
"README.md",
|
31
|
+
"sgslib.gemspec",
|
32
|
+
] + Dir.glob("exe/*") + Dir.glob("lib/**/*")
|
26
33
|
spec.bindir = "exe"
|
27
34
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28
35
|
spec.require_paths = ["lib"]
|
29
36
|
|
30
37
|
spec.required_ruby_version = '>= 1.9.2'
|
31
38
|
|
32
|
-
spec.add_development_dependency "bundler", "~>
|
33
|
-
spec.add_development_dependency "rake", "
|
39
|
+
spec.add_development_dependency "bundler", "~> 2.2"
|
40
|
+
spec.add_development_dependency "rake", ">= 12.3.3"
|
34
41
|
spec.add_development_dependency "rspec", "~> 3.0"
|
35
42
|
|
43
|
+
spec.add_runtime_dependency "redis", "~> 4.7"
|
44
|
+
spec.add_runtime_dependency "serialport", "~> 1.3"
|
36
45
|
spec.add_runtime_dependency "msgpack", "~> 1.3"
|
37
|
-
|
38
|
-
spec.
|
46
|
+
spec.add_runtime_dependency "json"
|
47
|
+
spec.add_runtime_dependency "securerandom"
|
48
|
+
spec.add_runtime_dependency "yaml"
|
39
49
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sgslib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dermot Tynan
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '2.2'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '2.2'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 12.3.3
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 12.3.3
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -53,7 +53,21 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '3.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: redis
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '4.7'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '4.7'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: serialport
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
58
72
|
requirements:
|
59
73
|
- - "~>"
|
@@ -67,48 +81,105 @@ dependencies:
|
|
67
81
|
- !ruby/object:Gem::Version
|
68
82
|
version: '1.3'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
84
|
+
name: msgpack
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
72
86
|
requirements:
|
73
87
|
- - "~>"
|
74
88
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
89
|
+
version: '1.3'
|
76
90
|
type: :runtime
|
77
91
|
prerelease: false
|
78
92
|
version_requirements: !ruby/object:Gem::Requirement
|
79
93
|
requirements:
|
80
94
|
- - "~>"
|
81
95
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
96
|
+
version: '1.3'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: json
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: securerandom
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: yaml
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
83
139
|
description: Sailboat Guidance System - an autonomous navigation and control system
|
84
140
|
for robotic sailboats.
|
85
141
|
email:
|
86
142
|
- dtynan@kalopa.com
|
87
|
-
executables:
|
143
|
+
executables:
|
144
|
+
- sgs_alarm
|
145
|
+
- sgs_diag
|
146
|
+
- sgs_gpsread
|
147
|
+
- sgs_logger
|
148
|
+
- sgs_mission
|
149
|
+
- sgs_nav
|
150
|
+
- sgs_otto
|
151
|
+
- sgs_report
|
88
152
|
extensions: []
|
89
153
|
extra_rdoc_files: []
|
90
154
|
files:
|
91
|
-
- ".gitignore"
|
92
|
-
- ".rspec"
|
93
|
-
- ".travis.yml"
|
94
|
-
- CODE_OF_CONDUCT.md
|
95
155
|
- Gemfile
|
96
156
|
- LICENSE
|
97
157
|
- README.md
|
98
158
|
- Rakefile
|
99
159
|
- bin/console
|
100
|
-
-
|
160
|
+
- exe/sgs_alarm
|
161
|
+
- exe/sgs_diag
|
162
|
+
- exe/sgs_gpsread
|
163
|
+
- exe/sgs_logger
|
164
|
+
- exe/sgs_mission
|
165
|
+
- exe/sgs_nav
|
166
|
+
- exe/sgs_otto
|
167
|
+
- exe/sgs_report
|
101
168
|
- lib/sgs/alarm.rb
|
169
|
+
- lib/sgs/bearing.rb
|
102
170
|
- lib/sgs/config.rb
|
103
171
|
- lib/sgs/course.rb
|
172
|
+
- lib/sgs/diagnostics.rb
|
104
173
|
- lib/sgs/gps.rb
|
105
174
|
- lib/sgs/location.rb
|
106
175
|
- lib/sgs/logger.rb
|
107
176
|
- lib/sgs/mission.rb
|
177
|
+
- lib/sgs/mission_status.rb
|
108
178
|
- lib/sgs/navigate.rb
|
109
179
|
- lib/sgs/nmea.rb
|
110
180
|
- lib/sgs/otto.rb
|
111
181
|
- lib/sgs/redis_base.rb
|
182
|
+
- lib/sgs/report.rb
|
112
183
|
- lib/sgs/rpc.rb
|
113
184
|
- lib/sgs/timing.rb
|
114
185
|
- lib/sgs/version.rb
|
@@ -117,7 +188,7 @@ files:
|
|
117
188
|
- sgslib.gemspec
|
118
189
|
homepage: http://github.com/kalopa/sgslib
|
119
190
|
licenses:
|
120
|
-
-
|
191
|
+
- GPL-2.0
|
121
192
|
metadata:
|
122
193
|
allowed_push_host: https://rubygems.org
|
123
194
|
post_install_message:
|
@@ -135,8 +206,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
206
|
- !ruby/object:Gem::Version
|
136
207
|
version: '0'
|
137
208
|
requirements: []
|
138
|
-
|
139
|
-
rubygems_version: 2.7.6
|
209
|
+
rubygems_version: 3.1.6
|
140
210
|
signing_key:
|
141
211
|
specification_version: 4
|
142
212
|
summary: Sailboat Guidance System
|
data/.gitignore
DELETED
data/.rspec
DELETED
data/.travis.yml
DELETED
data/CODE_OF_CONDUCT.md
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
# Contributor Code of Conduct
|
2
|
-
|
3
|
-
As contributors and maintainers of this project, and in the interest of
|
4
|
-
fostering an open and welcoming community, we pledge to respect all people who
|
5
|
-
contribute through reporting issues, posting feature requests, updating
|
6
|
-
documentation, submitting pull requests or patches, and other activities.
|
7
|
-
|
8
|
-
We are committed to making participation in this project a harassment-free
|
9
|
-
experience for everyone, regardless of level of experience, gender, gender
|
10
|
-
identity and expression, sexual orientation, disability, personal appearance,
|
11
|
-
body size, race, ethnicity, age, religion, or nationality.
|
12
|
-
|
13
|
-
Examples of unacceptable behavior by participants include:
|
14
|
-
|
15
|
-
* The use of sexualized language or imagery
|
16
|
-
* Personal attacks
|
17
|
-
* Trolling or insulting/derogatory comments
|
18
|
-
* Public or private harassment
|
19
|
-
* Publishing other's private information, such as physical or electronic
|
20
|
-
addresses, without explicit permission
|
21
|
-
* Other unethical or unprofessional conduct
|
22
|
-
|
23
|
-
Project maintainers have the right and responsibility to remove, edit, or
|
24
|
-
reject comments, commits, code, wiki edits, issues, and other contributions
|
25
|
-
that are not aligned to this Code of Conduct, or to ban temporarily or
|
26
|
-
permanently any contributor for other behaviors that they deem inappropriate,
|
27
|
-
threatening, offensive, or harmful.
|
28
|
-
|
29
|
-
By adopting this Code of Conduct, project maintainers commit themselves to
|
30
|
-
fairly and consistently applying these principles to every aspect of managing
|
31
|
-
this project. Project maintainers who do not follow or enforce the Code of
|
32
|
-
Conduct may be permanently removed from the project team.
|
33
|
-
|
34
|
-
This code of conduct applies both within project spaces and in public spaces
|
35
|
-
when an individual is representing the project or its community.
|
36
|
-
|
37
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
38
|
-
reported by contacting a project maintainer at tynan@hpe.com. All
|
39
|
-
complaints will be reviewed and investigated and will result in a response that
|
40
|
-
is deemed necessary and appropriate to the circumstances. Maintainers are
|
41
|
-
obligated to maintain confidentiality with regard to the reporter of an
|
42
|
-
incident.
|
43
|
-
|
44
|
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
45
|
-
version 1.3.0, available at
|
46
|
-
[http://contributor-covenant.org/version/1/3/0/][version]
|
47
|
-
|
48
|
-
[homepage]: http://contributor-covenant.org
|
49
|
-
[version]: http://contributor-covenant.org/version/1/3/0/
|