From 55ce06364a88ea88b284b0ca66a29d4d6b67fe29 Mon Sep 17 00:00:00 2001 From: Pierre Rouanet Date: Tue, 25 Sep 2018 20:27:05 +0700 Subject: [PATCH] Fix an issue with angle limits. --- pypot/_version.py | 2 +- pypot/robot/config.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pypot/_version.py b/pypot/_version.py index 7f5601d9..f71b21a5 100644 --- a/pypot/_version.py +++ b/pypot/_version.py @@ -1 +1 @@ -__version__ = '3.1.0' +__version__ = '3.1.2' diff --git a/pypot/robot/config.py b/pypot/robot/config.py index 00f88263..7eb812a4 100644 --- a/pypot/robot/config.py +++ b/pypot/robot/config.py @@ -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: