# ROS PR2 Robot query

**URL:** <https://get-help.theconstruct.ai/t/ros-pr2-robot-query/3626>\
**Category:** Your First Robot With ROS\
**Created:** [May 17, 2020, 7:38am UTC](https://get-help.theconstruct.ai/t/ros-pr2-robot-query/3626 "2020-05-17T07:38:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wai.mak](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/wai.mak/32/7147_2.png) [@wai.mak](https://get-help.theconstruct.ai/u/wai.mak)\
**Post date:** [May 17, 2020, 7:38am UTC](https://get-help.theconstruct.ai/t/ros-pr2-robot-query/3626/1 "2020-05-17T07:38:35Z")

</div>

Hi RobotIgnite, All,

I’m trying to launch the PR2 robot from the ROS wiki ([http://wiki.ros.org/pr2\_robot](http://wiki.ros.org/pr2_robot)), I had downloaded the [https://github.com/PR2/pr2\_robot.git](https://github.com/PR2/pr2_robot.git) to the catkin\_ws/src environment using git clone,

when I do the catkin\_make, I got the following errors:

```
inmoov@ubuntu:~$ cd catkin_ws/
inmoov@ubuntu:~/catkin_ws$ catkin_make
Base path: /home/inmoov/catkin_ws
Source space: /home/inmoov/catkin_ws/src
Build space: /home/inmoov/catkin_ws/build
Devel space: /home/inmoov/catkin_ws/devel
Install space: /home/inmoov/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/inmoov/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/inmoov/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/inmoov/catkin_ws/devel;/opt/ros/kinetic
-- This workspace overlays: /home/inmoov/catkin_ws/devel;/opt/ros/kinetic
-- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.12", minimum required is "2") 
-- Using PYTHON_EXECUTABLE: /usr/bin/python2
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/inmoov/catkin_ws/build/test_results
-- Found gtest sources under '/usr/src/gmock': gtests will be built
-- Found gmock sources under '/usr/src/gmock': gmock will be built
-- Found PythonInterp: /usr/bin/python2 (found version "2.7.12") 
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.20
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 14 packages in topological order:
-- ~~ - imu_monitor
-- ~~ - inmoov_bringup
-- ~~ - inmoov_description
-- ~~ - inmoov_firmware
-- ~~ - inmoov_meshes
-- ~~ - inmoov_tools
-- ~~ - pr2_robot (metapackage)
-- ~~ - inmoov_msgs
-- ~~ - pr2_computer_monitor
-- ~~ - pr2_run_stop_auto_restart
-- ~~ - pr2_bringup
-- ~~ - pr2_controller_configuration
-- ~~ - pr2_ethercat
-- ~~ - pr2_camera_synchronizer
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'imu_monitor'
-- ==> add_subdirectory(pr2_robot/imu_monitor)
-- +++ processing catkin package: 'inmoov_bringup'
-- ==> add_subdirectory(inmoov_ros/inmoov_bringup)
-- +++ processing catkin package: 'inmoov_description'
-- ==> add_subdirectory(inmoov_ros/inmoov_description)
-- +++ processing catkin package: 'inmoov_firmware'
-- ==> add_subdirectory(inmoov_ros/inmoov_firmware)
-- +++ processing catkin package: 'inmoov_meshes'
-- ==> add_subdirectory(inmoov_ros/inmoov_meshes)
-- +++ processing catkin package: 'inmoov_tools'
-- ==> add_subdirectory(inmoov_ros/inmoov_tools)
-- +++ processing catkin metapackage: 'pr2_robot'
-- ==> add_subdirectory(pr2_robot/pr2_robot)
-- +++ processing catkin package: 'inmoov_msgs'
-- ==> add_subdirectory(inmoov_ros/inmoov_msgs)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- inmoov_msgs: 3 messages, 1 services
-- +++ processing catkin package: 'pr2_computer_monitor'
-- ==> add_subdirectory(pr2_robot/pr2_computer_monitor)
-- +++ processing catkin package: 'pr2_run_stop_auto_restart'
-- ==> add_subdirectory(pr2_robot/pr2_run_stop_auto_restart)
CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package):
  Could not find a package configuration file provided by "pr2_msgs" with any
  of the following names:

    pr2_msgsConfig.cmake
    pr2_msgs-config.cmake

  Add the installation prefix of "pr2_msgs" to CMAKE_PREFIX_PATH or set
  "pr2_msgs_DIR" to a directory containing one of the above files. If
  "pr2_msgs" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  pr2_robot/pr2_run_stop_auto_restart/CMakeLists.txt:6 (find_package)

-- Could not find the required component 'pr2_msgs'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by "pr2_msgs" with any
  of the following names:

    pr2_msgsConfig.cmake
    pr2_msgs-config.cmake

  Add the installation prefix of "pr2_msgs" to CMAKE_PREFIX_PATH or set
  "pr2_msgs_DIR" to a directory containing one of the above files. If
  "pr2_msgs" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  pr2_robot/pr2_run_stop_auto_restart/CMakeLists.txt:6 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/inmoov/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/inmoov/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:612: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

```

screenshot:

 ![image](https://get-help.robotigniteacademy.com/uploads/default/original/2X/3/3934ae706c3e6df4505afbf5fa7a42c8f861b0e7.png)

Are you able to assist please?

I really want to dig into this with the help of RobotIgnite academy on how I can reuse PR2 robot on my own robot,

Thank you,

Kind Regards  
@wai.mak

---

<div class="post-metadata">

**Author:** ![duckfrost2](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/duckfrost2/32/9365_2.png) [@duckfrost2](https://get-help.theconstruct.ai/u/duckfrost2)\
**Post date:** [May 18, 2020, 7:49am UTC](https://get-help.theconstruct.ai/t/ros-pr2-robot-query/3626/2 "2020-05-18T07:49:31Z")

</div>

Answered here: [PR2 robot query](https://get-help.robotigniteacademy.com/t/pr2-robot-query/3591/2)
