Skip to content

Commit

Permalink
添加 2.x 的工作流
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoxi-scut committed Jul 9, 2024
1 parent 6b88501 commit 28cff6a
Show file tree
Hide file tree
Showing 10 changed files with 57 additions and 39 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/linux-2.x.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: 2.x in Linux

on:
push:
branches:
- 2.x
pull_request:
branches:
- 2.x

jobs:
minimal-support-x86_64:
uses: cv-rmvl/ci-workflow/.github/workflows/rmvl-lowest.yml@main
gcc12-support-x86_64:
uses: cv-rmvl/ci-workflow/.github/workflows/rmvl-u22.yml@main
gcc14-support-x86_64:
uses: cv-rmvl/ci-workflow/.github/workflows/rmvl-u24.yml@main
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

**机器人控制与视觉库**

| 编译器 | OpenCV | onnxruntime | open62541 | 工作流状态 |
| :---------------------------------------: | :-------------------------: | :----------------------------: | :-------------------------: | :----------------------------------------------------------: |
| GCC 7.5.0<br />GCC 12.3.0<br />GCC 14.0.1 | 4.2.0<br />4.8.0<br />4.9.0 | 1.10.0<br />1.12.0<br />1.18.1 | 1.3.8<br />1.3.8<br />1.4.0 | [![1.x in Linux](https://github.com/cv-rmvl/rmvl/actions/workflows/linux-1.x.yml/badge.svg)](https://github.com/cv-rmvl/rmvl/actions/workflows/linux-1.x.yml) |
| 分支 | 编译器 | OpenCV | onnxruntime | open62541 | 工作流状态 |
| :----: | :---------------------------------------: | :-------------------------: | :----------------------------: | :-------------------------: | :----------------------------------------------------------: |
| master | GCC 7.5.0<br />GCC 12.3.0<br />GCC 14.0.1 | 4.2.0<br />4.8.0<br />4.9.0 | 1.10.0<br />1.12.0<br />1.18.1 | 1.3.8<br />1.3.8<br />1.4.0 | [![1.x in Linux](https://github.com/cv-rmvl/rmvl/actions/workflows/linux-1.x.yml/badge.svg)](https://github.com/cv-rmvl/rmvl/actions/workflows/linux-1.x.yml) |
| 2.x | GCC 7.5.0<br />GCC 12.3.0<br />GCC 14.0.1 | 4.2.0<br />4.8.0<br />4.9.0 | 1.10.0<br />1.12.0<br />1.18.1 | 1.3.8<br />1.3.8<br />1.4.0 | [![2.x in Linux](https://github.com/cv-rmvl/rmvl/actions/workflows/linux-2.x.yml/badge.svg)](https://github.com/cv-rmvl/rmvl/actions/workflows/linux-2.x.yml) |

RMVL 最初是面向 RoboMaster 赛事的视觉库,现在此之上逐步完善有关基础算法、机器视觉、通信的功能,旨在打造适用范围广、使用简洁、架构统一、功能强大的视觉控制一体库。

Expand Down
12 changes: 6 additions & 6 deletions modules/algorithm/include/rmvl/algorithm/datastruct.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
namespace rm
{

//! @addtogroup core
//! @addtogroup algorithm
//! @{
//! @defgroup core_datastruct 数据结构
//! @defgroup algorithm_datastruct 数据结构
//! @{
//! @brief 包含自定义的容器适配器以及其余数据结构
//! @} core_datastruct
//! @} core
//! @} algorithm_datastruct
//! @} algorithm

//! @addtogroup core_datastruct
//! @addtogroup algorithm_datastruct
//! @{

/**
Expand Down Expand Up @@ -316,6 +316,6 @@ class UnionFind
}
};

//! @} core_datastruct
//! @} algorithm_datastruct

} // namespace rm
4 changes: 2 additions & 2 deletions modules/algorithm/include/rmvl/algorithm/ew_topsis.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
namespace rm
{

//! @addtogroup core
//! @addtogroup algorithm
//! @{

/**
Expand Down Expand Up @@ -177,6 +177,6 @@ class EwTopsis
}
};

//! @}
//! @} algorithm

} // namespace rm
12 changes: 6 additions & 6 deletions modules/algorithm/include/rmvl/algorithm/kalman.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@

#include <opencv2/core.hpp>

//! @addtogroup core
//! @addtogroup algorithm
//! @{
//! @defgroup core_kalman 卡尔曼滤波模块
//! @defgroup algorithm_kalman 卡尔曼滤波模块
//! @{
//! @brief 使用 `cv::Matx` 改写的轻量级卡尔曼滤波和扩展卡尔曼滤波模块
//! @brief
Expand All @@ -26,13 +26,13 @@
//! 来实现 KF 和 EKF 的功能,以达到轻量化的目的。
//! @brief
//! - 相关知识点可参考说明文档 @ref tutorial_modules_kalman 以及 @ref tutorial_modules_ekf
//! @} core_kalman
//! @} core
//! @} algorithm_kalman
//! @} algorithm

namespace rm
{

//! @addtogroup core_kalman
//! @addtogroup algorithm_kalman
//! @{

/**
Expand Down Expand Up @@ -353,6 +353,6 @@ using EKF84d = ExtendedKalmanFilter<double, 8U, 4U>; //!< 8 × 4 扩展卡尔曼
using EKF94f = ExtendedKalmanFilter<float, 9U, 4U>; //!< 9 × 4 扩展卡尔曼滤波器
using EKF94d = ExtendedKalmanFilter<double, 9U, 4U>; //!< 9 × 4 扩展卡尔曼滤波器

//! @} kalman
//! @} algorithm_kalman

} // namespace rm
4 changes: 2 additions & 2 deletions modules/algorithm/include/rmvl/algorithm/math.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
namespace rm
{

//! @addtogroup core
//! @addtogroup algorithm
//! @{

// --------------------【结构、类型、常量定义】--------------------
Expand Down Expand Up @@ -542,6 +542,6 @@ inline std::vector<T> &operator/=(std::vector<T> &vec, T val)
return vec;
}

//! @} core
//! @} algorithm

} // namespace rm
20 changes: 10 additions & 10 deletions modules/algorithm/include/rmvl/algorithm/numcal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,22 @@
#include <generator>
#endif

//! @addtogroup core
//! @addtogroup algorithm
//! @{
//! @defgroup core_numcal 数值计算模块
//! @defgroup algorithm_numcal 数值计算模块
//! @{
//! @brief 包含函数插值、曲线拟合、非线性方程(组)数值解、常微分方程数值解等数值计算算法
//! @} core_numcal
//! @defgroup core_optimal 最优化算法库
//! @} algorithm_numcal
//! @defgroup algorithm_optimal 最优化算法库
//! @{
//! @brief 包含一维函数最小值搜索、无约束多维函数最小值搜索等最优化算法
//! @} core_optimal
//! @} core
//! @} algorithm_optimal
//! @} algorithm

namespace rm
{

//! @addtogroup core_numcal
//! @addtogroup algorithm_numcal
//! @{

//! N 次多项式
Expand Down Expand Up @@ -305,9 +305,9 @@ class RungeKutta4 : public RungeKutta
RungeKutta4(const Odes &fs);
};

//! @} core_numcal
//! @} algorithm_numcal

//! @addtogroup core_optimal
//! @addtogroup algorithm_optimal
//! @{

//! 一元函数
Expand Down Expand Up @@ -419,6 +419,6 @@ std::pair<std::vector<double>, double> fmincon(FuncNd func, const std::vector<do
*/
std::vector<double> lsqnonlin(const FuncNds &funcs, const std::vector<double> &x0, const OptimalOptions &options = {});

//! @} core_optimal
//! @} algorithm_optimal

} // namespace rm
12 changes: 6 additions & 6 deletions modules/algorithm/include/rmvl/algorithm/pretreat.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
namespace rm
{

//! @addtogroup core
//! @addtogroup algorithm
//! @{
//! @defgroup core_pretreat 图像预处理模块
//! @defgroup algorithm_pretreat 图像预处理模块
//! @{
//! @brief 提供了二值化等图像预处理功能
//! @} core_pretreat
//! @} core
//! @} algorithm_pretreat
//! @} algorithm

//! @addtogroup core_pretreat
//! @addtogroup algorithm_pretreat
//! @{

//! 像素通道枚举
Expand Down Expand Up @@ -60,6 +60,6 @@ cv::Mat binary(cv::Mat src, PixChannel ch1, PixChannel ch2, uint8_t threshold);
*/
cv::Mat binary(cv::Mat src, uint8_t threshold);

//! @} core_pretreat
//! @} algorithm_pretreat

} // namespace rm
4 changes: 2 additions & 2 deletions modules/algorithm/include/rmvl/algorithm/transform.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
namespace rm
{

//! @addtogroup core
//! @addtogroup algorithm
//! @{

//! 欧拉角转轴枚举
Expand Down Expand Up @@ -105,6 +105,6 @@ inline cv::Matx<Tp, 3, 3> euler2Mat(Tp val, EulerAxis axis)
}
}

//! @} core
//! @} algorithm

} // namespace rm
4 changes: 2 additions & 2 deletions modules/core/include/rmvl/core/version.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

#pragma once

#define RMVL_VERSION_MAJOR 1
#define RMVL_VERSION_MINOR 4
#define RMVL_VERSION_MAJOR 2
#define RMVL_VERSION_MINOR 0
#define RMVL_VERSION_PATCH 0
#define RMVL_VERSION_STATUS "-dev"

Expand Down

0 comments on commit 28cff6a

Please sign in to comment.