Conversation
clalancette
left a comment
There was a problem hiding this comment.
Looks generally good to me once the CI failures are sorted out.
rclcpp_action/test/test_client.cpp
Outdated
| feedback_publisher->publish(feedback_message); | ||
| client_executor.spin_once(); | ||
| for (int i = 1; i < goal_request->goal.order; ++i) { | ||
| for (uint32_t i = 1; i < static_cast<uint32_t>(goal_request->goal.order); ++i) { |
There was a problem hiding this comment.
Instead of doing the cast here, I think you could get away with:
for (int32_t i = 1; i < goal_request->goal.order; ++i) {
f7093d3 to
0287c26
Compare
clalancette
left a comment
There was a problem hiding this comment.
Looks good with green CI.
|
Using |
|
Arg, that's annoying. In this case, we have a mismatch between the type in the struct (int32_t for goal_request->goal.order), and the indexing for the My suggestion to resolve it is the following: |
0287c26 to
d79baff
Compare
clalancette
left a comment
There was a problem hiding this comment.
I left a few comments (mostly notes to myself), and one question. Once that question is answered, I'm happy to approve.
clalancette
left a comment
There was a problem hiding this comment.
Looks good with green CI.
|
Great, I'll rerun CI after #1442 is merged in. |
I might be missing something, but I think CI for macOS will have warnings until I merge in and rebase on #1442. In the previous CI run, we got a bunch of nonliteral string warnings from the logging macros in this package, which should be fixed by changing the logging macros in #1442. |
Oh, you are right. Sorry, I forgot how this all fit together. Carry on :). |
Signed-off-by: Audrow Nash <audrow.nash@gmail.com>
Signed-off-by: Audrow Nash <audrow.nash@gmail.com>
Signed-off-by: Audrow Nash <audrow.nash@gmail.com>
Signed-off-by: Audrow Nash <audrow.nash@gmail.com>
Signed-off-by: Audrow Nash <audrow.nash@gmail.com>
Signed-off-by: Audrow Nash <audrow.nash@gmail.com>
Signed-off-by: Audrow Nash <audrow.nash@gmail.com>
9bfb9c5 to
551330a
Compare
This PR enables
-Wformat=2,-Wconversion,-Wshadow,-Wsign-conversion, and-Wcast-qualinrclcpp_action. This PR relies on using gtest v1.10.0, see ament/googletest#8.