Skip to content

Commit

Permalink
Remove redundant code
Browse files Browse the repository at this point in the history
Signed-off-by: Aarav Gupta <[email protected]>
  • Loading branch information
Amronos committed Dec 9, 2024
1 parent 97a7074 commit 1446c83
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
# POSSIBILITY OF SUCH DAMAGE.

import argparse
import math
import random
import signal
import sys
Expand Down Expand Up @@ -194,11 +193,6 @@ def initializeSliders(self):
if joint['min'] == joint['max']:
continue

if joint['min'] == float('-inf'):
joint['min'] = -math.pi
if joint['max'] == float('inf'):
joint['max'] = math.pi

slider = Slider(name)

self.joint_map[name] = {'display': slider.display, 'slider': slider.slider, 'joint': joint}
Expand Down

0 comments on commit 1446c83

Please sign in to comment.