# R BOT

R BOT is a humanoid robot developed by Daehan Won.

![](https://4092286226-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mf1gYI7w-fy2c89mn2-%2F-Mgi6ZF__byPJjvKGvgG%2F-Mgi7shGYD7KMcpa8UfC%2FRbot_logo.png?alt=media\&token=4edb6817-f9b7-4514-84e5-654ef435e9ee)

## video

{% embed url="<https://youtu.be/qPRbOdSb7tU>" %}

## library

{% embed url="<https://github.com/makebot-lab/Rbot-lib>" %}

### method

```
Rbot Rbot; //define Rbot object
Rbot.ready(); //initalize Rbot
Rbot.home(); //Rbot home
Rbot.move(direction); //move Rbot(direction : 1(forward), 2(backward), 3(turn left), 4(turn right))
Rbot.motion(motion); //play motion(motion : 1(hello1), 2(hello2), 3(jump), 4(stand up), 5(icanfly), 6(penguin), 7(yay), 8(sit down), 9(yes), 10(no), 11(dance), 12(handshake))
Rbot.sound(sound); //play sound(sound : 1(happy), 2(sad), 3(surprise), 4(angry), 5(sleepy), 6(joy))
Rbot.distance(); //return distance sensor's value
```
