RoboStack / ros-humble

Recipes for ROS 2 Humble Hawksbill
81 stars 32 forks source link

Add packages required to build ros2_control_demos #158

Closed traversaro closed 2 months ago

traversaro commented 2 months ago

I am trying to run the ros2_control_demos following the example in https://control.ros.org/humble/doc/ros2_control_demos/doc/index.html#local-installation . Beside the usual changes to adapt some instructions to conda (do not run sudo before rosdep update, in Windows Command Prompt change env variable from $ROS_DISTRO to %ROS_DISTRO%) the rosdep install step is failing due to some missing packages.

linux-64

(rcdws) traversaro@IITBMP014LW012:~/rcdws$ rosdep install --from-paths ./ -i -y --rosdistro ${ROS_DISTRO}
executing command [mamba install -c robostack-staging -c conda-forge -y ros-humble-hardware-interface ros-humble-controller-manager ros-humble-forward-command-controller ros-humble-gazebo-ros ros-humble-gazebo-ros2-control ros-humble-joint-state-broadcaster ros-humble-joint-state-publisher-gui ros-humble-joint-trajectory-controller ros-humble-ros2-controllers-test-nodes ros-humble-ros2controlcli ros-humble-xacro urdfdom ros-humble-realtime-tools ros-humble-transmission-interface ros-humble-diff-drive-controller ros-humble-bicycle-steering-controller ros-humble-control-msgs ros-humble-controller-interface]

Looking for: ['ros-humble-hardware-interface', 'ros-humble-controller-manager', 'ros-humble-forward-command-controller', 'ros-humble-gazebo-ros', 'ros-humble-gazebo-ros2-control', 'ros-humble-joint-state-broadcaster', 'ros-humble-joint-state-publisher-gui', 'ros-humble-joint-trajectory-controller', 'ros-humble-ros2-controllers-test-nodes', 'ros-humble-ros2controlcli', 'ros-humble-xacro', 'urdfdom', 'ros-humble-realtime-tools', 'ros-humble-transmission-interface', 'ros-humble-diff-drive-controller', 'ros-humble-bicycle-steering-controller', 'ros-humble-control-msgs', 'ros-humble-controller-interface']

conda-forge/linux-64                                        Using cache
conda-forge/noarch                                          Using cache
robostack-staging/noarch                                      No change
robostack-staging/linux-64                                    No change

Pinned packages:
  - python 3.11.*

Could not solve for environment specs
The following package could not be installed
└─ ros-humble-gazebo-ros2-control does not exist (perhaps a typo or a missing channel).
ERROR: the following rosdeps failed to install
  conda: command [mamba install -c robostack-staging -c conda-forge -y ros-humble-hardware-interface ros-humble-controller-manager ros-humble-forward-command-controller ros-humble-gazebo-ros ros-humble-gazebo-ros2-control ros-humble-joint-state-broadcaster ros-humble-joint-state-publisher-gui ros-humble-joint-trajectory-controller ros-humble-ros2-controllers-test-nodes ros-humble-ros2controlcli ros-humble-xacro urdfdom ros-humble-realtime-tools ros-humble-transmission-interface ros-humble-diff-drive-controller ros-humble-bicycle-steering-controller ros-humble-control-msgs ros-humble-controller-interface] failed

win-64

(rcdws) c:\src\rcdws>rosdep install --from-paths ./ -i -y --rosdistro %ROS_DISTRO%
executing command [mamba.bat install -c robostack-staging -c conda-forge -y ros-humble-hardware-interface ros-humble-bicycle-steering-controller ros-humble-controller-manager ros-humble-joint-state-broadcaster ros-humble-joint-state-publisher-gui ros-humble-ros2controlcli ros-humble-xacro urdfdom ros-humble-forward-command-controller ros-humble-ros2-controllers-test-nodes ros-humble-transmission-interface ros-humble-diff-drive-controller ros-humble-gazebo-ros ros-humble-gazebo-ros2-control ros-humble-joint-trajectory-controller ros-humble-control-msgs ros-humble-controller-interface ros-humble-realtime-tools]

Looking for: ['ros-humble-hardware-interface', 'ros-humble-bicycle-steering-controller', 'ros-humble-controller-manager', 'ros-humble-joint-state-broadcaster', 'ros-humble-joint-state-publisher-gui', 'ros-humble-ros2controlcli', 'ros-humble-xacro', 'urdfdom', 'ros-humble-forward-command-controller', 'ros-humble-ros2-controllers-test-nodes', 'ros-humble-transmission-interface', 'ros-humble-diff-drive-controller', 'ros-humble-gazebo-ros', 'ros-humble-gazebo-ros2-control', 'ros-humble-joint-trajectory-controller', 'ros-humble-control-msgs', 'ros-humble-controller-interface', 'ros-humble-realtime-tools']

