Skip to content

Commit

Permalink
Merge pull request #284 from pierre-rouanet/master
Browse files Browse the repository at this point in the history
Fix an issue with angle limits.
  • Loading branch information
pierre-rouanet authored Sep 25, 2018
2 parents c3131c8 + 55ce063 commit e6588a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pypot/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '3.1.0'
__version__ = '3.1.2'
3 changes: 2 additions & 1 deletion pypot/robot/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,8 @@ def check_motor_eprom_configuration(config, dxl_io, motor_names):
dxl_io.set_wheel_mode([m['id']])
time.sleep(0.5)
else:
dxl_io.set_joint_mode([m['id']])
# TODO: we probably need a better fix for this.
# dxl_io.set_joint_mode([m['id']])

d = numpy.linalg.norm(numpy.asarray(new_limits) - numpy.asarray(old_limits))
if d > 1:
Expand Down

0 comments on commit e6588a2

Please sign in to comment.