@jibo/command-requester
v1.0.6
Published
Library for making RCP requests to the robot
Downloads
5
Keywords
Readme
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
- [x] Text to speech
say
Talk example - [x] Move head
moveHead
,moveHeadAngle
MoveHead example - [x] Turn attention on/off
setAttention
- [x] Animations
animate
- [x] Remote mim
mim
MIM example - [x] Interruption
interrupt
- [x] Ident
ident
- [x] Show menu
menu
Menu example - [x] Take photo
photo
Photo example - [x] Blink
blink
Blink example - [x] Show remote picture
- [x] Play sounds Sound example
- [x] Asset upload Sound example uploads the asset
- [x] Show picture General example
- [ ] Midi command
- [ ] Wait for robot is idle
- [x] Look at 3D
- [ ] Animate by category
- [x] Set LED color
setLedColor
LED example
Events
- [x] Screen touch Screen touch example
- [x] Head touch
- [x] LPS summary
- [ ] Speaker recognized
- [x] "Hey Jibo" Speech example
- [x] End of speech
- [x] Cloud received
Nice to have
- [ ] Use a single bounjour+https for multiple robots
- [ ] Typed events
- [x] Working from browser apps.
- [ ] Robot detector (find robots in LAN)