Skip to content
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

sciurus17_controlのROS 2対応 #142

Merged
merged 40 commits into from
Nov 6, 2023
Merged

sciurus17_controlのROS 2対応 #142

merged 40 commits into from
Nov 6, 2023

Conversation

Kuwamai
Copy link
Contributor

@Kuwamai Kuwamai commented Nov 1, 2023

What does this implement/fix?

Does this close any currently open issues?

しません

How has this been tested?

下記コマンドを実行し、RVizから実機のアームを操作できることを確認しました。

ros2 launch sciurus17_examples demo.launch.py

Any other comments?

ありません

Checklists

@Kuwamai Kuwamai added the Type: Feature New Feature label Nov 1, 2023
@Kuwamai Kuwamai requested a review from ShotaAk November 1, 2023 09:02
@Kuwamai Kuwamai self-assigned this Nov 1, 2023
@Kuwamai Kuwamai marked this pull request as ready for review November 1, 2023 10:19
Copy link
Contributor

@ShotaAk ShotaAk left a comment

Choose a reason for hiding this comment

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

確認しました。動作OKです。

コメントの確認お願いします

sciurus17_examples/CMakeLists.txt Outdated Show resolved Hide resolved
sciurus17_control/src/sciurus17_hardware.cpp Outdated Show resolved Hide resolved
return CallbackReturn::ERROR;
}

for (auto joint : info_.joints) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
for (auto joint : info_.joints) {
for (const auto & joint : info_.joints) {

Copy link
Contributor Author

Choose a reason for hiding this comment

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

joint.parametersがconstにオーバーロードできないためこの変更はできませんでした。

Copy link
Contributor

Choose a reason for hiding this comment

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

[ ]ではなくat( )を使ってみてください。

Comment on lines 65 to 66
// Load joint parameters
for (auto joint : info_.joints) {
Copy link
Contributor

Choose a reason for hiding this comment

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

上のforブロックとくっつけてください

sciurus17_control/src/sciurus17_hardware.cpp Outdated Show resolved Hide resolved
sciurus17_control/src/sciurus17_hardware.cpp Outdated Show resolved Hide resolved
sciurus17_control/src/sciurus17_hardware.cpp Outdated Show resolved Hide resolved
sciurus17_control/src/sciurus17_hardware.cpp Outdated Show resolved Hide resolved
sciurus17_control/src/sciurus17_hardware.cpp Outdated Show resolved Hide resolved
sciurus17_control/src/sciurus17_hardware.cpp Outdated Show resolved Hide resolved
Kuwamai and others added 4 commits November 2, 2023 18:36
Co-authored-by: Shota Aoki <[email protected]>
Co-authored-by: Shota Aoki <[email protected]>
Co-authored-by: Shota Aoki <[email protected]>
Co-authored-by: Shota Aoki <[email protected]>
Copy link
Contributor

@ShotaAk ShotaAk left a comment

Choose a reason for hiding this comment

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

LGTMです。

@ShotaAk ShotaAk merged commit bbe86b8 into ros2 Nov 6, 2023
2 checks passed
@ShotaAk ShotaAk deleted the support_ros2_controller branch November 6, 2023 04:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature New Feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants