Skip to content
Snippets Groups Projects
Commit 5f4eed9d authored by Antonio Andriella's avatar Antonio Andriella
Browse files

update code documentation

parent 1099ac72
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
'''
@Author: Antonio Andriella
This file has a class which defines the shape and movement of the Tiago's eyes.
Credits to Bilgehan NAL
Credits to Bilgehan NAL for creating the whole package for the Baxter robot
'''
from PIL import Image
......@@ -64,7 +64,7 @@ class Eye:
return math.atan(float(y)/float(x+0.00001))
'''This function returns the result of ellipse formula according to x and y positions.
If the result between [0, 1]. Eyes are in the eyes space'''
If the result between [0, 1a]. Eyes are in the eyes space'''
def dotPosition(self, x, y):
radiusX = 80
......
......@@ -3,7 +3,7 @@
"""
@Author: Antonio Andriella
This file has a class which defines the eyebrow of the Tiago's face.
Credits to Bilgehan NAL
Credits to Bilgehan NAL for creating the whole package for the Baxter robot
"""
from PIL import Image
......
......@@ -3,7 +3,7 @@
'''
@Author: Antonio Andriella
This file has class which defines the eyelid of the Tiago robot
Credits to Bilgehan NAL
Credits to Bilgehan NAL for creating the whole package for the Baxter robot
'''
from PIL import Image
......
......@@ -4,26 +4,26 @@
@Author: Antonio Andriella
This file has a class which defines the face of Tiago
Face class has other part of the face objects.
Credits to Bilgehan NAL
Credits to Bilgehan NAL for creating the whole package for the Baxter robot
'''
'''
Tiago Face Descriptions:
Skin, Mouth and Eyebrow has multiple shapes.
Skin has 1 -> [0] (So far we are not interested to change the skin color of the robot)
Skin has 1a -> [0] (So far we are not interested to change the skin color of the robot)
Mouth has 7 -> [0, 6] (Not used it in the current version)
Eyebrow has 5 -> [0, 4] (neutral, happy, sad, confused, angry)
Mouth ::
0 -> neutral mouth
1 -> happy mouth
1a -> happy mouth
2 -> sad mouth
3 -> confused mouth
4 -> angry mouth
Eyebrow ::
0 -> neutral mouth
1 -> happy mouth
1a -> happy mouth
2 -> sad mouth
3 -> confused mouth
4 -> angry mouth
......
......@@ -4,7 +4,7 @@
@Author: Antonio Andriella
This file has a class which defines the mouth of the Tiago's face.
In the current version we decided to not use it
Credits to Bilgehan NAL
Credits to Bilgehan NAL for creating the whole package for the Baxter robot
"""
from PIL import Image
......
......@@ -3,7 +3,7 @@
"""
@Author: Antonio Andriella
This file has a class which defines the skin of the baxter's face.
Credits to Bilgehan NAL
Credits to Bilgehan NAL for creating the whole package for the Baxter robot
"""
from PIL import Image
......
#!/usr/bin/env python
'''
@Author: Bilgehan NAL
@Author: @Author: Antonio Andriella
This file is a subscriber node which listens a topic type:String
Waited String messages:
Emotions:
......@@ -21,8 +21,7 @@ Other:
-> "exit"
-> "wake_up"
-> "sleep"
Credits to Bilgehan NAL for creating the whole package for the Baxter robot
'''
import os
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment