Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mobspkr
Vehicle Controller
Commits
b507af76
Commit
b507af76
authored
Jun 18, 2022
by
phil
Browse files
elaine, test patch and fixes
parent
4c0c2676
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
control-patches/OSC-test.maxpat
View file @
b507af76
...
...
@@ -10,7 +10,7 @@
}
,
"classnamespace" : "box",
"rect" : [
377
.0, 1
78
.0,
640
.0,
480
.0 ],
"rect" : [
272
.0, 1
30
.0,
788
.0,
746
.0 ],
"bglocked" : 0,
"openinpresentation" : 0,
"default_fontsize" : 12.0,
...
...
@@ -38,6 +38,272 @@
"style" : "",
"subpatcher_template" : "",
"boxes" : [ {
"box" : {
"id" : "obj-53",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 561.0, 438.0, 65.0, 22.0 ],
"text" : "append $1"
}
}
, {
"box" : {
"id" : "obj-54",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 561.0, 410.0, 182.0, 22.0 ],
"text" : "prepend /motor/move-to-position"
}
}
, {
"box" : {
"id" : "obj-51",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 552.0, 312.0, 65.0, 22.0 ],
"text" : "append $1"
}
}
, {
"box" : {
"id" : "obj-52",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 552.0, 284.0, 173.0, 22.0 ],
"text" : "prepend /motor/move-by-angle"
}
}
, {
"box" : {
"id" : "obj-50",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 528.0, 75.0, 165.0, 22.0 ],
"text" : "prepend /motor/reset-position"
}
}
, {
"box" : {
"id" : "obj-48",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 550.0, 174.0, 65.0, 22.0 ],
"text" : "append $1"
}
}
, {
"box" : {
"id" : "obj-49",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 550.0, 146.0, 170.0, 22.0 ],
"text" : "prepend /motor/move-to-angle"
}
}
, {
"box" : {
"id" : "obj-47",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 57.0, 375.0, 103.0, 22.0 ],
"text" : "/motor/rotate 2 $1"
}
}
, {
"box" : {
"id" : "obj-45",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 124.0, 242.0, 59.0, 22.0 ],
"text" : "append 4"
}
}
, {
"box" : {
"id" : "obj-35",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 124.0, 214.0, 113.0, 22.0 ],
"text" : "prepend /motor/msr"
}
}
, {
"box" : {
"id" : "obj-34",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 109.0, 150.0, 109.0, 22.0 ],
"text" : "prepend /motor/init"
}
}
, {
"box" : {
"id" : "obj-31",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 117.0, 80.0, 116.0, 22.0 ],
"text" : "prepend /motor/stop"
}
}
, {
"box" : {
"id" : "obj-29",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 141.0, 345.0, 65.0, 22.0 ],
"text" : "append $1"
}
}
, {
"box" : {
"id" : "obj-28",
"maxclass" : "number",
"maximum" : 3,
"minimum" : 0,
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 54.0, 27.0, 50.0, 22.0 ]
}
}
, {
"box" : {
"id" : "obj-24",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 141.0, 317.0, 124.0, 22.0 ],
"text" : "prepend /motor/rotate"
}
}
, {
"box" : {
"id" : "obj-23",
"maxclass" : "number",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 304.0, 273.0, 50.0, 22.0 ]
}
}
, {
"box" : {
"id" : "obj-18",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 31.0, 591.0, 105.0, 22.0 ],
"text" : "host 192.168.0.73"
}
}
, {
"box" : {
"id" : "obj-14",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 31.0, 563.0, 105.0, 22.0 ],
"text" : "host 192.168.0.72"
}
}
, {
"box" : {
"id" : "obj-10",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 31.0, 526.0, 105.0, 22.0 ],
"text" : "host 192.168.0.71"
}
}
, {
"box" : {
"id" : "obj-6",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 31.0, 489.0, 85.0, 22.0 ],
"text" : "host 127.0.0.1"
}
}
, {
"box" : {
"id" : "obj-1",
"maxclass" : "number",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 419.0, 438.0, 50.0, 22.0 ]
}
}
, {
"box" : {
"id" : "obj-3",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 419.0, 471.0, 161.0, 22.0 ],
"text" : "/motor/move-to-position 2 $1"
}
}
, {
"box" : {
"id" : "obj-21",
"maxclass" : "number",
...
...
@@ -47,7 +313,7 @@
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 4
43
.0,
287
.0, 50.0, 22.0 ]
"patching_rect" : [ 4
19
.0,
312
.0, 50.0, 22.0 ]
}
}
...
...
@@ -58,9 +324,8 @@
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 443.0, 320.0, 152.0, 22.0 ],
"presentation_linecount" : 2,
"text" : "/motor/move-by-angle 0 $1"
"patching_rect" : [ 419.0, 345.0, 152.0, 22.0 ],
"text" : "/motor/move-by-angle 2 $1"
}
}
...
...
@@ -74,7 +339,7 @@
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 4
43
.0, 1
98
.0, 50.0, 22.0 ]
"patching_rect" : [ 4
19
.0, 1
77
.0, 50.0, 22.0 ]
}
}
...
...
@@ -85,8 +350,8 @@
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 4
43
.0, 2
35
.0, 149.0, 22.0 ],
"text" : "/motor/move-to-angle
0
$1"
"patching_rect" : [ 4
19
.0, 2
14
.0, 149.0, 22.0 ],
"text" : "/motor/move-to-angle
2
$1"
}
}
...
...
@@ -97,8 +362,8 @@
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [
388
.0, 1
6
1.0, 128.0, 22.0 ],
"text" : "/motor/reset-position
0
"
"patching_rect" : [
419
.0, 1
1
1.0, 128.0, 22.0 ],
"text" : "/motor/reset-position
2
"
}
}
...
...
@@ -119,8 +384,8 @@
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [
233
.0,
224
.0, 79.0, 22.0 ],
"text" : "/motor/stop
0
"
"patching_rect" : [
57
.0,
111
.0, 79.0, 22.0 ],
"text" : "/motor/stop
2
"
}
}
...
...
@@ -134,19 +399,7 @@
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 237.0, 129.0, 50.0, 22.0 ]
}
}
, {
"box" : {
"id" : "obj-9",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 237.0, 161.0, 103.0, 22.0 ],
"text" : "/motor/rotate 0 $1"
"patching_rect" : [ 57.0, 345.0, 50.0, 22.0 ]
}
}
...
...
@@ -157,8 +410,8 @@
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [
84
.0,
161
.0, 86.0, 22.0 ],
"text" : "/motor/msr
0
4"
"patching_rect" : [
57
.0,
273
.0, 86.0, 22.0 ],
"text" : "/motor/msr
2
4"
}
}
...
...
@@ -169,8 +422,8 @@
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 7
3
.0, 1
2
2.0, 71.0, 22.0 ],
"text" : "/motor/init
0
"
"patching_rect" : [
5
7.0, 1
8
2.0, 71.0, 22.0 ],
"text" : "/motor/init
2
"
}
}
...
...
@@ -180,7 +433,7 @@
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [
80
.0,
357
.0, 138.0, 22.0 ],
"patching_rect" : [
175
.0,
663
.0, 138.0, 22.0 ],
"text" : "udpsend 127.0.0.1 9292"
}
...
...
@@ -188,7 +441,21 @@
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-9", 0 ],
"destination" : [ "obj-3", 0 ],
"source" : [ "obj-1", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"source" : [ "obj-10", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-47", 0 ],
"source" : [ "obj-11", 0 ]
}
...
...
@@ -199,6 +466,13 @@
"source" : [ "obj-13", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"source" : [ "obj-14", 0 ]
}
}
, {
"patchline" : {
...
...
@@ -213,6 +487,13 @@
"source" : [ "obj-17", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"source" : [ "obj-18", 0 ]
}
}
, {
"patchline" : {
...
...
@@ -234,6 +515,140 @@
"source" : [ "obj-21", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-29", 0 ],
"source" : [ "obj-24", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-24", 0 ],
"order" : 4,
"source" : [ "obj-28", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-31", 0 ],
"order" : 6,
"source" : [ "obj-28", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-34", 0 ],
"order" : 7,
"source" : [ "obj-28", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-35", 0 ],
"order" : 5,
"source" : [ "obj-28", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-49", 0 ],
"order" : 2,
"source" : [ "obj-28", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-50", 0 ],
"order" : 3,
"source" : [ "obj-28", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-52", 0 ],
"order" : 1,
"source" : [ "obj-28", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-54", 0 ],
"order" : 0,
"source" : [ "obj-28", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-47", 1 ],
"source" : [ "obj-29", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"source" : [ "obj-3", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-13", 1 ],
"source" : [ "obj-31", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-5", 1 ],
"source" : [ "obj-34", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-45", 0 ],
"source" : [ "obj-35", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-7", 1 ],
"source" : [ "obj-45", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"source" : [ "obj-47", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-17", 1 ],
"source" : [ "obj-48", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-48", 0 ],
"source" : [ "obj-49", 0 ]
}
}
, {
"patchline" : {
...
...
@@ -241,18 +656,53 @@
"source" : [ "obj-5", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-15", 1 ],
"source" : [ "obj-50", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-20", 1 ],
"source" : [ "obj-51", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-51", 0 ],
"source" : [ "obj-52", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-3", 1 ],
"source" : [ "obj-53", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-53", 0 ],
"source" : [ "obj-54", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"source" : [ "obj-
7
", 0 ]
"source" : [ "obj-
6
", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"source" : [ "obj-
9
", 0 ]
"source" : [ "obj-
7
", 0 ]
}
}
...
...
control-patches/SMS_Control_Elaine.maxpat
0 → 100755
View file @
b507af76
This diff is collapsed.
Click to expand it.
control-patches/SMS_TargetSelect_sub.maxpat
View file @
b507af76
...
...
@@ -4,7 +4,7 @@
"appversion" : {
"major" : 8,
"minor" : 1,
"revision" :
11
,
"revision" :
3
,
"architecture" : "x64",
"modernui" : 1
}
...
...
@@ -37,7 +37,6 @@
"tags" : "",
"style" : "",
"subpatcher_template" : "",
"assistshowspatchername" : 0,
"boxes" : [ {
"box" : {
"id" : "obj-26",
...
...
@@ -426,7 +425,7 @@
, {
<