Skip to content

Commit

Permalink
address JS's comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Daqing Yi committed Apr 20, 2017
1 parent a77b734 commit baa8310
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions include/aikido/constraint/TSR.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,13 @@ class TSR : public Sampleable,
bool project(const statespace::StateSpace::State* _s,
statespace::StateSpace::State* _out) const override;

/// Get the staisfiable tolerance for isSatisfiable.
/// \param[out] _out Satisfialble tolerance, double.
double getSatisfiableTolerance();

void setSatisfiableTolerance(const double satisfiableTolerance);

/// Set the staisfiable tolerance for isSatisfiable.
/// \param _satisfiableTolerance Satisfiable tolerance to set.
void setSatisfiableTolerance(const double _satisfiableTolerance);

/// Transformation from origin frame into the TSR frame "w".
/// "w" is usually centered at the origin of an object held by the hand
Expand Down
4 changes: 2 additions & 2 deletions src/constraint/TSR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -422,9 +422,9 @@ double TSR::getSatisfiableTolerance()
}

//=============================================================================
void TSR::setSatisfiableTolerance(const double satisfiableTolerance)
void TSR::setSatisfiableTolerance(const double _satisfiableTolerance)
{
mSatisfiableTolerance = satisfiableTolerance;
mSatisfiableTolerance = _satisfiableTolerance;
}

//=============================================================================
Expand Down

0 comments on commit baa8310

Please sign in to comment.