Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cob_people_detection/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ find_package(catkin REQUIRED COMPONENTS
${catkin_BUILD_PACKAGES}
)

find_package(Boost REQUIRED COMPONENTS signals system filesystem)
find_package(Boost REQUIRED COMPONENTS system filesystem)
find_package(OpenCV REQUIRED)
#find_package(orocos_kdl REQUIRED)
#find_package(PCL REQUIRED)
Expand Down
15 changes: 4 additions & 11 deletions cob_people_detection/common/src/munkres/munkres.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -572,12 +572,8 @@ bool munkres::step5(int r, int c)
//create our sequence
while (!done)
{
switch (looking_for_star)
if (looking_for_star)
{

//if we're looking for a star
case true:

//special case protection
a = r;

Expand Down Expand Up @@ -611,11 +607,9 @@ bool munkres::step5(int r, int c)
//we can't do this earlier due to needing to check for stars in the column
//mark the column as starred
column_starred[c] = true;
break;

//if we're looking for a prime
case false:

}
else
{
//prime current index
cell_array[r][c].primed = false;
//unstar current index
Expand All @@ -630,7 +624,6 @@ bool munkres::step5(int r, int c)

//set case to look for star next
looking_for_star = true;
break;
}
}

Expand Down