Skip to content

Commit

Permalink
fix Error in latest IK_Fast Plugin ZebraDevs#113 (ZebraDevs#114)
Browse files Browse the repository at this point in the history
* fix Error in latest IK_Fast Plugin ZebraDevs#113 with moveit 1.0 interface
* Related to the fix for issue ZebraDevs#103 PR ZebraDevs#107 used the wrong link
  • Loading branch information
ejichen authored and moriarty committed Apr 4, 2019
1 parent e806238 commit 25009cc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions fetch_ikfast_plugin/include/ikfast.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class IkSolutionBase
virtual const std::vector<int>& GetFree() const = 0;

/// \brief the dof of the solution
virtual const int GetDOF() const = 0;
virtual int GetDOF() const = 0;
};

/// \brief manages all the solutions
Expand Down Expand Up @@ -206,7 +206,7 @@ class IkSolution : public IkSolutionBase<T>
{
return _vfree;
}
virtual const int GetDOF() const
virtual int GetDOF() const
{
return static_cast<int>(_vbasesol.size());
}
Expand Down
2 changes: 1 addition & 1 deletion fetch_ikfast_plugin/src/fetch_arm_ikfast_moveit_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ class IKFastKinematicsPlugin : public kinematics::KinematicsBase

// The ikfast and base frame are the start and end of the kinematic chain for which the
// IKFast analytic solution was generated.
const std::string IKFAST_TIP_FRAME_ = "gripper_link";
const std::string IKFAST_TIP_FRAME_ = "wrist_roll_link";
const std::string IKFAST_BASE_FRAME_ = "torso_lift_link";

// The transform tip and base bool are set to true if this solver is used with a kinematic
Expand Down
2 changes: 1 addition & 1 deletion fetch_ikfast_plugin/update_ikfast_plugin.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
rosrun moveit_kinematics create_ikfast_moveit_plugin.py --search_mode=OPTIMIZE_MAX_JOINT --srdf_filename=fetch.srdf --robot_name_in_srdf=fetch --moveit_config_pkg=fetch_moveit_config fetch arm fetch_ikfast_plugin torso_lift_link gripper_link /home/alex/ros/melodic/src/fetch_ros/fetch_ikfast_plugin/src/fetch_arm_ikfast_solver.cpp
rosrun moveit_kinematics create_ikfast_moveit_plugin.py --search_mode=OPTIMIZE_MAX_JOINT --srdf_filename=fetch.srdf --robot_name_in_srdf=fetch --moveit_config_pkg=fetch_moveit_config fetch arm fetch_ikfast_plugin torso_lift_link wrist_roll_link /home/ijwo/ros/melodic/fetch-sim-test/src/fetch_ros/fetch_ikfast_plugin/src/fetch_arm_ikfast_solver.cpp

0 comments on commit 25009cc

Please sign in to comment.