-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Used keys for Orocos #38
Conversation
Maybe for this changes we need to target |
@ros-pull-request-builder retest this please |
this error has appeared. is the python3-pykdl working fine?
|
Maybe is this the issue orocos/orocos_kinematics_dynamics#229 ? |
kdl_parser_py/package.xml
Outdated
@@ -30,10 +30,10 @@ | |||
<buildtool_depend condition="$ROS_PYTHON_VERSION == 3">python3-catkin-pkg</buildtool_depend> | |||
|
|||
<build_export_depend>urdfdom_py</build_export_depend> | |||
<build_export_depend>python_orocos_kdl</build_export_depend> | |||
<build_export_depend>python3-pykdl</build_export_depend> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mind deleting this line? It doesn't look like a <build_export_depend>
is necessary; the <exec_depend>
below should be enough.
Retargeted at |
Signed-off-by: ahcorde <ahcorde@gmail.com>
Investigating, minimal reproducible example: import urdf_parser_py.urdf as urdf
import kdl_parser_py.urdf
xml = """<?xml version="1.0"?>
<robot name="physics">
<link name="base_link"/>
</robot>
"""
model = urdf.URDF.from_xml_string(xml)
(ok, tree) = kdl_parser_py.urdf.treeFromUrdfModel(model) |
Even smaller example: $ python3 -c "import PyKDL; PyKDL.Tree('foobar')"
python3: /build/orocos-kdl-mPkyII/orocos-kdl-1.4.0/python_orocos_kdl/PyKDL/std_string.sip:52: int convertTo_std_string(PyObject*, void**, int*, PyObject*): Assertion `PyUnicode_Check(s)' failed.
Aborted (core dumped) |
Another user encountered same bug: orocos/orocos_kinematics_dynamics#59 (comment) |
I was able to remove the error with this branch orocos/orocos_kinematics_dynamics#229 |
Since we're using
In the meantime, maybe we can workaround the issue by avoiding any KDL api's that use strings? |
Avoid APIs that cause KDL to crash in 80b0918 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@clalancette mind checking if the workaround looks ok? I don't see any packages that depend on kdl_parser_py
directly (besides the robot
metapackage), so I'm not sure what we'll break by not naming things.
Ooops, must have missed something; same failure in CI
It seems there's no way to avoid the string APIs, at least I can't avoid
|
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
80b0918
to
f9fc7aa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
I added a CATKIN_IGNORE
to kdl_parser_py
for now. This enables releasing to unblock robot_state_publisher
. Hopefully the python3-pykdl
fixes make it upstream before it's time to release metapackages
since the robot
package depends on kdl_parser_py
.
This reverts commit a33bf97.
With this PR https://github.com/ros/rosdistro/pull/23841/files Orokos could be installed via
rosdep