Skip to content

Commit

Permalink
Fix to flip issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jfernandez37 committed May 23, 2024
1 parent a4927c5 commit 64bfa7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ariac_plugins/include/ariac_plugins/ariac_common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2296,8 +2296,8 @@ namespace ariac_common
// Calculate the angle between the two vectors
double angle = KDL::acos(KDL::dot(KDL::Vector(0, 0, 1), part_z) / (part_z.Norm()));

// Return that the part is flipped if angle is greater than ~10deg
if (angle > -0.2 && angle < 0.2)
// Return that the part is flipped if angle is greater than ~13deg
if (angle > -0.23 && angle < 0.23)
{
return false;
}
Expand Down

0 comments on commit 64bfa7e

Please sign in to comment.