Skip to content

Commit

Permalink
typedefs for backwards compatibility to melodic
Browse files Browse the repository at this point in the history
same solution as in ros-industrial/staubli#30
  • Loading branch information
cjue committed Aug 17, 2023
1 parent e782fb7 commit a99e9f1
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -379,9 +379,8 @@ bool IKFastKinematicsPlugin::computeRelativeTransform(const std::string& from, c
robot_state = std::make_shared<RobotState>(robot_model_);
robot_state->setToDefaultValues();

bool has_link; // to suppress ROS_ERRORs for non-existent frames
auto* from_link = robot_model_->getLinkModel(from, &has_link);
auto* to_link = robot_model_->getLinkModel(to, &has_link);
auto* from_link = robot_model_->getLinkModel(from);
auto* to_link = robot_model_->getLinkModel(to);
if (!from_link || !to_link)
return false;

Expand Down

0 comments on commit a99e9f1

Please sign in to comment.