Skip to content

Commit

Permalink
Second round of dependencies fix (#655) (#656)
Browse files Browse the repository at this point in the history
* Add missing backward_ros dependency and minor cmake cleanup
* Fix unused arg warning

(cherry picked from commit d96f662)

Co-authored-by: Bence Magyar <[email protected]>
  • Loading branch information
mergify[bot] and bmagyar authored Jun 12, 2023
1 parent d62d7fa commit 8bfee4b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion steering_controllers_library/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ target_compile_definitions(steering_controllers_library PRIVATE "STEERING_CONTRO
if(BUILD_TESTING)
find_package(ament_cmake_gmock REQUIRED)
find_package(controller_manager REQUIRED)
find_package(hardware_interface REQUIRED)
find_package(ros2_control_test_assets REQUIRED)

add_rostest_with_parameters_gmock(
Expand Down
2 changes: 1 addition & 1 deletion steering_controllers_library/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

<build_depend>generate_parameter_library</build_depend>

<depend>backward_ros</depend>
<depend>control_msgs</depend>
<depend>controller_interface</depend>
<depend>geometry_msgs</depend>
Expand All @@ -36,7 +37,6 @@

<test_depend>ament_cmake_gmock</test_depend>
<test_depend>controller_manager</test_depend>
<test_depend>hardware_interface</test_depend>
<test_depend>ros2_control_test_assets</test_depend>

<export>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class TestableSteeringControllersLibrary
return controller_interface::CallbackReturn::SUCCESS;
}

bool update_odometry(const rclcpp::Duration & period) { return true; }
bool update_odometry(const rclcpp::Duration & /*period*/) { return true; }

private:
rclcpp::WaitSet ref_subscriber_wait_set_;
Expand Down

0 comments on commit 8bfee4b

Please sign in to comment.