Closed ahumphries2 closed 3 months ago
This seems to be a dependency problem. We have recently updated the package's dependencies and have not made a binary release since.
Since you already tried a source install: Did you call the rosdep install
command after cloning / updating to the latest galactic
commit?
Could you please post the output of apt search ros-galactic-moveit
? This should print the state of all moveit packages whether they are installed or not. If there's a package missing, we should find it there.
I have the same error with the galactic branch. I built from source and called rosdep install
. Here is the output of apt search ros-galactic-moveit
:
ros-galactic-moveit/focal 2.3.4-1focal.20220526.154855 amd64
Meta package that contains all essential packages of MoveIt 2
ros-galactic-moveit-chomp-optimizer-adapter/focal 2.3.4-1focal.20220514.025535 amd64
MoveIt planning request adapter utilizing chomp for solution optimization
ros-galactic-moveit-chomp-optimizer-adapter-dbgsym/focal 2.3.4-1focal.20220514.025535 amd64
debug symbols for ros-galactic-moveit-chomp-optimizer-adapter
ros-galactic-moveit-common/focal 2.3.4-1focal.20220430.053314 amd64
Common support functionality used throughout MoveIt
ros-galactic-moveit-configs-utils/focal,now 2.3.4-1focal.20220526.150119 amd64 [installed,automatic]
Python library for loading moveit config parameters in launch files
ros-galactic-moveit-core/focal,now 2.3.4-1focal.20220514.022605 amd64 [installed,automatic]
Core libraries used by MoveIt
ros-galactic-moveit-core-dbgsym/focal 2.3.4-1focal.20220514.022605 amd64
debug symbols for ros-galactic-moveit-core
ros-galactic-moveit-hybrid-planning/focal 2.3.4-1focal.20220601.135034 amd64
Hybrid planning components of MoveIt 2
ros-galactic-moveit-hybrid-planning-dbgsym/focal 2.3.4-1focal.20220601.135034 amd64
debug symbols for ros-galactic-moveit-hybrid-planning
ros-galactic-moveit-kinematics/focal,now 2.3.4-1focal.20220526.150941 amd64 [installed]
Package for all inverse kinematics solvers in MoveIt
ros-galactic-moveit-kinematics-dbgsym/focal 2.3.4-1focal.20220526.150941 amd64
debug symbols for ros-galactic-moveit-kinematics
ros-galactic-moveit-msgs/focal,now 2.2.0-1focal.20220430.125544 amd64 [installed,automatic]
Messages, services and actions used by MoveIt
ros-galactic-moveit-msgs-dbgsym/focal 2.2.0-1focal.20220430.125544 amd64
debug symbols for ros-galactic-moveit-msgs
ros-galactic-moveit-planners/focal 2.3.4-1focal.20220526.154721 amd64
Meta package that installs all available planners for MoveIt
ros-galactic-moveit-planners-chomp/focal 2.3.4-1focal.20220514.025537 amd64
The interface for using CHOMP within MoveIt
ros-galactic-moveit-planners-chomp-dbgsym/focal 2.3.4-1focal.20220514.025537 amd64
debug symbols for ros-galactic-moveit-planners-chomp
ros-galactic-moveit-planners-ompl/focal,now 2.3.4-1focal.20220514.031330 amd64 [installed]
MoveIt interface to OMPL
ros-galactic-moveit-planners-ompl-dbgsym/focal 2.3.4-1focal.20220514.031330 amd64
debug symbols for ros-galactic-moveit-planners-ompl
ros-galactic-moveit-plugins/focal 2.3.4-1focal.20220514.025538 amd64
Metapackage for MoveIt plugins.
ros-galactic-moveit-resources/focal 2.0.3-1focal.20220430.171124 amd64
Resources used for MoveIt testing
ros-galactic-moveit-resources-fanuc-description/focal 2.0.3-1focal.20220124.200203 amd64
Fanuc Resources used for MoveIt testing
ros-galactic-moveit-resources-fanuc-moveit-config/focal 2.0.3-1focal.20220430.143330 amd64
MoveIt Resources for testing: Fanuc M-10iA.
ros-galactic-moveit-resources-panda-description/focal 2.0.3-1focal.20220124.200204 amd64
panda Resources used for MoveIt testing
ros-galactic-moveit-resources-panda-moveit-config/focal 2.0.3-1focal.20220430.143338 amd64
MoveIt Resources for testing: Franka Emika Panda A project-internal configuration for testing in MoveIt.
ros-galactic-moveit-resources-pr2-description/focal 2.0.3-1focal.20220124.200209 amd64
PR2 Resources used for MoveIt! testing
ros-galactic-moveit-resources-prbt-ikfast-manipulator-plugin/focal 2.3.4-1focal.20220514.025121 amd64
The prbt_ikfast_manipulator_plugin package
ros-galactic-moveit-resources-prbt-ikfast-manipulator-plugin-dbgsym/focal 2.3.4-1focal.20220514.025121 amd64
debug symbols for ros-galactic-moveit-resources-prbt-ikfast-manipulator-plugin
ros-galactic-moveit-resources-prbt-moveit-config/focal 2.3.4-1focal.20220526.152506 amd64
MoveIt Resources for testing: Pilz PRBT 6 A project-internal configuration for testing in MoveIt.
ros-galactic-moveit-resources-prbt-pg70-support/focal 2.3.4-1focal.20220526.152618 amd64
PRBT support for Schunk pg70 gripper.
ros-galactic-moveit-resources-prbt-support/focal 2.3.4-1focal.20220430.111103 amd64
Mechanical, kinematic and visual description of the Pilz light weight arm PRBT.
ros-galactic-moveit-ros/focal 2.3.4-1focal.20220526.154724 amd64
Components of MoveIt that use ROS
ros-galactic-moveit-ros-benchmarks/focal 2.3.4-1focal.20220526.150739 amd64
Enhanced tools for benchmarks in MoveIt
ros-galactic-moveit-ros-benchmarks-dbgsym/focal 2.3.4-1focal.20220526.150739 amd64
debug symbols for ros-galactic-moveit-ros-benchmarks
ros-galactic-moveit-ros-control-interface/focal 2.3.4-1focal.20220601.133912 amd64
ros_control controller manager interface for MoveIt
ros-galactic-moveit-ros-control-interface-dbgsym/focal 2.3.4-1focal.20220601.133912 amd64
debug symbols for ros-galactic-moveit-ros-control-interface
ros-galactic-moveit-ros-move-group/focal,now 2.3.4-1focal.20220526.151449 amd64 [installed]
The move_group node for MoveIt
ros-galactic-moveit-ros-move-group-dbgsym/focal 2.3.4-1focal.20220526.151449 amd64
debug symbols for ros-galactic-moveit-ros-move-group
ros-galactic-moveit-ros-occupancy-map-monitor/focal,now 2.3.4-1focal.20220514.025105 amd64 [installed,automatic]
Components of MoveIt connecting to occupancy map
ros-galactic-moveit-ros-occupancy-map-monitor-dbgsym/focal 2.3.4-1focal.20220514.025105 amd64
debug symbols for ros-galactic-moveit-ros-occupancy-map-monitor
ros-galactic-moveit-ros-perception/focal 2.3.4-1focal.20220514.031328 amd64
Components of MoveIt connecting to perception
ros-galactic-moveit-ros-perception-dbgsym/focal 2.3.4-1focal.20220514.031328 amd64
debug symbols for ros-galactic-moveit-ros-perception
ros-galactic-moveit-ros-planning/focal,now 2.3.4-1focal.20220514.025542 amd64 [installed,automatic]
Planning components of MoveIt that use ROS
ros-galactic-moveit-ros-planning-dbgsym/focal 2.3.4-1focal.20220514.025542 amd64
debug symbols for ros-galactic-moveit-ros-planning
ros-galactic-moveit-ros-planning-interface/focal,now 2.3.4-1focal.20220526.153005 amd64 [installed,automatic]
Components of MoveIt that offer simpler interfaces to planning and execution
ros-galactic-moveit-ros-planning-interface-dbgsym/focal 2.3.4-1focal.20220526.153005 amd64
debug symbols for ros-galactic-moveit-ros-planning-interface
ros-galactic-moveit-ros-robot-interaction/focal,now 2.3.4-1focal.20220514.031334 amd64 [installed,automatic]
Components of MoveIt that offer interaction via interactive markers
ros-galactic-moveit-ros-robot-interaction-dbgsym/focal 2.3.4-1focal.20220514.031334 amd64
debug symbols for ros-galactic-moveit-ros-robot-interaction
ros-galactic-moveit-ros-visualization/focal,now 2.3.4-1focal.20220526.153157 amd64 [installed]
Components of MoveIt that offer visualization
ros-galactic-moveit-ros-visualization-dbgsym/focal 2.3.4-1focal.20220526.153157 amd64
debug symbols for ros-galactic-moveit-ros-visualization
ros-galactic-moveit-ros-warehouse/focal,now 2.3.4-1focal.20220514.031328 amd64 [installed,automatic]
Components of MoveIt connecting to MongoDB
ros-galactic-moveit-ros-warehouse-dbgsym/focal 2.3.4-1focal.20220514.031328 amd64
debug symbols for ros-galactic-moveit-ros-warehouse
ros-galactic-moveit-runtime/focal 2.3.4-1focal.20220526.154917 amd64
moveit_runtime meta package contains MoveIt packages that are essential for its runtime (e.g.
ros-galactic-moveit-servo/focal,now 2.3.4-1focal.20220601.140103 amd64 [installed]
Provides real-time manipulator Cartesian and joint servoing.
ros-galactic-moveit-servo-dbgsym/focal 2.3.4-1focal.20220601.140103 amd64
debug symbols for ros-galactic-moveit-servo
ros-galactic-moveit-setup-assistant/focal 2.3.4-1focal.20220526.154731 amd64
Generates a configuration package that makes it easy to use MoveIt
ros-galactic-moveit-setup-assistant-dbgsym/focal 2.3.4-1focal.20220526.154731 amd64
debug symbols for ros-galactic-moveit-setup-assistant
ros-galactic-moveit-simple-controller-manager/focal,now 2.3.4-1focal.20220514.025116 amd64 [installed]
A generic, simple controller manager plugin for MoveIt.
ros-galactic-moveit-simple-controller-manager-dbgsym/focal 2.3.4-1focal.20220514.025116 amd64
debug symbols for ros-galactic-moveit-simple-controller-manager
@renzobazan96 do you also have a dying move_group node or do you only have the missing planning library in RViz?
@fmauch Same error here, I checked node list and rqt_graph but cannot find anything similar to move_group node.
I can see my robot when launch
ros2 launch ur_bringup ur_control.launch.py ur_type:=ur3 robot_ip:=yyy.yyy.yyy.yyy launch_rviz:=true initial_joint_controller:=joint_trajectory_controller
same pose as real robot.
but when launch moveit it shows No planning library loaded message and MotionPlanning status ⚠️ also planningScene message is Requesting inition scene failed. When I click Plan&Execute button it says MoveGroup action client/server not ready
I'm using Ros2 Galactic and semi-binary installed UR driver for UR3 I can motion planning on foxy version but I'm trying to use servo command so I updated to galactic version.
Answer myself,
sudo apt install ros-galactic-backward-ros
or sudo apt install ros-<ROS DISTRO>-backward-ros
Can solve this problem.
Answer myself,
sudo apt install ros-galactic-backward-ros
orsudo apt install ros-<ROS DISTRO>-backward-ros
Can solve this problem.
As far as I can follow the package trace on my testing machine that should be installed with the current version, as the dependency goes like this: ur_moveit_config
->moveit_simple_controller_manager
->moveit_common
->backward_ros
. So this should be addressed since #392.
I had the same problem, I wrote a workaround in the moveit launch file which lets the rviz launch wait for the move_group being finished (it prints the message "You can start planning now"). It's a bit hacky but it does the job.
this is in my def launch_setup(context, *args, **kwargs):
from launch.actions import RegisterEventHandler
from launch.event_handlers import OnProcessIO
from launch.event import Event
# define your nodes here
rviz_node = ...
move_group_node = ...
mongodb_server_node = ...
servo_node = ...
move_group_loaded_message = "You can start planning now"
def on_output(event: Event):
for line in event.text.decode().splitlines():
# print('[{}] {}'.format(
# cast(ProcessIO, event).process_name, line))
if move_group_loaded_message in line:
return [rviz_node, move_group_interface_server]
delay_rviz = RegisterEventHandler(OnProcessIO(
on_stdout=on_output,
on_stderr=on_output,
))
nodes_to_start = [
move_group_node,
delay_rviz, # starts rviz once move group is ready
mongodb_server_node,
servo_node,
]
For reference see https://github.com/ros2/launch/blob/b78d87f31bb995c7226df66826e1a57079ae3a3f/launch/examples/launch_counters.py#L51-L62 and https://docs.ros.org/en/galactic/Tutorials/Intermediate/Launch/Using-Event-Handlers.html
@niemsoen really, that's the problem? Thanks for sharing this workaround! But I agree that it's a bit hacky and string matching from output is always a bit brittle (Although this output stayed the same as long as I can remember).
Since Galactic is not supported anymore and we don't have this issue in for the latest distros, I will close it.
Running ROS2 Galactic and tried installing UR ROS2 drivers for Galactic from binary and source and get the same results.
Per the documentation, I run this command in one terminal without issue:
ros2 launch ur_bringup ur_control.launch.py ur_type:=ur5e robot_ip:=yyy.yyy.yyy.yyy use_fake_hardware:=true launch_rviz:=false initial_joint_controller:=joint_trajectory_controller
Then I run this command in another terminal to bring up Rviz and MoveIt:
ros2 launch ur_moveit_config ur_moveit.launch.py ur_type:=ur5e launch_rviz:=true
Rviz opens up with a UR5e, but motion planning library refuses to load.
Here is the terminal output from the ur_moveit.launch.py command:
Any assistance is greatly appreciated! Thanks