Skip to content

Commit

Permalink
Fix API changes in tesseract-robotics 0.2.0 (#21)
Browse files Browse the repository at this point in the history
* Fix api change in tesseract-robotics 0.2.0

* Disable Python 2.7 test
  • Loading branch information
johnwason authored Jul 18, 2023
1 parent 0ee116e commit 98e04ef
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
fail-fast: false
matrix:
config:
- python_version: "2.7"
tesseract_robotics: false
# - python_version: "2.7"
# tesseract_robotics: false
- python_version: "3.6"
tesseract_robotics: false
- python_version: "3.7"
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="general_robotics_toolbox", # Replace with your own username
version="0.7.1",
version="0.7.2",
author="John Wason",
author_email="[email protected]",
description="General robotics toolbox developed by RPI",
Expand All @@ -25,6 +25,6 @@
extras_require={
'test': ['pytest'],
'urdf': ['rospkg','xacro'],
'tesseract': ['tesseract-robotics'],
'tesseract': ['tesseract-robotics>=0.2.0'],
}
)
4 changes: 2 additions & 2 deletions src/general_robotics_toolbox/tesseract.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
import numpy as np
from . import general_robotics_toolbox as rox

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

kinematics_information = KinematicsInformation()
chain_group = vector_pair_string()
chain_group = VectorPairString()
chain_group.append((base_link, tip_link))
kinematics_information.addChainGroup(robot_name, chain_group)

Expand Down

0 comments on commit 98e04ef

Please sign in to comment.