Skip to content

Commit

Permalink
Merge pull request #14 from llee-bdai/llee/python3_10_updates
Browse files Browse the repository at this point in the history
Python 3.10 Updates
  • Loading branch information
ColinKohler authored Nov 17, 2023
2 parents 867ff9c + 2092352 commit dbe0a42
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 7 deletions.
1 change: 0 additions & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ verify_ssl = true
[packages]
numpy = "*"
scikit-image = "*"
attrdict = "*"
gitpython = "*"
pyqt5 = "*"
matplotlib = "*"
Expand Down
1 change: 0 additions & 1 deletion baseline_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
attrdict
GitPython
numpy>=1.20.0
pybullet>=2.7.1
Expand Down
2 changes: 1 addition & 1 deletion bulletarm/envs/base_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,7 @@ def _encodeAction(self, primitive, x, y, z, r):

primitive_idx, x_idx, y_idx, z_idx, rot_idx = map(lambda a: self.action_sequence.find(a),
['p', 'x', 'y', 'z', 'r'])
action = np.zeros(len(self.action_sequence), dtype=np.float)
action = np.zeros(len(self.action_sequence), dtype=float)
if primitive_idx != -1:
action[primitive_idx] = primitive
if x_idx != -1:
Expand Down
3 changes: 1 addition & 2 deletions bulletarm/pybullet/robots/ur5_robotiq.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import numpy as np
import numpy.random as npr
from collections import deque, namedtuple
from attrdict import AttrDict
from threading import Thread

import pybullet as pb
Expand Down Expand Up @@ -61,7 +60,7 @@ def __init__(self):
"robotiq_85_right_finger_tip_joint"
]
self.robotiq_mimic_multiplier = [1, 1, 1, 1, -1, -1]
self.robotiq_joints = AttrDict()
self.robotiq_joints = {}

def initialize(self):
''''''
Expand Down
1 change: 0 additions & 1 deletion docs/env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ dependencies:
- scikit-image
- scikit-learn
- gitpython
- attrdict
- tqdm
- matplotlib
- pytorch
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
attrdict
GitPython
numpy>=1.19.5
pybullet>=2.7.1
Expand Down

0 comments on commit dbe0a42

Please sign in to comment.