ekms 9.6.0-beta.27 → 9.6.0-beta.28

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.
@@ -7365,32 +7365,6 @@
7365
7365
  0
7366
7366
  ]
7367
7367
  ],
7368
- [
7369
- [
7370
- "degree",
7371
- 0
7372
- ],
7373
- [
7374
- "divideByOperator",
7375
- 0
7376
- ],
7377
- [
7378
- "equals",
7379
- 0
7380
- ],
7381
- [
7382
- "integer",
7383
- 0
7384
- ],
7385
- [
7386
- "radian",
7387
- 0
7388
- ],
7389
- [
7390
- "timesOperator",
7391
- 0
7392
- ]
7393
- ],
7394
7368
  [
7395
7369
  [
7396
7370
  "degree",
@@ -10323,32 +10297,6 @@
10323
10297
  0
10324
10298
  ]
10325
10299
  ],
10326
- [
10327
- [
10328
- "degree",
10329
- 0
10330
- ],
10331
- [
10332
- "divideByOperator",
10333
- 0
10334
- ],
10335
- [
10336
- "equals",
10337
- 0
10338
- ],
10339
- [
10340
- "integer",
10341
- 0
10342
- ],
10343
- [
10344
- "radian",
10345
- 0
10346
- ],
10347
- [
10348
- "timesOperator",
10349
- 0
10350
- ]
10351
- ],
10352
10300
  [
10353
10301
  [
10354
10302
  "degree",
@@ -11026,58 +10974,6 @@
11026
10974
  0
11027
10975
  ]
11028
10976
  ],
11029
- [
11030
- [
11031
- "degree",
11032
- 0
11033
- ],
11034
- [
11035
- "divideByOperator",
11036
- 0
11037
- ],
11038
- [
11039
- "equals",
11040
- 0
11041
- ],
11042
- [
11043
- "integer",
11044
- 0
11045
- ],
11046
- [
11047
- "radian",
11048
- 0
11049
- ],
11050
- [
11051
- "timesOperator",
11052
- 0
11053
- ]
11054
- ],
11055
- [
11056
- [
11057
- "degree",
11058
- 0
11059
- ],
11060
- [
11061
- "divideByOperator",
11062
- 0
11063
- ],
11064
- [
11065
- "equals",
11066
- 0
11067
- ],
11068
- [
11069
- "integer",
11070
- 0
11071
- ],
11072
- [
11073
- "radian",
11074
- 0
11075
- ],
11076
- [
11077
- "timesOperator",
11078
- 0
11079
- ]
11080
- ],
11081
10977
  [
11082
10978
  [
11083
10979
  "degree",
@@ -3661,6 +3661,20 @@
3661
3661
  0
3662
3662
  ]
3663
3663
  ],
3664
+ [
3665
+ [
3666
+ "is",
3667
+ 0
3668
+ ],
3669
+ [
3670
+ "list",
3671
+ 1
3672
+ ],
3673
+ [
3674
+ "unknown",
3675
+ 0
3676
+ ]
3677
+ ],
3664
3678
  [
3665
3679
  [
3666
3680
  "is",
@@ -37653,6 +37667,20 @@
37653
37667
  0
37654
37668
  ]
37655
37669
  ],
37670
+ [
37671
+ [
37672
+ "is",
37673
+ 0
37674
+ ],
37675
+ [
37676
+ "list",
37677
+ 1
37678
+ ],
37679
+ [
37680
+ "unknown",
37681
+ 0
37682
+ ]
37683
+ ],
37656
37684
  [
37657
37685
  [
37658
37686
  "is",
@@ -3441,6 +3441,20 @@
3441
3441
  0
3442
3442
  ]
3443
3443
  ],
3444
+ [
3445
+ [
3446
+ "is",
3447
+ 0
3448
+ ],
3449
+ [
3450
+ "list",
3451
+ 1
3452
+ ],
3453
+ [
3454
+ "unknown",
3455
+ 0
3456
+ ]
3457
+ ],
3444
3458
  [
3445
3459
  [
3446
3460
  "is",
@@ -11876,6 +11890,20 @@
11876
11890
  0
11877
11891
  ]
11878
11892
  ],
11893
+ [
11894
+ [
11895
+ "is",
11896
+ 0
11897
+ ],
11898
+ [
11899
+ "list",
11900
+ 1
11901
+ ],
11902
+ [
11903
+ "unknown",
11904
+ 0
11905
+ ]
11906
+ ],
11879
11907
  [
11880
11908
  [
11881
11909
  "is",
@@ -16090,6 +16118,20 @@
16090
16118
  0
16091
16119
  ]
16092
16120
  ],
16121
+ [
16122
+ [
16123
+ "is",
16124
+ 0
16125
+ ],
16126
+ [
16127
+ "list",
16128
+ 1
16129
+ ],
16130
+ [
16131
+ "unknown",
16132
+ 0
16133
+ ]
16134
+ ],
16093
16135
  [
16094
16136
  [
16095
16137
  "is",
@@ -19201,6 +19243,48 @@
19201
19243
  0
19202
19244
  ]
19203
19245
  ],
19246
+ [
19247
+ [
19248
+ "is",
19249
+ 0
19250
+ ],
19251
+ [
19252
+ "list",
19253
+ 1
19254
+ ],
19255
+ [
19256
+ "unknown",
19257
+ 0
19258
+ ]
19259
+ ],
19260
+ [
19261
+ [
19262
+ "is",
19263
+ 0
19264
+ ],
19265
+ [
19266
+ "list",
19267
+ 1
19268
+ ],
19269
+ [
19270
+ "unknown",
19271
+ 0
19272
+ ]
19273
+ ],
19274
+ [
19275
+ [
19276
+ "is",
19277
+ 0
19278
+ ],
19279
+ [
19280
+ "list",
19281
+ 1
19282
+ ],
19283
+ [
19284
+ "unknown",
19285
+ 0
19286
+ ]
19287
+ ],
19204
19288
  [
19205
19289
  [
19206
19290
  "setIdSuffix",
@@ -301,7 +301,7 @@
301
301
  "semantics": [
302
302
  {
303
303
  "match": "({context, contextHierarchy}) => {\n if (!context.pullFromContext || !context.evaluate || contextHierarchy.under('do')) {\n return false\n }\n \n if (context.marker == 'path' || context.marker == 'this' || context.marker == 'that') {\n return true\n }\n }",
304
- "apply": "async ({context, fragments, stm, objects, mentioned, mentions, resolveEvaluate, _continue, contextHierarchy}) => {\n debugger\n const points = mentions({ context: { marker: 'point' }, all: true })\n const path = (await fragments('path')).contexts()[0]\n path.points = points.reverse()\n await mentioned(path)\n _continue()\n }"
304
+ "apply": "async ({context, fragments, stm, objects, mentioned, mentions, resolveEvaluate, _continue, contextHierarchy}) => {\n const points = mentions({ context: { marker: 'point' }, all: true })\n const path = (await fragments('path')).contexts()[0]\n path.points = points.reverse()\n await mentioned(path)\n _continue()\n }"
305
305
  },
306
306
  {
307
307
  "match": "({context}) => context.marker == 'thenTime'",
@@ -3857,6 +3857,20 @@
3857
3857
  0
3858
3858
  ]
3859
3859
  ],
3860
+ [
3861
+ [
3862
+ "is",
3863
+ 0
3864
+ ],
3865
+ [
3866
+ "list",
3867
+ 1
3868
+ ],
3869
+ [
3870
+ "unknown",
3871
+ 0
3872
+ ]
3873
+ ],
3860
3874
  [
3861
3875
  [
3862
3876
  "is",
@@ -78181,6 +78195,20 @@
78181
78195
  0
78182
78196
  ]
78183
78197
  ],
78198
+ [
78199
+ [
78200
+ "is",
78201
+ 0
78202
+ ],
78203
+ [
78204
+ "list",
78205
+ 1
78206
+ ],
78207
+ [
78208
+ "unknown",
78209
+ 0
78210
+ ]
78211
+ ],
78184
78212
  [
78185
78213
  [
78186
78214
  "is",
package/common/drone.js CHANGED
@@ -13,18 +13,14 @@ const help = require('./help')
13
13
  const { rotateDelta, degreesToRadians, radiansToDegrees, cartesianToPolar } = require('./helpers/drone')
14
14
 
15
15
  /*
16
+ turn left go forward 1 foot <- the turn is lost
17
+
18
+
16
19
  start again / start here / starting here / restart
17
20
  again
18
21
  go back to the start
19
22
  go back 2 points/turns
20
23
  go back and forth to the start!?!?
21
- DONE call this patrol 1
22
- DONE call this path patrol 1
23
- call that patrol 1
24
- call that path patrol 1
25
-
26
- DONE the start of patrol 1
27
- DONE the end of patrol 1
28
24
 
29
25
  call the first point the start
30
26
  180 degree turns not working
@@ -32,6 +28,12 @@ go 20 percent faster
32
28
  lower and raise crane
33
29
  round to 2 digits
34
30
 
31
+ DONE call this patrol 1
32
+ DONE call this path patrol 1
33
+ DONE call that patrol 1
34
+ DONE call that path patrol 1
35
+ DONE the start of patrol 1
36
+ DONE the end of patrol 1
35
37
  DONE turn right 45 degrees
36
38
  DONE turn right 2 times
37
39
  DONE turn right 2 times\nturn around <- no reset of times
@@ -40,7 +42,6 @@ DONE go to the start/end of patrol 1 not working
40
42
 
41
43
  go north 1 foot east 1 foot south 1 foot west 1 foot. call this square 2. do square 2 two times
42
44
 
43
- turn left go forward 1 foot <- the turn is lost
44
45
 
45
46
  todo
46
47
 
@@ -1003,7 +1004,6 @@ const template = {
1003
1004
  }
1004
1005
  },
1005
1006
  apply: async ({context, fragments, stm, objects, mentioned, mentions, resolveEvaluate, _continue, contextHierarchy}) => {
1006
- debugger
1007
1007
  const points = mentions({ context: { marker: 'point' }, all: true })
1008
1008
  const path = (await fragments('path')).contexts()[0]
1009
1009
  path.points = points.reverse()