Run Moveit2 on Windows

asked 2021-07-26 03:54:29 -0500

Jaroslav Havrda gravatar image

updated 2021-08-03 03:49:28 -0500

Is there any way to make MoveIT2 working in ROS2 Foxy on Windows?

It seems that it is missing in my binary install - or at least I am missing the package ros2_control_node.

I tried building from source, but got the following error:

c:\moveit_ws>colcon build --event-handlers console_direct+
[0.944s] root DEBUG Using proactor: IocpProactor
Starting >>> Project
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19042.
CMake Error at CMakeLists.txt:65 (message):
  find_package(catkin) failed.  catkin was neither found in the workspace nor
  in the CMAKE_PREFIX_PATH.  One reason may be that no ROS setup.sh was
  sourced before.

Any idea what am I doing wrong?

EDIT: I downloaded files again to make sure I have correct sources. Now I have a different error when building moveit_core:

  -- Checking for module 'bullet'
   --   No package 'bullet' found
   CMake Error at C:/opt/ros/foxy/x64/Lib/site-packages/cmake/data/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
  Could NOT find Bullet (missing: BULLET_LIBRARIES BULLET_INCLUDE_DIRS)
  (found version "")
Call Stack (most recent call first):
  C:/opt/ros/foxy/x64/Lib/site-packages/cmake/data/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)
  CMakeModules/FindBULLET.cmake:8 (find_package_handle_standard_args)
  CMakeLists.txt:18 (find_package)


-- Configuring incomplete, errors occurred!
See also "C:/moveit_ws/build/moveit_core/CMakeFiles/CMakeOutput.log".
See also "C:/moveit_ws/build/moveit_core/CMakeFiles/CMakeError.log".
--- stderr: moveit_core
CMake Error at C:/opt/ros/foxy/x64/Lib/site-packages/cmake/data/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
  Could NOT find Bullet (missing: BULLET_LIBRARIES BULLET_INCLUDE_DIRS)
  (found version "")
Call Stack (most recent call first):
  C:/opt/ros/foxy/x64/Lib/site-packages/cmake/data/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)
  CMakeModules/FindBULLET.cmake:8 (find_package_handle_standard_args)
  CMakeLists.txt:18 (find_package)
edit retag flag offensive close merge delete

Comments

It looks like some of the packages you have are for ROS 1 and not ROS 2 (catkin comes from ROS 1). I cannot see which one.

lukicdarkoo gravatar image lukicdarkoo  ( 2021-07-27 15:39:44 -0500 )edit

Thank you. I redownloaded my sources to be sure I downloaded the correct thing. I got a bit further.

Jaroslav Havrda gravatar image Jaroslav Havrda  ( 2021-08-03 03:50:42 -0500 )edit