Skip to content

Commit

Permalink
Fixing coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
roveri-marco committed Apr 3, 2024
1 parent be4fba4 commit 0382612
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions plansys2_planner/src/plansys2_planner/PlannerClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ PlannerClient::getPlan(
auto future_result = get_plan_client_->async_send_request(request);

auto outresult = rclcpp::spin_until_future_complete(
node_, future_result,
std::chrono::seconds(timeout));
node_, future_result,
std::chrono::seconds(timeout));
if (outresult != rclcpp::FutureReturnCode::SUCCESS) {
if (outresult == rclcpp::FutureReturnCode::TIMEOUT) {
RCLCPP_ERROR(node_->get_logger(), "Get Plan service call timed out");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,10 @@ POPFPlanSolver::getPlan(
problem_out << problem;
problem_out.close();

RCLCPP_INFO(lc_node_->get_logger(), "[%s-popf] called with timeout %d seconds",
lc_node_->get_name(), solver_timeout);

RCLCPP_INFO(
lc_node_->get_logger(), "[%s-popf] called with timeout %d seconds",
lc_node_->get_name(), solver_timeout);

const auto plan_file_path = output_dir / std::filesystem::path("plan");
const auto args = lc_node_->get_parameter(arguments_parameter_name_).value_to_string();
const int status = system(
Expand Down

0 comments on commit 0382612

Please sign in to comment.