farmbot-serial 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/console.rb +2 -1
- data/lib/arduino/outgoing_handler.rb +3 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 789466a129ba38c0f325933bee2d20734843d281
|
4
|
+
data.tar.gz: bb01bdf632df569b67b04fb372d305253c37c0e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbdb336f8aa7f4ec32e7f5cf3966bc6868d6e6cc79aba1fb806cf89d338dbfdcecad2b4b5e9194c2d29f5f5be72826c245e373c29a522afc7e3184ac65f49fba
|
7
|
+
data.tar.gz: 74730d1aa7a36043454fbf212938b15aa7717e0fa2ebf41ce5add42bbf84f6bcdcbe94518db1093162f17a75fa4e452e9e06a0023bc67933a2058130848a002f
|
data/console.rb
CHANGED
@@ -21,8 +21,9 @@ module FB
|
|
21
21
|
x += (bot.current_position.x || 0)
|
22
22
|
y += (bot.current_position.y || 0)
|
23
23
|
z += (bot.current_position.z || 0)
|
24
|
-
|
25
|
-
|
24
|
+
write do
|
25
|
+
FB::Gcode.new { "G00 X#{[x, 0].max} Y#{[y, 0].max} Z#{[z, 0].max}" }
|
26
|
+
end
|
26
27
|
end
|
27
28
|
|
28
29
|
def move_absolute(x: 0, y: 0, z: 0, s: 100)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: farmbot-serial
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Evers
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-04-
|
12
|
+
date: 2015-04-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|