-
Notifications
You must be signed in to change notification settings - Fork 0
/
description_v0_functions.py
71 lines (66 loc) · 1.66 KB
/
description_v0_functions.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
"""
env.move(vels)
Function Description:
Arguments:
vels: 2 dimensional list
vels = [[v1, v2],
[v3, v4]]
v1 - velocity of front_left wheel
v2 - velocity of front_right wheel
v3 - velocity of backward_left wheel
v4 - velocity of backward_right wheel
Returns:
None
"""
"""
env.open_grip(delay)
Function Description:
Arguments:
delay: float value
It is time given to gripper to open its arms
Default value is 1./240. sec
Returns:
None
"""
"""
env.close_grip(delay)
Function Description:
Arguments:
delay: float value
It is time given to gripper to close its arms
Default value is 1./240. sec
Returns:
None
"""
"""
env.get_image(cam_height, dims)
Function Description:
Arguments:
cam_height: float value
It is height above which camera is attached to the car
Default value is 0 m
dims: 1 dimension array
It is the dimensions of image you want to get
Returns:
bgr image
"""
"""
env.get_orientation()
Function Description:
Arguments:
None
Returns:
[roll, pitch, yaw]
roll - angle from x-axis
pitch - angle from y-axis
yaw - angle from z-axis
"""
"""
env.shoot(force)
Function Description:
Arguments:
force: float value
It is the force by which the shaft attached to car moves
Returns:
None
"""