format doku
This commit is contained in:
parent
a50ee8622f
commit
35535f1792
|
|
@ -39,30 +39,37 @@ http://pi-ip/
|
|||
#### From Somewhere
|
||||
|
||||
`Neutral + wander`
|
||||
|
||||
curl -X POST http://<pi>/api/state -H "Content-Type: application/json" \
|
||||
-d '{"emotion":"neutral","intensity":0.6,"look":null}'
|
||||
|
||||
`Angry + starring right`
|
||||
|
||||
curl -X POST http://<pi>/api/state -H "Content-Type: application/json" \
|
||||
-d '{"emotion":"angry","intensity":0.9,"look":{"x":0.9,"y":0.0}}'
|
||||
|
||||
`start Talking`
|
||||
|
||||
curl -X POST http://<pi>/api/state -H "Content-Type: application/json" \
|
||||
-d '{"talk":{"enabled":true}}'
|
||||
|
||||
`talk faster and stronger`
|
||||
|
||||
curl -X POST http://<pi>/api/state -H "Content-Type: application/json" \
|
||||
-d '{"talk":{"enabled":true,"rate_hz":5.5,"amount":1.0,"jitter":0.35}}'
|
||||
|
||||
`stop talking`
|
||||
|
||||
curl -X POST http://<pi>/api/state -H "Content-Type: application/json" \
|
||||
-d '{"talk":{"enabled":false}}'
|
||||
|
||||
`emotion + talk`
|
||||
|
||||
curl -X POST http://<pi>/api/state -H "Content-Type: application/json" \
|
||||
-d '{"emotion":"happy","intensity":0.85,"talk":{"enabled":true,"rate_hz":4.2,"amount":0.95}}'
|
||||
|
||||
`blink + happy`
|
||||
|
||||
curl -X POST http://<pi>/api/state -H "Content-Type: application/json" \
|
||||
-d '{"emotion":"happy","blink":true,"intensity":0.85}'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue