-
Notifications
You must be signed in to change notification settings - Fork 0
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
imshowパッケージをc++からpythonに変更 #26
Conversation
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.
camera_reader
にも変更を入れちゃってますが、このPRでは関係ないものなので戻してください
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.
これ消さないで欲しいです
提供するnodeとexecutableは変わらないので、記述を変える必要もない
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.
フォーマットが気になるので、可能なら整形しておきたい
参考: PEP8
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.
具体的には、
import
とclass
の間は空行2行class
内の関数定義間は空行1行- 関数呼び出しの引数リストで
,
の後に空白1マスを入れる
<test_depend>ament_copyright</test_depend> | ||
<test_depend>ament_flake8</test_depend> | ||
<test_depend>ament_pep257</test_depend> | ||
<test_depend>python3-pytest</test_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.
<test_depend>ament_copyright</test_depend> | |
<test_depend>ament_flake8</test_depend> | |
<test_depend>ament_pep257</test_depend> | |
<test_depend>python3-pytest</test_depend> | |
<exec_depend>rclpy</exec_depend> | |
<exec_depend>sensor_msgs</exec_depend> | |
<exec_depend>cv_bridge</exec_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.
この変更いらないのでは?
description='Image display for ROS2', | ||
license='MIT license', |
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.
package.xml
と揃えるようにお願いします
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.
これだけだとlaunchファイルがビルド結果に含まれないので、そこの記述を足してください
↓記述例
2024_cavolinia/device/joystick/setup.py
Lines 12 to 17 in 5b8493e
data_files=[ | |
('share/ament_index/resource_index/packages', | |
['resource/' + package_name]), | |
('share/' + package_name, ['package.xml']), | |
(os.path.join('share', package_name, 'launch'), glob(os.path.join('launch', '*'))) | |
], |
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.
これを足すとimport
が足りなくなるのでそれも忘れずに(これも記述例参照)
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.
テストしないので消してください
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.
テストしないので消
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.
テストしないので
No description provided.