Sitelet https://github.com/ros/urdf_parser_py/pull/41
Skip to content

Port to ROS 2 - #41

Closed
vmayoral wants to merge 9 commits into
ros:ros2from
AcutronicRobotics:ros2
Closed

vmayoral wants to merge 9 commits into
ros:ros2from
AcutronicRobotics:ros2

Conversation

@vmayoral

Copy link
Copy Markdown
Contributor

Note to maintainers: Needs to be merged in a new ros2 branch.

@vmayoral

Copy link
Copy Markdown
Contributor Author

Any changes required here?

@clalancette
clalancette changed the base branch from indigo-devel to ros2 February 28, 2019 14:44

@clalancette clalancette left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The basic idea is fine, but there are some details that need fixing. Also, this will need to be rebased and conflicts fixed since the ros2 branch is branched off of melodic-devel, not indigo-devel.

Comment thread package.xml
<url type="repository">https://github.com/ros/urdf_parser_py</url>

<buildtool_depend>catkin</buildtool_depend>
<buildtool_depend>ament_cmake</buildtool_depend>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From what I can tell looking elsewhere, with a pure python package we don't need any buildtool_depend line, so just remove this.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment is still open.

Comment thread setup.py Outdated
)

setup(**d)
# from distutils.core import setup

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just delete all of this commented code.

Comment thread setup.py
'Topic :: Software Development',
],
description='Python implementation of the URDF parser.',
license='Apache License, Version 2.0',

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has to stay BSD, since we aren't really changing the underlying code.

Comment thread setup.py
d = generate_distutils_setup(
setup(
name=package_name,
version='0.3.3',

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

melodic-devel is currently on 0.4.0, but since this is going to be a new branch, we probably want to bump up to something like 1.0.0 here (and in the package.xml).

Comment thread setup.py Outdated
zip_safe=True,
author='Víctor Mayoral Vilches',
author_email='vmayoral@acutronicrobotics.com',
maintainer='Víctor Mayoral Vilches',

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't mind adding you as a maintainer, but if you want to be the maintainer I'd suggest that we add you to the package.xml as well. If you don't want to be a maintainer, you can just put my name/email here.

@clalancette clalancette left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The biggest thing left to fix up here is the licensing question, which should go back to BSD. Besides that there are a few nits here and there.

(also, it needs to be rebased)

Comment thread package.xml
<url type="repository">https://github.com/ros/urdf_parser_py</url>

<buildtool_depend>catkin</buildtool_depend>
<buildtool_depend>ament_cmake</buildtool_depend>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment is still open.

xmlString = etree.tostring(rootXml, pretty_print=True)
xmlString = etree.tostring(rootXml, pretty_print=True, encoding=str)
if addHeader:
xmlString = '<?xml version="1.0"?>\n' + xmlString

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any particular reason for this change? I think this can stay as-is.

@clalancette

Copy link
Copy Markdown
Contributor

Closing in favor of #53

@clalancette clalancette closed this Jan 6, 2020
@ros-discourse

Copy link
Copy Markdown

This pull request has been mentioned on ROS Discourse. There might be relevant details there:

https://discourse.ros.org/t/the-moveit-2-journey-part-1-porting-and-understanding-moveit-core/8718/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants