Skip to content

Commit

Permalink
CMakeList style
Browse files Browse the repository at this point in the history
Signed-off-by: Paweł Lech <[email protected]>
  • Loading branch information
pawellech1 committed Feb 22, 2024
1 parent 716726d commit 474f841
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mock/cpp_mock_scenarios/src/respawn_ego/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ ament_auto_add_executable(respawn_ego
target_link_libraries(respawn_ego cpp_scenario_node)

install(TARGETS
respawn_ego
respawn_ego
DESTINATION lib/cpp_mock_scenarios
)

if(BUILD_TESTING)
include(../../cmake/add_cpp_mock_scenario_test.cmake)
add_cpp_mock_scenario_test(${PROJECT_NAME} "respawn_ego" "20.0")
add_cpp_mock_scenario_test(${PROJECT_NAME} "respawn_ego" "31.0")
endif()
2 changes: 1 addition & 1 deletion mock/cpp_mock_scenarios/src/respawn_ego/respawn_ego.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class RespawnEgoScenario : public cpp_mock_scenarios::CppScenarioNode
private:
void onUpdate() override
{
if (api_.getCurrentTime() >= 19) {
if (api_.getCurrentTime() >= 30) {
stop(cpp_mock_scenarios::Result::SUCCESS);
}
}
Expand Down

0 comments on commit 474f841

Please sign in to comment.