-
Notifications
You must be signed in to change notification settings - Fork 227
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes & improments following the code review comments.
* Update the meta info in package.xml and setup.py * Try-except executor.spin instead of main in executables * Use f string to format infos * Pass error message to response objectc instead of logging it * Use node's logger instead of init a global one * Call node.get_qualified_name() to assign response obj's full_node_name * Other super tiny changes Signed-off-by: Zhen Ju <[email protected]>
- Loading branch information
1 parent
142bdf2
commit 42d95ea
Showing
6 changed files
with
45 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,17 +2,18 @@ | |
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> | ||
<package format="3"> | ||
<name>rclpy_components</name> | ||
<version>0.0.0</version> | ||
<description>TODO: Package description</description> | ||
<maintainer email="[email protected]">root</maintainer> | ||
<license>TODO: License declaration</license> | ||
<version>1.1.0</version> | ||
<description>The dynamic node management package</description> | ||
<maintainer email="[email protected]">Zhen Ju</maintainer> | ||
<license>Apache License 2.0</license> | ||
|
||
<depend>rclpy</depend> | ||
<depend>std_msgs</depend> | ||
<depend>composition_interfaces</depend> | ||
|
||
<test_depend>ament_copyright</test_depend> | ||
<test_depend>ament_flake8</test_depend> | ||
<test_depend>ament_pep257</test_depend> | ||
<test_depend>composition_interfaces</test_depend> | ||
<test_depend>python3-pytest</test_depend> | ||
|
||
<export> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
from setuptools import setup | ||
from setuptools import setup, find_packages | ||
|
||
package_name = 'rclpy_components' | ||
|
||
setup( | ||
name=package_name, | ||
version='0.0.0', | ||
packages=[package_name], | ||
version='1.1.0', | ||
packages=find_packages(), | ||
data_files=[ | ||
('share/ament_index/resource_index/packages', | ||
['resource/' + package_name]), | ||
('share/' + package_name, ['package.xml']), | ||
], | ||
install_requires=['setuptools'], | ||
zip_safe=True, | ||
maintainer='root', | ||
maintainer_email='[email protected]', | ||
description='TODO: Package description', | ||
license='TODO: License declaration', | ||
maintainer='Zhen Ju', | ||
maintainer_email='[email protected]', | ||
description='The dynamic node management package', | ||
license='Apache License 2.0', | ||
tests_require=['pytest'], | ||
entry_points={ | ||
'console_scripts': [ | ||
|