Coder Social home page Coder Social logo

wildwolf-team / wolfvision Goto Github PK

View Code? Open in Web Editor NEW
39.0 1.0 16.0 112.52 MB

WildWolf Team RoboMaster-2021 Visual & Algorithm Group Code Framework

Home Page: https://wildwolf-team.github.io/WolfVision/

License: MIT License

CMake 2.72% C++ 96.59% Shell 0.69%
opencv cplusplus robomaster

wolfvision's Introduction

WolfVision

WildWolf Team RoboMaster-2021 Visual & Algorithm Group Code Framework.

Enviroment

name version
System Ubuntu 21.04
OpenCV 4.5.3
OpenCV_Contrib 4.5.3
CMake 3.21.0
GCC 11.1.0
GDB 10.2
MindVision-SDK 2.1.0

Contribute

Project created using Visual Studio Code, required plugins listed below:

  • C/C++ ms-vscode.cpptools
  • CMake twxs.cmake
  • CMake Tools ms-vscode.cmake-tools
  • Visual Studio IntelliCode visualstudioexptteam.vscodeintellicode

Our project is here Projects.

Guide

Before start coding, please finish project configuration first:

sudo bash scripts/autoconfig.sh

After configuration, enjoy coding follow Google C++ Style Guide, linting by command:

bash scripts/cpplint-pre-commit.sh

Commit Lint

  • feat: new feature
  • fix: modify the issue
  • refactor: code refactoring
  • docs: documentation changes
  • style: code formatting changes
  • test: test case modifications
  • chore: other changes, such as build process, dependency management

License

MIT, Copyright WildWolf Team 2021

wolfvision's People

Contributors

fqjun avatar gcusms avatar ichizer0 avatar mrjiong-ff avatar papapr avatar robomaster-shl avatar roboxxltd avatar wslllou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

wolfvision's Issues

Could NOT find Threads (missing: Threads_FOUND)

环境变量

名字 版本号
gcc 7.5.0
g++ 7.5.0
cmake 3.20.0
system Ubuntu 18.04.5 LTS
OpenCV 4.4.0
OpenCV_Contrib 4.4.0
GDB 8.1.1

主目录 CMakeLists.txt 部分内容如下:

# Prefer posix threads
set(THREADS_PREFER_PTHREAD_FLAG True)
find_package(Threads REQUIRED)

# Add shared library link to target
target_link_libraries(WolfVision
    PUBLIC
    Threads::Threads
    fmt::fmt-header-only
    ${OpenCV_LIBS}

    PRIVATE
    ${EXTRA_LIBS}
)

编译的时候出现:

CMake Error at /usr/local/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
[build]   Could NOT find Threads (missing: Threads_FOUND)
[build] Call Stack (most recent call first):
[build]   /usr/local/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
[build]   /usr/local/share/cmake-3.20/Modules/FindThreads.cmake:238 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
[build]   CMakeLists.txt:17 (find_package)

[BUG] apt-get E:软件包 xxx 需要重新安装,但是我无法找到对应的安装文件

Describe the bug
apt-get E:软件包 xxx 需要重新安装,但是我无法找到对应的安装文件 解决方法

To Reproduce
Steps to reproduce the behavior:

  1. Open 'WolfVision'
  2. Run sudo bash scripts/autoconfig.sh
  3. See error

Expected behavior
正常来讲是直接下载成功,但无论更换网络,删除重下,仍无法解决

Screenshots
image

Environment (please complete the following information):

  • GCC version: [7.5.0]
  • CMake version: [3.10.0]
  • OpenCV version: [4.4.0]
  • MUC
    Additional context

[BUG] Can't turn on the industrial camera without sudo

Describe the bug
Any files related to industrial cameras must have sudo before they can be executed

To Reproduce
Steps to reproduce the behavior:

  1. Run the demo of the industrial camera or Run the code of WolfVision
  2. You will find that the prompt authority is insufficient

Expected behavior
It should have been easy to run WolfVisual code and open demo of industrial camera

Screenshots

Environment (please complete the following information):

  • GCC version: [7.5.0]
  • CMake version: [3.16.0]
  • OpenCV version: [4.4.0]

Additional context
In general, you will find the following situations:

  • No matter how you start the camera (self-starting file, terminal, vscode), you can't read the camera, and the status value is -16

target_compile_features The compiler feature "cxx_std_20" is not known to

环境变量:

名字 版本号
gcc 7.5.0
g++ 7.5.0
cmake 3.20.0
system Ubuntu 18.04.5 LTS
OpenCV 4.4.0
OpenCV_Contrib 4.4.0
GDB 8.1.1

问题描述:

[build] CMake Error at CMakeLists.txt:128 (target_compile_features):
[build]   target_compile_features The compiler feature "cxx_std_20" is not known to
[build]   CXX compiler
[build] 
[build]   "GNU"
[build] 
[build]   version 7.5.0.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.