conda-forge/noarch                                            No change
robostack-staging/noarch                                      No change
robostack-staging/win-64                                      No change
conda-forge/win-64                                  21.3MB @  13.7MB/s  1.6s

Pinned packages:
  - python 3.11.*

warning  libmamba Added empty dependency for problem type SOLVER_RULE_UPDATE
Could not solve for environment specs
The following packages are incompatible
├─ ros-humble-bicycle-steering-controller is installable and it requires
│  └─ ros-humble-steering-controllers-library, which requires
│     └─ ros2-distro-mutex 0.5.* , which can be installed;
├─ ros-humble-gazebo-ros2-control is installable and it requires
│  └─ ros-humble-gazebo-ros with the potential options
│     ├─ ros-humble-gazebo-ros 3.7.0 would require
│     │  └─ ros-humble-gazebo-msgs with the potential options
│     │     ├─ ros-humble-gazebo-msgs 3.7.0 would require
│     │     │  └─ ros2-distro-mutex 0.5.* , which can be installed;
│     │     └─ ros-humble-gazebo-msgs 3.7.0 would require
│     │        └─ ros2-distro-mutex 0.3.* , which requires
│     │           └─ setuptools 61.0.0* , which can be installed;
│     └─ ros-humble-gazebo-ros 3.7.0 would require
│        └─ ros2-distro-mutex 0.3.* , which cannot be installed (as previously explained);
├─ ros-humble-joint-state-publisher-gui is not installable because it requires
│  └─ ros2-distro-mutex [0.2.* humble|0.3.* ], which cannot be installed (as previously explained);
├─ ros-humble-ros2-controllers-test-nodes does not exist (perhaps a typo or a missing channel);
├─ ros-humble-xacro is not installable because it requires
│  └─ ros2-distro-mutex [0.2.* humble|0.3.* ], which cannot be installed (as previously explained);
└─ setuptools is installable with the potential options
   ├─ setuptools [57.4.0|59.8.0|...|69.2.0] conflicts with any installable versions previously reported;
   ├─ setuptools [23.0.0|25.1.3|...|44.0.0] would require
   │  └─ python [2.7* |>=2.7,<2.8.0a0 ] but there are no viable options
   │     ├─ python [2.7.12|2.7.13|2.7.14|2.7.15] would require
   │     │  └─ vc 9.* , which does not exist (perhaps a missing channel);
   │     └─ python 2.7.15 would require
   │        └─ vc >=9,<10.0a0 , which does not exist (perhaps a missing channel);
   ├─ setuptools [23.0.0|25.1.3|...|32.3.1] would require
   │  └─ python 3.4*  but there are no viable options
   │     ├─ python 3.4.5 would require
   │     │  └─ vc 10.* , which does not exist (perhaps a missing channel);
   │     └─ python 3.4.5 would require
   │        └─ vs2010_runtime, which does not exist (perhaps a missing channel);
   ├─ setuptools [23.0.0|25.1.3|...|40.4.3] would require
   │  └─ python [3.5* |>=3.5,<3.6.0a0 ], which can be installed;
   ├─ setuptools [32.3.0|32.3.1|...|39.0.1] would require
   │  └─ python 3.6* , which can be installed;
   ├─ setuptools [39.1.0|39.2.0|...|58.0.4] would require
   │  └─ python >=3.6,<3.7.0a0 , which can be installed;
   ├─ setuptools [40.0.0|40.2.0|...|65.3.0] would require
   │  └─ python >=3.7,<3.8.0a0 , which can be installed;
   ├─ setuptools [41.6.0|42.0.0|...|65.3.0] would require
   │  └─ python >=3.8,<3.9.0a0 , which can be installed;
   ├─ setuptools [49.6.0|57.4.0|...|65.3.0] would require
   │  └─ python >=3.9,<3.10.0a0 , which can be installed;
   └─ setuptools [57.4.0|58.4.0|...|65.3.0] would require
      └─ python >=3.10,<3.11.0a0 , which can be installed.
ERROR: the following rosdeps failed to install
  conda: command [mamba.bat install -c robostack-staging -c conda-forge -y ros-humble-hardware-interface ros-humble-bicycle-steering-controller ros-humble-controller-manager ros-humble-joint-state-broadcaster ros-humble-joint-state-publisher-gui ros-humble-ros2controlcli ros-humble-xacro urdfdom ros-humble-forward-command-controller ros-humble-ros2-controllers-test-nodes ros-humble-transmission-interface ros-humble-diff-drive-controller ros-humble-gazebo-ros ros-humble-gazebo-ros2-control ros-humble-joint-trajectory-controller ros-humble-control-msgs ros-humble-controller-interface ros-humble-realtime-tools] failed

In this PR I tried to add the packages that we need.

traversaro commented 2 months ago

@Tobias-Fischer CI is happy, the PR is ready for review.

Tobias-Fischer commented 2 months ago

Nice one