I create myself 6-axis robot arm. I want to try the motion planning so I set my waypoints. I use the "computeCartesianPath" to compute the degree of joints every time. I choose item of the avoid collision, but the computed result is collision. What I can deal with it.
Your environment
ROS Distro: [Noetic]
OS Version: e.g. Ubuntu 20.04
My mesh of urdf is set high leve.
Expected behaviour
The computed result is not collision.
Actual behaviour
The computed result is collision.
My code
include <moveit/move_group_interface/move_group_interface.h>
include <moveit/planning_scene_interface/planning_scene_interface.h>
include <moveit_msgs/DisplayRobotState.h>
include <moveit_msgs/DisplayTrajectory.h>
include <moveit_msgs/AttachedCollisionObject.h>
include <moveit_msgs/CollisionObject.h>
include <moveit_visual_tools/moveit_visual_tools.h>
include <moveit/robot_model_loader/robot_model_loader.h>
Description
Hi, your work is very good. It is worth to learn.
I create myself 6-axis robot arm. I want to try the motion planning so I set my waypoints. I use the "computeCartesianPath" to compute the degree of joints every time. I choose item of the avoid collision, but the computed result is collision. What I can deal with it.
Your environment
OS Version: e.g. Ubuntu 20.04
My mesh of urdf is set high leve.
Expected behaviour
The computed result is not collision.
Actual behaviour
The computed result is collision.
My code
include <moveit/move_group_interface/move_group_interface.h>
include <moveit/planning_scene_interface/planning_scene_interface.h>
include <moveit_msgs/DisplayRobotState.h>
include <moveit_msgs/DisplayTrajectory.h>
include <moveit_msgs/AttachedCollisionObject.h>
include <moveit_msgs/CollisionObject.h>
include <moveit_visual_tools/moveit_visual_tools.h>
include <moveit/robot_model_loader/robot_model_loader.h>
include <moveit/planning_scene/planning_scene.h>
include <moveit/kinematic_constraints/utils.h>
int main(int argc, char** argv) { ros::init(argc, argv, "move_group_interface_tutorial"); ros::NodeHandle node_handle;
}
This is the result.
Here is the video