1
- # Animated Solitaries Library
1
+ # Pepper Solitaries Loop Library
2
2
3
3
This Android Library allows you to create a solitaries animations loop. A solitary animation is an animation that the robot
4
4
runs when it's alone to attract people.
@@ -7,7 +7,7 @@ With this library, you can also define at which frequency you want the animation
7
7
to 60 seconds. ** We advise you to not set this value below 30 seconds** or it may result in complains about robot being noisy
8
8
and impossible to reach.
9
9
10
- The solitaries animation loop can then be started and stopped whenever you want.
10
+ The solitaries animations loop can then be started and stopped whenever you want.
11
11
12
12
## Getting Started
13
13
@@ -41,24 +41,24 @@ Initialise the QiSDK in the onCreate. If you are unsure how to do this, refer to
41
41
```
42
42
QiSDK.register(this, this)
43
43
```
44
- In the ` onRobotFocusGained ` , instantiate a ` AnimatedSolitary ` object by passing it the QiContext and start the loop:
44
+ In the ` onRobotFocusGained ` , instantiate a ` SolitariesLoop ` object by passing it the QiContext and start the loop:
45
45
```
46
- animatedSolitary = AnimatedSolitary (qiContext)
46
+ solitariesLoop = SolitariesLoop (qiContext)
47
47
```
48
48
You can also define the frequency at which you want the animations to run (time in seconds):
49
49
```
50
- animatedSolitary = AnimatedSolitary (qiContext, 40)
50
+ solitariesLoop = SolitariesLoop (qiContext, 40)
51
51
```
52
52
Start the solitaries loop whenever you want (for instance if no human has been detected around the robot for X minutes):
53
53
```
54
- animatedSolitary .start()
54
+ solitariesLoop .start()
55
55
```
56
56
Stop the solitaries loop whenever you want (for instance if a human is engaged or if you loose the robot focus):
57
57
```
58
- animatedSolitary .stop()
58
+ solitariesLoop .stop()
59
59
```
60
60
61
61
62
62
## License
63
63
64
- This project is licensed under the BSD 3-Clause "New" or "Revised" License. See the [ LICENSE] ( LICENSE.md ) file for details.
64
+ This project is licensed under the BSD 3-Clause "New" or "Revised" License. See the [ LICENSE] ( LICENSE.md ) file for details.
0 commit comments