1.0.6 • Published 6 years ago
@jibo/command-requester v1.0.6
remote-jibo-node
How to run the examples
If you haven't globally install required module yarn global add typescript
To run an example, move to examples
compile it with tsc --lib ES2015 Example.ts
and then run node Example.js <robot address>
,
for example, for examples/MoveHead.ts
, do:
cd examples &&
tsc --lib ES2015 MoveHead.ts &&
node MoveHead.js sim # sim should map to 127.0.0.1 which is used to connect to the simulator
Examples
- Blinking
- Error catching
- Menu dialogs
- Multiple concurrent actions
- Head moving
- MIM usage
- Looping LED colors
- Photo taking
- Play sound
- Screen touch event capturing
- Asynchronous talk
- Time measurement of the different functionalities
Certificates
A sample certificate is provided to run the examples, these can be found on
priv/certs
. For non-example applications a new certificate must be generated.
Supported functionality
Commands
- Text to speech
say
Talk example - Move head
moveHead
,moveHeadAngle
MoveHead example - Turn attention on/off
setAttention
- Animations
animate
- Remote mim
mim
MIM example - Interruption
interrupt
- Ident
ident
- Show menu
menu
Menu example - Take photo
photo
Photo example - Blink
blink
Blink example - Show remote picture
- Play sounds Sound example
- Asset upload Sound example uploads the asset
- Show picture General example
- Midi command
- Wait for robot is idle
- Look at 3D
- Animate by category
- Set LED color
setLedColor
LED example
Events
- Screen touch Screen touch example
- Head touch
- LPS summary
- Speaker recognized
- "Hey Jibo" Speech example
- End of speech
- Cloud received
Nice to have
- Use a single bounjour+https for multiple robots
- Typed events
- Working from browser apps.
- Robot detector (find robots in LAN)