Skip to content

Commit 98e04ef

Browse files
authored
Fix API changes in tesseract-robotics 0.2.0 (#21)
* Fix api change in tesseract-robotics 0.2.0 * Disable Python 2.7 test
1 parent 0ee116e commit 98e04ef

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
config:
17-
- python_version: "2.7"
18-
tesseract_robotics: false
17+
# - python_version: "2.7"
18+
# tesseract_robotics: false
1919
- python_version: "3.6"
2020
tesseract_robotics: false
2121
- python_version: "3.7"

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="general_robotics_toolbox", # Replace with your own username
8-
version="0.7.1",
8+
version="0.7.2",
99
author="John Wason",
1010
author_email="[email protected]",
1111
description="General robotics toolbox developed by RPI",
@@ -25,6 +25,6 @@
2525
extras_require={
2626
'test': ['pytest'],
2727
'urdf': ['rospkg','xacro'],
28-
'tesseract': ['tesseract-robotics'],
28+
'tesseract': ['tesseract-robotics>=0.2.0'],
2929
}
3030
)

src/general_robotics_toolbox/tesseract.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
import numpy as np
7979
from . import general_robotics_toolbox as rox
8080

81-
from tesseract_robotics.tesseract_common import Translation3d, AngleAxisd, Isometry3d, vector_pair_string
81+
from tesseract_robotics.tesseract_common import Translation3d, AngleAxisd, Isometry3d, VectorPairString
8282
from tesseract_robotics.tesseract_environment import Environment, Commands, \
8383
AddLinkCommand, AddKinematicsInformationCommand, AddSceneGraphCommand
8484
from tesseract_robotics.tesseract_scene_graph import Link, Joint, JointLimits, \
@@ -344,7 +344,7 @@ def tesseract_kinematics_information(robot, robot_name, link_names, joint_names,
344344
tip_link = link_names[-1]
345345

346346
kinematics_information = KinematicsInformation()
347-
chain_group = vector_pair_string()
347+
chain_group = VectorPairString()
348348
chain_group.append((base_link, tip_link))
349349
kinematics_information.addChainGroup(robot_name, chain_group)
350350

0 commit comments

Comments
 (0)