Skip to content

Commit

Permalink
Fix srv and spawner tests
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Dec 28, 2023
1 parent da84fe2 commit a4c58ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions controller_manager/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ if(BUILD_TESTING)
test_controller
ros2_control_test_assets::ros2_control_test_assets
)
set_tests_properties(test_spawner_unspawner PROPERTIES TIMEOUT 120)

ament_add_gmock(test_hardware_management_srvs
test/test_hardware_management_srvs.cpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -937,10 +937,10 @@ const auto minimal_robot_missing_command_keys_urdf =
[[maybe_unused]] const std::string TEST_SYSTEM_HARDWARE_TYPE = "system";
[[maybe_unused]] const std::string TEST_SYSTEM_HARDWARE_PLUGIN_NAME = "test_system";
[[maybe_unused]] const std::vector<std::string> TEST_SYSTEM_HARDWARE_COMMAND_INTERFACES = {
"joint2/velocity", "joint2/max_acceleration", "joint3/velocity"};
"joint2/velocity", "joint2/max_acceleration", "joint3/velocity", "configuration/max_tcp_jerk"};
[[maybe_unused]] const std::vector<std::string> TEST_SYSTEM_HARDWARE_STATE_INTERFACES = {
"joint2/position", "joint2/velocity", "joint2/acceleration",
"joint3/position", "joint3/velocity", "joint3/acceleration"};
"joint2/position", "joint2/velocity", "joint2/acceleration", "joint3/position",
"joint3/velocity", "joint3/acceleration", "configuration/max_tcp_jerk"};

} // namespace ros2_control_test_assets

Expand Down

0 comments on commit a4c58ad

Please sign in to comment.