Add fixture for a pair of sequences
parent
a253715e96
commit
2d3f81b1e6
|
@ -0,0 +1,92 @@
|
|||
[
|
||||
{
|
||||
"id": 777,
|
||||
"kind": "sequence",
|
||||
"args": {
|
||||
"version": 20180209,
|
||||
"locals": {
|
||||
"kind": "scope_declaration",
|
||||
"args": {},
|
||||
"body": [
|
||||
{
|
||||
"kind": "variable_declaration",
|
||||
"args": {
|
||||
"label": "parent",
|
||||
"data_value": {
|
||||
"kind": "point",
|
||||
"args": {
|
||||
"pointer_type": "Plant",
|
||||
"pointer_id": 456
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
{
|
||||
"kind": "execute",
|
||||
"args": {
|
||||
"sequence_id": 123
|
||||
},
|
||||
"body": [
|
||||
{
|
||||
"kind": "variable_declaration",
|
||||
"args": {
|
||||
"label": "parent",
|
||||
"data_value": {
|
||||
"kind": "identifier",
|
||||
"args": {
|
||||
"label": "parent"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 123,
|
||||
"kind": "sequence",
|
||||
"args": {
|
||||
"version": 20180209,
|
||||
"locals": {
|
||||
"kind": "scope_declaration",
|
||||
"args": {},
|
||||
"body": [
|
||||
{
|
||||
"kind": "parameter_declaration",
|
||||
"args": {
|
||||
"label": "parent",
|
||||
"data_type": "point"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
{
|
||||
"kind": "move_absolute",
|
||||
"args": {
|
||||
"speed": 100,
|
||||
"location": {
|
||||
"kind": "identifier",
|
||||
"args": {
|
||||
"label": "parent"
|
||||
}
|
||||
},
|
||||
"offset": {
|
||||
"kind": "coordinate",
|
||||
"args": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue