farmbot_os/farmbot_celery_script/fixture/outer_sequence.json

57 lines
803 B
JSON

{
"id": 456,
"kind": "sequence",
"args": {
"version": 20180209,
"locals": {
"kind": "scope_declaration",
"args": {},
"body": [{
"kind": "variable_declaration",
"args": {
"label": "var1",
"data_value": {
"kind": "point",
"args": {
"pointer_type": "Plant",
"pointer_id": 456
}
}
}
}]
}
},
"body": [{
"kind": "wait",
"args": {
"milliseconds": 1000
}
},
{
"kind": "move_absolute",
"args": {
"speed": 100,
"location": {
"kind": "identifier",
"args": {
"label": "var1"
}
},
"offset": {
"kind": "coordinate",
"args": {
"x": 0,
"y": 0,
"z": 0
}
}
}
},
{
"kind": "execute",
"args": {
"sequence_id": 123
}
}
]
}