Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in bullet function name #2472

Merged
merged 1 commit into from
Oct 24, 2023
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
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ class CollisionEnvBullet : public CollisionEnv
void updatedPaddingOrScaling(const std::vector<std::string>& links) override;

/** \brief All of the attached objects in the robot state are wrapped into bullet collision objects */
void addAttachedOjects(const moveit::core::RobotState& state,
std::vector<collision_detection_bullet::CollisionObjectWrapperPtr>& cows) const;
void addAttachedObjects(const moveit::core::RobotState& state,
std::vector<collision_detection_bullet::CollisionObjectWrapperPtr>& cows) const;

/** \brief Bundles the different checkSelfCollision functions into a single function */
void checkSelfCollisionHelper(const CollisionRequest& req, CollisionResult& res,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ void CollisionEnvBullet::checkSelfCollisionHelper(const CollisionRequest& req, C
std::lock_guard<std::mutex> guard(collision_env_mutex_);

std::vector<collision_detection_bullet::CollisionObjectWrapperPtr> cows;
addAttachedOjects(state, cows);
addAttachedObjects(state, cows);

if (req.distance)
{
Expand Down Expand Up @@ -187,7 +187,7 @@ void CollisionEnvBullet::checkRobotCollisionHelper(const CollisionRequest& req,
}

std::vector<collision_detection_bullet::CollisionObjectWrapperPtr> attached_cows;
addAttachedOjects(state, attached_cows);
addAttachedObjects(state, attached_cows);
updateTransformsFromState(state, manager_);

for (const collision_detection_bullet::CollisionObjectWrapperPtr& cow : attached_cows)
Expand All @@ -213,7 +213,7 @@ void CollisionEnvBullet::checkRobotCollisionHelperCCD(const CollisionRequest& re
std::lock_guard<std::mutex> guard(collision_env_mutex_);

std::vector<collision_detection_bullet::CollisionObjectWrapperPtr> attached_cows;
addAttachedOjects(state1, attached_cows);
addAttachedObjects(state1, attached_cows);

for (const collision_detection_bullet::CollisionObjectWrapperPtr& cow : attached_cows)
{
Expand Down Expand Up @@ -331,8 +331,8 @@ void CollisionEnvBullet::notifyObjectChange(const ObjectConstPtr& obj, World::Ac
}
}

void CollisionEnvBullet::addAttachedOjects(const moveit::core::RobotState& state,
std::vector<collision_detection_bullet::CollisionObjectWrapperPtr>& cows) const
void CollisionEnvBullet::addAttachedObjects(const moveit::core::RobotState& state,
std::vector<collision_detection_bullet::CollisionObjectWrapperPtr>& cows) const
{
std::vector<const moveit::core::AttachedBody*> attached_bodies;
state.getAttachedBodies(attached_bodies);
Expand Down
Loading