Kinovarobotics / ros2_kortex

ROS2 driver for the Gen3 Kinova robot arm
Other
51 stars 47 forks source link

Failed to activate controller when launching moveit #208

Closed alexandra1610 closed 1 month ago

alexandra1610 commented 9 months ago

Hi, During the launch of ros2 launch kinova_gen3_7dof_robotiq_2f_85_moveit_config robot.launch.py robot_ip:=yyy.yyy.yyy.yyy use_fake_hardware:=true I have an issue in the moveit plugin that there is no planning library loaded. I saw an error in the terminal: Failed to activate controller I attached the output of the terminal. Thanks for helping error_launch_moveit.txt

timmarkhuff commented 6 months ago

I encountered this same issue in simulation using humble. I ran

ros2 launch kortex_bringup kortex_sim_control.launch.py \
  dof:=7 \
  use_sim_time:=true \
  launch_rviz:=false \
  vision:=true

and

ros2 launch kinova_gen3_7dof_robotiq_2f_85_moveit_config sim.launch.py \
use_sim_time:=true

In RViz, I see a message indicating that it failed to load a planning library. I followed the instructions in this repo, so I'm not sure why it is not working.

alexandra1610 commented 6 months ago

Hi, Yes you have to modify ompl_planning.yaml, use the one in the compiled library using sudo apt install and replace in the config folder and recompile.  Alexandra

aalmrad commented 1 month ago

Closing due to inactivity - reply to the thread if you need the issue to be reopened