Installing robocop varies depending on what you want to achieve and what features already exists in the framework. It Basically consists in installing a bunch of packages. Please consider the following steps as a pattern to follow rather than a strict procedure

Create a dedicated PID workspace

Most of time, following the robocop methodology you will need to develop many robocop packages at the same time. To do that in a simple way, create a dedicated PID workpace for your project.

To do that please follow these instructions.

Deploy the Core package

Anytime your develop robocop applications you will need to use the robocop Core package. To achieve that:

pid cd
pid deploy package=robocop-core

This will deploy the robocop-core package and all its dependencies in the workspace. That’s it you are now ready to work.

Create your application package

You now have to create the package that will host your application’s code. This is achieved using PID:

pid workspace create package=my-super-application

Most probably this application package will use a bunch of robocop packages, robots/sensors descriptions and drivers, simulators, controllers and other utilities. To install then the simplest way is to declare them as dependencies of the application package (in the CMakeLists.txt of my-super-application), something like:

project(my-super-application)

PID_Package(... 
    VERSION 0.1.0
)
#adding dependencies here
PID_Dependency(robocop-qp-controller VERSION 1.0)
PID_Dependency(robocop-sim-mujoco VERSION 1.0)
# following other dependencies

Simply configure your package to automatically install all these dependencies:

pid cd my-super-application
pid configure

One key point is to know what you can install, so you need to know which robocop packages are available for install. To do that you can visit the official gitlab group of robocop and inspect what packages are available. Another probably more effective solution is to use PID search command :

pid workspace info search=robocop

You will get a list of all robocop packages, something that looks like:

- robocop-core: Provides the core functionalities and interfaces for the RoboCoP framework
   - categories: core
   - project: https://gite.lirmm.fr/robocop/robocop-core
   - documentation: https://robocop.lirmm.net/robocop-framework/packages/robocop-core/index.html
- robocop-data-logger: Thin layer upon RPC data logger to ease the integration within RoboCoP applications
   - categories: utils
   - project: https://gite.lirmm.fr/robocop/utils/robocop-data-logger
   - documentation: https://robocop.lirmm.net/robocop-framework/packages/robocop-data-logger/index.html
- robocop-qp-controller: A QP-based kinematics and/or dynamics controller for RoboCoP
   - categories: control
   - project: https://gite.lirmm.fr/robocop/robocop-qp-controller
   - documentation: https://robocop.lirmm.net/robocop-framework/packages/robocop-qp-controller/index.html
- robocop-reflexxes: RoboCoP interpolator wrapper for the Reflexxes motion library
   - categories: trajectory-generation
   - project: https://gite.lirmm.fr/robocop/robocop-reflexxes
   - documentation: https://robocop.lirmm.net/robocop-framework/packages/robocop-reflexxes/index.html
- robocop-ros2-utils: Tools for interfacing RoboCoP with ROS2
   - categories: util
   - project: https://gite.lirmm.fr/robocop/utils/robocop-ros2-utils
   - documentation: https://robocop.lirmm.net/robocop-framework/packages/robocop-ros2-utils/index.html
- robocop-sim-mujoco: Wrapper around the mujoco simulator for robocop
   - categories: simulation
   - project: https://gite.lirmm.fr/robocop/robocop-sim-mujoco
   - documentation: https://robocop.lirmm.net/robocop-framework/packages/robocop-sim-mujoco/index.html
...

The list can be quite long since it lists all robocop packages. If you know what your application need you can search for more specific packages. For instance if your search for robot drivers you can type:

pid workspace info search=robocop,driver,robot

To get:

- robocop-bazar-driver: robocop driver agregator for the LIRMM BAZAR robot
   - categories: driver
   - project: https://gite.lirmm.fr/robocop/driver/robocop-bazar-driver
   - documentation: https://robocop.lirmm.net/robocop-framework/packages/robocop-bazar-driver/index.html
- robocop-kuka-lwr-driver: robocop interface for KUKA LWR robot
   - categories: driver
   - project: https://gite.lirmm.fr/robocop/driver/robocop-kuka-lwr-driver
   - documentation: https://robocop.lirmm.net/robocop-framework/packages/robocop-kuka-lwr-driver/index.html

There is no mush more to know about the installation of robocop. You should now follow the tutorials.