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