Open jiuyewxy opened 3 months ago
accept
https://gitee.com/codygua/cwiid
cwiid现在可以在EulerMaker上正常出包(x86_64和aarch64)
测试了这几个rpm包的安装和卸载,其中的两个二进制程序 lswm 和 wminput 可以正常显示帮助信息和版本信息,暂时未作进一步测试
在本地打包成功,可以出包 ros-humble-wiimote-3.1.0-1.x86_64.rpm
需要修改wiimote.spec中第40行,BuildRequires: cwiid-dev -> BuildRequires: cwiid-devel
需要修改wiimote.spec中第27行,Requires: libbluetooth -> bluez ,不然安装的时候提示找不到依赖
测试了 ros2 run wiimote 提供的三个节点,运行没有异常退出,只是没有wii控制器暂时无法进一步测试
修改补丁如下
diff --git a/wiimote.spec b/wiimote.spec
index 55244d3..0d54eb0 100644
--- a/wiimote.spec
+++ b/wiimote.spec
@@ -24,7 +24,7 @@ Requires: ros-%{ros_distro}-sensor-msgs
Requires: ros-%{ros_distro}-std-msgs
Requires: ros-%{ros_distro}-std-srvs
Requires: ros-%{ros_distro}-wiimote-msgs
-Requires: libbluetooth
+Requires: bluez
Requires: cwiid
Requires: ros-%{ros_distro}-ros-workspace
@@ -37,7 +37,7 @@ BuildRequires: ros-%{ros_distro}-std-msgs
BuildRequires: ros-%{ros_distro}-std-srvs
BuildRequires: ros-%{ros_distro}-wiimote-msgs
BuildRequires: bluez-devel
-BuildRequires: cwiid-dev
+BuildRequires: cwiid-devel
BuildRequires: ros-%{ros_distro}-ament-cmake
BuildRequires: ros-%{ros_distro}-ament-cmake-auto
BuildRequires: ros-%{ros_distro}-ros-workspace