Skip to content

Commit

Permalink
small api change
Browse files Browse the repository at this point in the history
  • Loading branch information
alaurenzi committed Mar 22, 2024
1 parent 0fe7815 commit 1ba696b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions include/OpenSoT/constraints/velocity/CollisionAvoidance.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,10 @@ class CollisionAvoidance: public Constraint<Eigen::MatrixXd, Eigen::VectorXd>
bool updateCollisionList(std::set<std::pair<std::string, std::string>> collisionList);

/**
* @brief updateEnvironment must be called after a collision has been added or
* removed from the envronment
* @brief collisionModelUpdated must be called after a collision has been added or
* removed from the model
*/
void updateEnvironment();
void collisionModelUpdated();

// TODO: waiting for world collision support !
//
Expand Down
2 changes: 1 addition & 1 deletion src/constraints/velocity/CollisionAvoidance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ bool CollisionAvoidance::updateCollisionList(std::set<std::pair<std::string, std
}
}

void CollisionAvoidance::updateEnvironment()
void CollisionAvoidance::collisionModelUpdated()
{
_lpv = _dist_calc->getCollisionPairs(_include_env);
}
Expand Down

0 comments on commit 1ba696b

Please sign in to comment.