Skip to content

Commit

Permalink
Only run kinematic check when testing is enabled and debug is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Levi-Armstrong committed Sep 28, 2024
1 parent c1a8388 commit 75fd11b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tesseract_environment/src/environment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ Environment::Implementation::getKinematicGroup(const std::string& group_name, st

kinematic_group_cache[key] = std::make_unique<tesseract_kinematics::KinematicGroup>(*kg);

#ifndef NDEBUG
#if !defined(NDEBUG) && TESSERACT_ENABLE_TESTING
if (!tesseract_kinematics::checkKinematics(*kg))
{
CONSOLE_BRIDGE_logError("Check Kinematics failed. This means that inverse kinematics solution for a pose do not "
Expand Down

0 comments on commit 75fd11b

Please sign in to comment.