• Recent
    • Docs
    • Github
    • 百度网盘
    • Onedrive
    • Official
    • Shop
    • Register
    • Login

    coolpi 4b running PIPPY project

    Scheduled Pinned Locked Moved Maker
    16 Posts 3 Posters 1.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jack_admin
      last edited by

      继续编译,遇到问题

         [ 98%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching.dir/src/autocalib.cpp.o
            In file included from /tmp/pip-install-d2d32b_5/opencv-contrib-python_28af57cc6bde4c2cb142a1ef1a9dbf03/opencv/modules/stitching/include/opencv2/stitching.hpp:49,
                             from /tmp/pip-install-d2d32b_5/opencv-contrib-python_28af57cc6bde4c2cb142a1ef1a9dbf03/opencv/modules/stitching/src/precomp.hpp:59,
                             from /tmp/pip-install-d2d32b_5/opencv-contrib-python_28af57cc6bde4c2cb142a1ef1a9dbf03/opencv/modules/stitching/src/autocalib.cpp:43:
            /tmp/pip-install-d2d32b_5/opencv-contrib-python_28af57cc6bde4c2cb142a1ef1a9dbf03/opencv/modules/stitching/include/opencv2/stitching/detail/matchers.hpp:52:12: fatal error: opencv2/xfeatures2d/cuda.hpp: No such file or directory
               52 | #  include "opencv2/xfeatures2d/cuda.hpp"
                  |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            compilation terminated.
      
      
      1 Reply Last reply Reply Quote 0
      • B
        bg8wj
        last edited by

        python3 setup正常完成。
        运行webServer.py
        定位 ultra.py中这个语句出错
        GPIO.setup(Tr, GPIO.OUT,initial=GPIO.LOW)
        提示SystemError: more argument specifiers than keyword list entries (remaining format:'i')

        大法师大 1 Reply Last reply Reply Quote 0
        • 大法师大
          大法师 @bg8wj
          last edited by

          @bg8wj
          还得适配优化,某些api没使用到

          jack@cool-pi.com

          1 Reply Last reply Reply Quote 0
          • B
            bg8wj
            last edited by

            creat_ap 运行后 无法建立 ap方式。同样液晶屏也没法显示IP地址。

            大法师大 1 Reply Last reply Reply Quote 0
            • 大法师大
              大法师 @bg8wj
              last edited by

              @bg8wj 命令行启动运行,应该有报错信息

              jack@cool-pi.com

              B 1 Reply Last reply Reply Quote 0
              • B
                bg8wj @大法师
                last edited by

                @大法师 蹊跷的就是编译https://github.com/oblique/create_ap这个是成功的。但是启动web server 没有提前了。然后就进程就卡住了。创建ap这里失败。

                大法师大 1 Reply Last reply Reply Quote 0
                • 大法师大
                  大法师 @bg8wj
                  last edited by

                  @bg8wj
                  https://www.cool-pi.com/topic/136/coolpi-4b-python3-gpio-operation-compatable-with-raspberry-pi/11

                  gpio python需要安装。

                  jack@cool-pi.com

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    bg8wj @大法师
                    last edited by

                    @大法师 已经安装 20.04原生系统只能安装python3.9的轮子。

                    1 Reply Last reply Reply Quote 0
                    • B
                      bg8wj
                      last edited by

                      狗套件已经购买能否给个打包的系统映像文件。尝试安装了很多次都开在 webserver上。没法创建ap 故此无法编译。我再ubuntu20.04 系统上使用。液晶屏以及舵机初始化都正常。oled就是没法显示IP地址。

                      大法师大 J 2 Replies Last reply Reply Quote 0
                      • 大法师大
                        大法师 @bg8wj
                        last edited by 大法师

                        @bg8wj 这个套件目前没在我手上,当时是运行sta模式测试的。你的oled屏显示正常,只是取ip的代码没执行成功吧,给wifi配置连接一个本地网络

                        jack@cool-pi.com

                        B 2 Replies Last reply Reply Quote 0
                        • J
                          jack_admin @bg8wj
                          last edited by

                          @bg8wj 约个时间,远程登录看看错误信息

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            bg8wj @大法师
                            last edited by

                            @大法师 谢谢。就是WiFi模块感觉没有驱动成功。我这几天尝试打个WiFi的补丁。

                            1 Reply Last reply Reply Quote 0
                            • B
                              bg8wj @jack_admin
                              last edited by

                              @jack_admin 好。论坛中Ubuntu20.4的系统,我再尝试打个WiFi的驱动补丁试试。有没有weichat联系方式。我加你,约时间远程。

                              1 Reply Last reply Reply Quote 0
                              • B
                                bg8wj @大法师
                                last edited by

                                @大法师 更新内核ap+sta后貌似正常 。
                                新的问题出现 运行过程中提示
                                global cap_v4l.cpp:1119 tryIoctl VIDEOIO(V4L2:/dev/video0): select() timeout.
                                Exception in thread Thread-4:

                                1 Reply Last reply Reply Quote 0
                                • 1 / 1
                                • First post
                                  Last post