Упаковать gazebo в nixpkgs #1

Open
opened 2023-01-11 23:10:47 +03:00 by movefasta · 9 comments
movefasta commented 2023-01-11 23:10:47 +03:00 (Migrated from gitlab.com)

При попытке сборки gazebo в nix-ros-overlay возникает ошибка:

 >>>> downloading archive version for package 'ign_ros2_control'...
!!!! 'Failed to resolve required dependencies for package ign_ros2_control!
!!!!  unresolved: "ignition-plugin"
!!!!  unresolved: "ignition-gazebo3"
!!!! 30.5%: Failed to generate ebuild for package 'ign_ros2_control'!

Проблема заключается в том, что ни один ignition-пакет не подгружается в nix-ros-overlay. Это системная зависимость, не имеющая напрямую отношение к ROS экосистеме и нужно упаковывать его отдельно в nixpkgs или форк lopsided98 - https://github.com/lopsided98/nixpkgs , который используется в nix-ros-overlay.

Gazebo требует ряд специфических зависимостей

Но сами пакеты достаточно типовые. Пример сборки gz_cmake:

$ git clone https://github.com/gazebosim/gz-cmake
$ cd gz-cmake
$ mkdir build
$ cd build
$ cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/install/dir
$ make -j8
$ make install
При попытке сборки gazebo в nix-ros-overlay возникает ошибка: ``` >>>> downloading archive version for package 'ign_ros2_control'... !!!! 'Failed to resolve required dependencies for package ign_ros2_control! !!!! unresolved: "ignition-plugin" !!!! unresolved: "ignition-gazebo3" !!!! 30.5%: Failed to generate ebuild for package 'ign_ros2_control'! ``` Проблема заключается в том, что ни один ignition-пакет не подгружается в nix-ros-overlay. Это системная зависимость, не имеющая напрямую отношение к ROS экосистеме и нужно упаковывать его отдельно в nixpkgs или форк lopsided98 - https://github.com/lopsided98/nixpkgs , который используется в nix-ros-overlay. Gazebo требует ряд специфических зависимостей - **common** - Инструкция по сборке из исходников: https://gazebosim.org/api/common/4.0/install.html - **gz_cmake** - https://github.com/gazebosim/gz-cmake Но сами пакеты достаточно типовые. Пример сборки gz_cmake: ``` $ git clone https://github.com/gazebosim/gz-cmake $ cd gz-cmake $ mkdir build $ cd build $ cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/install/dir $ make -j8 $ make install ```
movefasta commented 2023-01-11 23:11:36 +03:00 (Migrated from gitlab.com)

changed the description

changed the description
movefasta commented 2023-01-12 00:51:01 +03:00 (Migrated from gitlab.com)

changed title from {-fix ignition-gazebo ros2_control-} to {+Упаковать gazebo в nixpkgs+}

changed title from **{-fix ignition-gazebo ros2_control-}** to **{+Упаковать gazebo в nixpkgs+}**
movefasta commented 2023-01-12 00:51:01 +03:00 (Migrated from gitlab.com)

changed the description

changed the description
movefasta commented 2023-01-12 00:51:19 +03:00 (Migrated from gitlab.com)

changed the description

changed the description
movefasta commented 2023-01-12 00:52:00 +03:00 (Migrated from gitlab.com)

changed the description

changed the description
movefasta commented 2023-01-12 00:56:28 +03:00 (Migrated from gitlab.com)

changed the description

changed the description
movefasta commented 2023-02-06 12:15:12 +03:00 (Migrated from gitlab.com)

mentioned in issue robossembler-ros2#2

mentioned in issue robossembler-ros2#2
movefasta commented 2023-12-15 13:17:54 +03:00 (Migrated from gitlab.com)

Упаковка нового Gazebo Harmonic (gz-sim 8.0) в nix делается тут https://github.com/muellerbernd/gazebo-sim-overlay

Есть проблемы с GUI, см. https://github.com/lopsided98/nix-ros-overlay/issues/319

Упаковка нового Gazebo Harmonic (gz-sim 8.0) в nix делается тут https://github.com/muellerbernd/gazebo-sim-overlay Есть проблемы с GUI, см. https://github.com/lopsided98/nix-ros-overlay/issues/319
movefasta commented 2024-04-19 19:44:17 +03:00 (Migrated from gitlab.com)

Новый Gazebo добавлен
dd6fe64af1

Нужно сделать Fortress версию

Новый Gazebo добавлен dd6fe64af1d765a3f9b9a40ff0503b39fa3104d3 Нужно сделать Fortress версию
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
robossembler/nix-overlay#1
No description provided.