Skip to content

Commit

Permalink
fix filling success status in service
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksander Szymański <[email protected]>
  • Loading branch information
Bitterisland6 committed Dec 20, 2023
1 parent 2a1eaf6 commit 6c1be61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions leo_fw/src/firmware_message_converter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -257,9 +257,9 @@ class FirmwareMessageConverter : public rclcpp::Node
auto result_status = result.wait_for(callback_timeout);

if (result_status == std::future_status::ready) {
res->success = false;
} else {
res->success = true;
} else {
res->success = false;
}
}

Expand Down

0 comments on commit 6c1be61

Please sign in to comment.