Skip to content

Conversation

@Nandostream11
Copy link

Reviewed tests and deprecation warnings due to controller_interface update for the issue #1946
Modified the warning tests in the following packages;-

  1. ackermann_steering_controller
  2. admittance_controller
  3. bicycle_steering_controller
  4. chained_filter_controller
  5. diff_drive_controller
  6. effort_controllers
  7. force_torque_sensor_broadcaster
  8. forward_command_controller
  9. gpio_controllers
  10. gps_sensor_broadcaster
  11. imu_sensor_broadcaster
  12. joint_state_broadcaster
  13. joint_trajectory_controller
  14. mecanum_drive_controller
  15. motion_primitives_controllers
  16. omni_wheel_drive_controller
  17. parallel_gripper_controller
  18. pid_controller
  19. pose_broadcaster
  20. position_controllers
  21. range_sensor_broadcaster
  22. steering_controllers_library
  23. tricycle_controller
  24. tricycle_steering_controller
  25. velocity_controllers

Copy link
Contributor

@christophfroehlich christophfroehlich left a comment

Choose a reason for hiding this comment

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

Thanks for your PR. But please consider our contributing guidelines, have you run colcon test and pre-commit locally? Almost all jobs fail here.

@Nandostream11
Copy link
Author

I have done all the tests and fixed the issues. Please review once

@codecov
Copy link

codecov bot commented Oct 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.46%. Comparing base (56c6fa0) to head (a0c5310).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1973      +/-   ##
==========================================
+ Coverage   85.12%   85.46%   +0.34%     
==========================================
  Files         143      143              
  Lines       13744    14069     +325     
  Branches     1201     1201              
==========================================
+ Hits        11699    12024     +325     
  Misses       1638     1638              
  Partials      407      407              
Flag Coverage Δ
unittests 85.46% <100.00%> (+0.34%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...roller/test/test_ackermann_steering_controller.hpp 88.28% <100.00%> (+0.66%) ⬆️
...nce_controller/test/test_admittance_controller.hpp 95.05% <100.00%> (+0.16%) ⬆️
...ntroller/test/test_bicycle_steering_controller.hpp 85.71% <100.00%> (+1.00%) ⬆️
...ned_filter_controller/test/test_chained_filter.cpp 100.00% <100.00%> (ø)
...r_controller/test/test_multiple_chained_filter.cpp 100.00% <100.00%> (ø)
...ive_controller/test/test_diff_drive_controller.cpp 94.18% <100.00%> (+0.21%) ⬆️
...ollers/test/test_joint_group_effort_controller.cpp 98.21% <100.00%> (+0.21%) ⬆️
...ster/test/test_force_torque_sensor_broadcaster.cpp 98.50% <100.00%> (+0.04%) ⬆️
...ontroller/test/test_forward_command_controller.cpp 98.30% <100.00%> (+0.09%) ⬆️
...est_multi_interface_forward_command_controller.cpp 98.87% <100.00%> (+0.08%) ⬆️
... and 18 more

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

bmagyar
bmagyar previously approved these changes Oct 28, 2025
Copy link
Member

@bmagyar bmagyar left a comment

Choose a reason for hiding this comment

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

Generally looks good to me but please try reducing the repeated stuff as per my comment.

@Nandostream11
Copy link
Author

Nandostream11 commented Oct 30, 2025

Generally looks good to me but please try reducing the repeated stuff as per my comment.

@bmagyar
I added the createDefaultParams(const rclcpp::NodeOptions & node_options, const std::string & robot_description = "");
in GpioCommandControllerTestSuite class in [gpio_controllers/test/test_gpio_command_controller.cpp] and refactored the earlier repetitions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants