Skip to content
Open
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 @@ -127,6 +127,8 @@ class SrvKinematicsPlugin : public kinematics::KinematicsBase
*/
const std::vector<std::string>& getVariableNames() const;

bool supportsGroup(const moveit::core::JointModelGroup* jmg, std::string* error_text_out = nullptr) const override;

protected:
bool setRedundantJoints(const std::vector<unsigned int>& redundant_joint_indices) override;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -422,4 +422,17 @@ const std::vector<std::string>& SrvKinematicsPlugin::getVariableNames() const
return joint_model_group_->getVariableNames();
}

bool SrvKinematicsPlugin::supportsGroup(const moveit::core::JointModelGroup* jmg, std::string* error_text_out) const
{
if (!jmg)
{
if (error_text_out)
{
*error_text_out = "No joint model group provided";
}
return false;
}
return true;
}

} // namespace srv_kinematics_plugin
Loading