申明:由于项目需要用到ros环境,所以在此记录一下ubuntu20.04下的ROS Noetic安装过程,全程顺序执行一次...
{ geometry_msgs::msg::Pose msg; msg.orientation.w = 1.0; msg.position.x = 0.28; msg.position.y = -0.2; msg.position.z = 0.5; return msg; }(); move_group_interface.setPoseTarget(target_pose); // Create a plan to that target pose prompt("Press 'Next' in the RvizVisualToolsGui...