Open Rhymakers opened 1 year ago
I am also getting the same error...
ubuntu@ubuntu-System-Product-Name:~/ros2_ws(copy)$ ros2 launch dsr_control2 dsr_moveit2.launch.py [INFO] [launch]: All log files can be found below /home/ubuntu/.ros/log/2023-01-05-09-44-00-301346-ubuntu-System-Product-Name-16030 [INFO] [launch]: Default logging verbosity is set to INFO Task exception was never retrieved future: <Task finished name='Task-2' coro=<LaunchService._process_one_event() done, defined at /opt/ros/foxy/lib/python3.8/site-packages/launch/launch_service.py:226> exception=PackageNotFoundError("package 'moveit_ros_move_group' not found, searching: ['/home/ubuntu/ros2_ws(copy)/install/warehouse_ros', '/home/ubuntu/ros2_ws(copy)/install/velocity_controllers', '/home/ubuntu/ros2_ws(copy)/install/ros2_control', '/home/ubuntu/ros2_ws(copy)/install/transmission_interface', '/home/ubuntu/ros2_ws(copy)/install/test_robot_hardware', '/home/ubuntu/ros2_ws(copy)/install/fake_joint_driver', '/home/ubuntu/ros2_ws(copy)/install/ros2_controllers', '/home/ubuntu/ros2_ws(copy)/install/position_controllers', '/home/ubuntu/ros2_ws(copy)/install/dsr_example2_py', '/home/ubuntu/ros2_ws(copy)/install/dsr_control2', '/home/ubuntu/ros2_ws(copy)/install/moveit_msgs', '/home/ubuntu/ros2_ws(copy)/install/moveit_config_m1509', '/home/ubuntu/ros2_ws(copy)/install/moveit_config_m1013', '/home/ubuntu/ros2_ws(copy)/install/moveit_config_m0617', '/home/ubuntu/ros2_ws(copy)/install/moveit_config_m0609', '/home/ubuntu/ros2_ws(copy)/install/moveit_config_h2515', '/home/ubuntu/ros2_ws(copy)/install/moveit_config_h2017', '/home/ubuntu/ros2_ws(copy)/install/moveit_config_a0912', '/home/ubuntu/ros2_ws(copy)/install/moveit_config_a0509', '/home/ubuntu/ros2_ws(copy)/install/joint_trajectory_controller', '/home/ubuntu/ros2_ws(copy)/install/joint_state_controller', '/home/ubuntu/ros2_ws(copy)/install/joint_limits_interface', '/home/ubuntu/ros2_ws(copy)/install/effort_controllers', '/home/ubuntu/ros2_ws(copy)/install/forward_command_controller', '/home/ubuntu/ros2_ws(copy)/install/diff_drive_controller', '/home/ubuntu/ros2_ws(copy)/install/controller_manager', '/home/ubuntu/ros2_ws(copy)/install/controller_interface', '/home/ubuntu/ros2_ws(copy)/install/hardware_interface', '/home/ubuntu/ros2_ws(copy)/install/dsr_msgs2', '/home/ubuntu/ros2_ws(copy)/install/dsr_launcher2', '/home/ubuntu/ros2_ws(copy)/install/dsr_description2', '/home/ubuntu/ros2_ws(copy)/install/controller_manager_msgs', '/home/ubuntu/ros2_ws(copy)/install/common2', '/opt/ros/foxy']")> Traceback (most recent call last): File "/opt/ros/foxy/lib/python3.8/site-packages/ament_index_python/packages.py", line 50, in get_package_prefix content, package_prefix = get_resource('packages', package_name) File "/opt/ros/foxy/lib/python3.8/site-packages/ament_index_python/resources.py", line 48, in get_resource raise LookupError( LookupError: Could not find the resource 'moveit_ros_move_group' of type 'packages'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/ros/foxy/lib/python3.8/site-packages/launch/launch_service.py", line 228, in _process_one_event
await self.process_event(next_event)
File "/opt/ros/foxy/lib/python3.8/site-packages/launch/launch_service.py", line 248, in process_event
visit_all_entities_and_collect_futures(entity, self.context))
File "/opt/ros/foxy/lib/python3.8/site-packages/launch/utilities/visit_all_entities_and_collect_futures_impl.py", line 45, in visit_all_entities_and_collect_futures
futures_to_return += visit_all_entities_and_collect_futures(sub_entity, context)
File "/opt/ros/foxy/lib/python3.8/site-packages/launch/utilities/visit_all_entities_and_collect_futures_impl.py", line 45, in visit_all_entities_and_collect_futures
futures_to_return += visit_all_entities_and_collect_futures(sub_entity, context)
File "/opt/ros/foxy/lib/python3.8/site-packages/launch/utilities/visit_all_entities_and_collect_futures_impl.py", line 45, in visit_all_entities_and_collect_futures
futures_to_return += visit_all_entities_and_collect_futures(sub_entity, context)
[Previous line repeated 1 more time]
File "/opt/ros/foxy/lib/python3.8/site-packages/launch/utilities/visit_all_entities_and_collect_futures_impl.py", line 38, in visit_all_entities_and_collect_futures
sub_entities = entity.visit(context)
File "/opt/ros/foxy/lib/python3.8/site-packages/launch/action.py", line 108, in visit
return self.execute(context)
File "/opt/ros/foxy/lib/python3.8/site-packages/launch_ros/actions/node.py", line 453, in execute
ret = super().execute(context)
File "/opt/ros/foxy/lib/python3.8/site-packages/launch/actions/execute_process.py", line 823, in execute
self.expand_substitutions(context)
File "/opt/ros/foxy/lib/python3.8/site-packages/launch/actions/execute_process.py", line 668, in expand_substitutions
cmd = [perform_substitutions(context, x) for x in self.cmd]
File "/opt/ros/foxy/lib/python3.8/site-packages/launch/actions/execute_process.py", line 668, in
I tried to use your moveit package following instructions provided but faced error after running
terminal output below :