ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I have find a way to define the specific 'HOME ' in the Cartesian Plan Plugin.

  1. Using the rviz to plan your robot model to your desired position and get the End_Effect link's position and orientation and each joint position

  2. Changing the home_pose in '/moveit_cartesian_plan_plugin/src/generate_cartesian_path.cpp

    void GenerateCartesianPath::moveToHome() {

      geometry_msgs::Pose home_pose;
      home_pose.position.x=-0.161528;
    
      home_pose.position.y=0.258965;
      home_pose.position.z=0.829914;    
      home_pose.orientation.x = -0.275129;
      home_pose.orientation.y = 0.66813;
      home_pose.orientation.z = -0.625876;
      home_pose.orientation.w = 0.293575;
    
  3. Compiling
  4. Start the plugin and move the each joint to your home point approximately and click the "Move to Home" button

I don't know if this is a best way to change the default home point in this plugin, but it works. So you can try or you have another convenient way to solve it.