Robotics StackExchange | Archived questions

How to use Moveit2 MoveItPy ?

I am working on moveit2. I have to do simple motion planning. My configuration files for moveit2 are set. I can plan in rviz but I need to do motion planning with python codes. I think I downloaded all the packages related to moveit but when I open python codes on vs code, moveit libraries cannot be imported. I was able to do motion planning on ros1 moveit1, but I can't on moveit2 ros2 humble, why?

from moveit.core.robot_state import RobotState from moveit.planning import MoveItPy

problem: Import "moveit.core.robot_state" could not be resolved

Asked by kukrek on 2023-07-31 09:39:41 UTC

Comments

Answers