日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

[转] ROS cmake_modules

發布時間:2024/4/18 编程问答 25 豆豆
生活随笔 收集整理的這篇文章主要介紹了 [转] ROS cmake_modules 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

原文鏈接:見ROS官方github
謝謝作者!

cmake_modules

A common repository for CMake Modules which are not distributed with CMake but are commonly used by ROS packages.

See the CONTRIBUTING.md file in this repository before submitting pull requests for new modules.

ROS Distros

This repository has branches for minor releases (0.2-devel, 0.3-devel, 0.4-devel, etc…) and they map to specific ROS distributions like so:

  • 0.2-devel:
    • ROS Groovy
  • 0.3-devel:
    • ROS Hydro
    • ROS Indigo
  • 0.4-devel:
    • ROS Jade
    • ROS Kinetic
    • ROS Lunar
    • ROS Melodic
  • 0.5-devel:
    • ROS Noetic

This mapping will be kept up-to-date in the README.md on the default branch.

In the future, new minor releases will increment by the number of ROS distros that are skipped.
For example, if a custom branch is needed for ROS Lunar, then it will be 0.6-devel and not 0.5-devel, so that 0.5-devel maybe used by Kinetic in the future if necessary.

Provided Modules

  • NumPy is the fundamental package for scientific computing with Python.
  • TBB lets you easily write parallel C++ programs that take full advantage of multicore performance.
  • TinyXML is a simple, small, C++ XML parser.
  • TinyXML2 is a simple, small, C++ XML parser, continuation of TinyXML.
  • Xenomai is a real-time development framework cooperating with the Linux kernel.
  • GSL is a numerical library for C and C++ programmers.
  • Gflags is a C++ library that implements commandline flags processing with the ability to define flags in the source file in which they are used.
  • [Deprecated] Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.
  • Usage

    To use the CMake modules provided by this catkin package, you must <build_depend> on it in your package.xml, like so:

    <?xml version="1.0"?> <package><!-- ... --><build_depend>cmake_modules</build_depend> </package>

    Then you must find_package it in your CMakeLists.txt along with your other catkin build dependencies:

    find_package(catkin REQUIRED COMPONENTS ... cmake_modules ...)

    OR by find_package'ing it directly:

    find_package(cmake_modules REQUIRED)

    After the above find_package invocations, the modules provided by cmake_modules will be available in your CMAKE_MODULE_PATH to be found. For example you can find TinyXML by using the following:

    find_package(TinyXML REQUIRED)

    Lookup sheet

    Eigen [Deprecated]
    find_package(Eigen REQUIRED)
    NumPY
    find_package(NUMPY REQUIRED)
    TBB
    find_package(TBB REQUIRED)
    TinyXML
    find_package(TinyXML REQUIRED)
    Xenomai
    find_package(Xenomai REQUIRED)
    FindGSL
    find_package(GSL REQUIRED)
    Gflags
    find_package(Gflags REQUIRED) 與50位技術專家面對面20年技術見證,附贈技術全景圖

    總結

    以上是生活随笔為你收集整理的[转] ROS cmake_modules的全部內容,希望文章能夠幫你解決所遇到的問題。

    如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。