{
"parts": [{
"arms": [{
"command": "left 50 20 30 60 50 0 0 0",
"id": 0
}, {
"command": "right 50 20 30 60 50 0 0 0",
"id": 1
}, {
"command": "sleep 2",
"id": 2
}, {
"command": "left 50 0 0 0 0 0 0 0",
"id": 3
}, {
"command": "right 50 100 50 0 50 70 0 0",
"id": 4
}, {
"command": "sleep 1",
"id": 5
}]
}, {
"neck": [{
"command": "sleep 4",
"id": 0
}, {
"command": "angle 30 100 0",
"id": 4
}, {
"command": "sleep 1",
"id": 5
}]
}, {
"torso": [{
"command": "sleep 2",
"id": 0
}, {
"command": "angle 5000 -15 0 0",
"id": 1
}, {
"command": "sleep 0.7",
"id": 2
}, {
"command": "angle 5000 0 0 0",
"id": 3
}, {
"command": "sleep 0.7",
"id": 4
}, {
"command": "angle 5000 -15 0 0",
"id": 5
}]
}, {
"play": [{
"command": "play song.mp3",
"id": 0
}, {
"command": "sleep 36",
"id": 1
}, {
"command": "stop",
"id": 2
}]
}, {
"led": [{
"command": "pub head sharp_on 65 1 #FFFFFF 3 false",
"id": 0
}, {
"command": "sleep 0.2",
"id": 1
}, {
"command": "pub head sharp_on 65 1 #FFFFFF 6 false",
"id": 2
}, {
"command": "sleep 0.2",
"id": 3
}, {
"command": "pub head sharp_on 65 1 #FFFFFF 12 false",
"id": 4
}, {
"command": "sleep 0.2",
"id": 5
}]
}, {
"bash": [{
"command": "/opt/promobot/share/promobot_scripts/scripts/3.1/UpVolume.sh",
"id": 0
}]
}, {
"drive": [{
"command": "forward 1.0",
"id": 0
}, {
"command": "sleep 0.3",
"id": 1
}, {
"command": "back 1.0",
"id": 2
}, {
"command": "sleep 0.3",
"id": 3
}]
}, {
"play_motion": [{
"command": "play script.yaml",
"id": 0
}, {
"command": "sleep 60",
"id": 1
}]
}, {
"eyes": [{
"command": "sleep 1.0",
"id": 0
}, {
"command": "pub default.gif",
"id": 1
}]
}, {
"promo": [{
"command": "url /home/promobot/Pictures/Image.jpg",
"id": 0
}, {
"command": "sleep 5",
"id": 1
}]
}]
}
|