Skip to content

Commit a5830cf

Browse files
committed
Added/Removed some TODO statements
1 parent ae61f11 commit a5830cf

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

graphics/common_functions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
z_axis_vector = vector(0, 0, 1)
66

77

8+
# TODO handle radians (needed more than degrees)
89
def wrap_to_pi(angle):
910
angle = angle % radians(360)
1011
if angle > radians(180):

graphics/graphics_grid.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ def set_visibility(self, is_visible):
168168
"""
169169
# If no grid, turn the objects invisible
170170
self.grid_object[0].visible = is_visible
171+
# TODO this will need to be uncommented once grid_object reuse is done
171172
#for number in self.grid_object[1]:
172173
# number.visible = is_visible
173174

graphics/graphics_robot.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
from graphics.graphics_canvas import *
22
from graphics.common_functions import *
33

4-
# TODO
5-
# update non-stl obj creation (position wrong, ref wrong)
6-
74

85
class DefaultJoint:
96
"""

graphics/graphics_stl.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
from vpython import *
22
from graphics.common_functions import *
33

4+
5+
# TODO maybe change input to include extension? Or have entire path as input?
46
def import_object_from_stl(filename):
57
"""
68
Import an stl object and convert it into a usable vpython object.

0 commit comments

Comments
 (0)