-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRobotData.py
39 lines (29 loc) · 840 Bytes
/
RobotData.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Libraries
from math import pi
__author__ = "Emre Cemal Gonen"
__copyright__ = "Copyright (C) 2019, Emre Cemal Gonen"
__credits__ = ["Prof. Dr. Volkan Patoglu", "Sabanci University"]
__version__ = "1.0"
__email__ = "[email protected]"
class RobotData:
"""
These are robot hard parameters
All dimensions are in SI units.
meter for length
kilograms for mass
second for time
"""
# Radius of Pelvis of the robot
r = 0.05
# Length of Upper Limb
l1 = 0.08
# Length of Lower Limb
l2 = 0.04
# Total Mass of the robot
m = 3.
# Mass of each motor, note that there are 8 motors
m_motor = 0.25
# Attach Angles of Each Limb
attach_ang = [pi / 6, 5 * pi / 6, 7 * pi / 6, -pi / 6]