Skip to content

Commit

Permalink
fix testing of obstacle detection package
Browse files Browse the repository at this point in the history
  • Loading branch information
Micha Sende committed Oct 8, 2021
1 parent d164451 commit 1917b93
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion obstacle_detection/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ if(CATKIN_ENABLE_TESTING)
catkin_add_gtest(sector_test test/test_sector.cpp)
if(TARGET sector_test)
#find_package(gtest)
target_link_libraries(sector_test sector)
target_link_libraries(sector_test sector angle)
endif()
catkin_add_gtest(angle_test test/test_angle.cpp)
if(TARGET angle_test)
Expand Down
2 changes: 1 addition & 1 deletion obstacle_detection/include/lib/swarm_position.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class swarm_position
double danger () const;

/**
* @brief Get the absolute sector occupied by other CPSs with added saftey bearing.
* @brief Get the absolute sector occupied by other CPSs with added safety bearing.
* @return The inflated occupied sector.
*/
sector inflated_region () const;
Expand Down
2 changes: 1 addition & 1 deletion obstacle_detection/test/test_angle.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <gtest/gtest.h>
#include "angle.h"
#include "lib/angle.h"

/**
* @brief Test the angle helper library constructors.
Expand Down
2 changes: 1 addition & 1 deletion obstacle_detection/test/test_sector.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <gtest/gtest.h>
#include "sector.h"
#include "lib/sector.h"

/**
* @brief Test the sector helper library center function.
Expand Down

0 comments on commit 1917b93

Please sign in to comment.