当前位置: 首页 > news >正文

x86_64 ansible 源码编译安装

源码

GitHub - ansible/ansible: Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com.

编译安装过程记录

依赖

yeqiang@yeqiang-MS-7B23:~/Downloads/src/ansible$ python3 -m pip install -v -r requirements.txt 
Using pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting jinja2>=3.0.0Using cached https://pypi.tuna.tsinghua.edu.cn/packages/bc/c3/f068337a370801f372f2f8f6bad74a5c140f6fda3d9de154052708dd3c65/Jinja2-3.1.2-py3-none-any.whl (133 kB)
Requirement already satisfied: PyYAML>=5.1 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 7)) (5.4.1)
Requirement already satisfied: cryptography in /home/yeqiang/.local/lib/python3.10/site-packages (from -r requirements.txt (line 8)) (36.0.2)
Collecting packagingUsing cached https://pypi.tuna.tsinghua.edu.cn/packages/ab/c3/57f0601a2d4fe15de7a553c00adbc901425661bf048f2a22dfc500caf121/packaging-23.1-py3-none-any.whl (48 kB)
Collecting resolvelib<1.1.0,>=0.5.3Downloading https://pypi.tuna.tsinghua.edu.cn/packages/d2/fc/e9ccf0521607bcd244aa0b3fbd574f71b65e9ce6a112c83af988bbbe2e23/resolvelib-1.0.1-py2.py3-none-any.whl (17 kB)
Collecting MarkupSafe>=2.0Using cached https://pypi.tuna.tsinghua.edu.cn/packages/12/b3/d9ed2c0971e1435b8a62354b18d3060b66c8cb1d368399ec0b9baa7c0ee5/MarkupSafe-2.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Requirement already satisfied: cffi>=1.12 in /home/yeqiang/.local/lib/python3.10/site-packages (from cryptography->-r requirements.txt (line 8)) (1.15.1)
Requirement already satisfied: pycparser in /home/yeqiang/.local/lib/python3.10/site-packages (from cffi>=1.12->cryptography->-r requirements.txt (line 8)) (2.21)
Installing collected packages: resolvelib, packaging, MarkupSafe, jinja2
Successfully installed MarkupSafe-2.1.3 jinja2-3.1.2 packaging-23.1 resolvelib-1.0.1

构建

yeqiang@yeqiang-MS-7B23:~/Downloads/src/ansible$ python3 setup.py build
running build
running build_py
creating build
creating build/lib
creating build/lib/ansible
...copying test/lib/ansible_test/_util/controller/sanity/validate-modules/validate_modules/module_args.py -> build/lib/ansible_test/_util/controller/sanity/validate-modules/validate_modules
copying test/lib/ansible_test/_util/controller/sanity/validate-modules/validate_modules/schema.py -> build/lib/ansible_test/_util/controller/sanity/validate-modules/validate_modules
copying test/lib/ansible_test/_util/controller/sanity/validate-modules/validate_modules/utils.py -> build/lib/ansible_test/_util/controller/sanity/validate-modules/validate_modules
creating build/lib/ansible_test/_util/controller/sanity/yamllint/config
copying test/lib/ansible_test/_util/controller/sanity/yamllint/config/default.yml -> build/lib/ansible_test/_util/controller/sanity/yamllint/config
copying test/lib/ansible_test/_util/controller/sanity/yamllint/config/modules.yml -> build/lib/ansible_test/_util/controller/sanity/yamllint/config
copying test/lib/ansible_test/_util/controller/sanity/yamllint/config/plugins.yml -> build/lib/ansible_test/_util/controller/sanity/yamllint/config
creating build/lib/ansible_test/config
copying test/lib/ansible_test/config/cloud-config-aws.ini.template -> build/lib/ansible_test/config
copying test/lib/ansible_test/config/cloud-config-azure.ini.template -> build/lib/ansible_test/config
copying test/lib/ansible_test/config/cloud-config-cloudscale.ini.template -> build/lib/ansible_test/config
copying test/lib/ansible_test/config/cloud-config-cs.ini.template -> build/lib/ansible_test/config
copying test/lib/ansible_test/config/cloud-config-gcp.ini.template -> build/lib/ansible_test/config
copying test/lib/ansible_test/config/cloud-config-hcloud.ini.template -> build/lib/ansible_test/config
copying test/lib/ansible_test/config/cloud-config-opennebula.ini.template -> build/lib/ansible_test/config
copying test/lib/ansible_test/config/cloud-config-openshift.kubeconfig.template -> build/lib/ansible_test/config
copying test/lib/ansible_test/config/cloud-config-scaleway.ini.template -> build/lib/ansible_test/config
copying test/lib/ansible_test/config/cloud-config-vcenter.ini.template -> build/lib/ansible_test/config
copying test/lib/ansible_test/config/cloud-config-vultr.ini.template -> build/lib/ansible_test/config
copying test/lib/ansible_test/config/inventory.networking.template -> build/lib/ansible_test/config
copying test/lib/ansible_test/config/inventory.winrm.template -> build/lib/ansible_test/config
copying test/lib/ansible_test/config/config.yml -> build/lib/ansible_test/config
running build_scripts
creating build/scripts-3.10
copying and adjusting bin/ansible-test -> build/scripts-3.10
changing mode of build/scripts-3.10/ansible-test from 664 to 775

安装

yeqiang@yeqiang-MS-7B23:~/Downloads/src/ansible$ sudo python3 setup.py install
...byte-compiling build/bdist.linux-x86_64/egg/ansible_test/_util/controller/sanity/integration-aliases/yaml_to_json.py to yaml_to_json.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/ansible_test/_util/controller/sanity/validate-modules/validate.py to validate.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/ansible_test/_util/controller/sanity/validate-modules/validate_modules/__init__.py to __init__.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/ansible_test/_util/controller/sanity/validate-modules/validate_modules/main.py to main.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/ansible_test/_util/controller/sanity/validate-modules/validate_modules/module_args.py to module_args.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/ansible_test/_util/controller/sanity/validate-modules/validate_modules/schema.py to schema.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/ansible_test/_util/controller/sanity/validate-modules/validate_modules/utils.py to utils.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/ansible_test/_util/controller/sanity/yamllint/yamllinter.py to yamllinter.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/ansible_test/_util/controller/sanity/pylint/plugins/deprecated.py to deprecated.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/ansible_test/_util/controller/sanity/pylint/plugins/string_format.py to string_format.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/ansible_test/_util/controller/sanity/pylint/plugins/unwanted.py to unwanted.cpython-310.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
installing scripts to build/bdist.linux-x86_64/egg/EGG-INFO/scripts
running install_scripts
running build_scripts
creating build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-3.10/ansible-test -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/ansible-test to 775
copying lib/ansible_core.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying lib/ansible_core.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying lib/ansible_core.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying lib/ansible_core.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying lib/ansible_core.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
copying lib/ansible_core.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying lib/ansible_core.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
creating dist
creating 'dist/ansible_core-2.16.0.dev0-py3.10.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing ansible_core-2.16.0.dev0-py3.10.egg
creating /usr/local/lib/python3.10/dist-packages/ansible_core-2.16.0.dev0-py3.10.egg
Extracting ansible_core-2.16.0.dev0-py3.10.egg to /usr/local/lib/python3.10/dist-packages
Adding ansible-core 2.16.0.dev0 to easy-install.pth file
Installing ansible-test script to /usr/local/bin
Installing ansible script to /usr/local/bin
Installing ansible-config script to /usr/local/bin
Installing ansible-connection script to /usr/local/bin
Installing ansible-console script to /usr/local/bin
Installing ansible-doc script to /usr/local/bin
Installing ansible-galaxy script to /usr/local/bin
Installing ansible-inventory script to /usr/local/bin
Installing ansible-playbook script to /usr/local/bin
Installing ansible-pull script to /usr/local/bin
Installing ansible-vault script to /usr/local/binInstalled /usr/local/lib/python3.10/dist-packages/ansible_core-2.16.0.dev0-py3.10.egg
Processing dependencies for ansible-core==2.16.0.dev0
Searching for resolvelib<1.1.0,>=0.5.3
Reading https://pypi.org/simple/resolvelib/
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning:  is an invalid version and will not be supported in a future releasewarnings.warn(
Downloading https://files.pythonhosted.org/packages/d2/fc/e9ccf0521607bcd244aa0b3fbd574f71b65e9ce6a112c83af988bbbe2e23/resolvelib-1.0.1-py2.py3-none-any.whl#sha256=d2da45d1a8dfee81bdd591647783e340ef3bcb104b54c383f70d422ef5cc7dbf
Best match: resolvelib 1.0.1
Processing resolvelib-1.0.1-py2.py3-none-any.whl
Installing resolvelib-1.0.1-py2.py3-none-any.whl to /usr/local/lib/python3.10/dist-packages
Adding resolvelib 1.0.1 to easy-install.pth fileInstalled /usr/local/lib/python3.10/dist-packages/resolvelib-1.0.1-py3.10.egg
Searching for packaging
Reading https://pypi.org/simple/packaging/
Downloading https://files.pythonhosted.org/packages/ab/c3/57f0601a2d4fe15de7a553c00adbc901425661bf048f2a22dfc500caf121/packaging-23.1-py3-none-any.whl#sha256=994793af429502c4ea2ebf6bf664629d07c1a9fe974af92966e4b8d2df7edc61
Best match: packaging 23.1
Processing packaging-23.1-py3-none-any.whl
Installing packaging-23.1-py3-none-any.whl to /usr/local/lib/python3.10/dist-packages
Adding packaging 23.1 to easy-install.pth fileInstalled /usr/local/lib/python3.10/dist-packages/packaging-23.1-py3.10.egg
Searching for jinja2>=3.0.0
Reading https://pypi.org/simple/jinja2/
Downloading https://files.pythonhosted.org/packages/bc/c3/f068337a370801f372f2f8f6bad74a5c140f6fda3d9de154052708dd3c65/Jinja2-3.1.2-py3-none-any.whl#sha256=6088930bfe239f0e6710546ab9c19c9ef35e29792895fed6e6e31a023a182a61
Best match: Jinja2 3.1.2
Processing Jinja2-3.1.2-py3-none-any.whl
Installing Jinja2-3.1.2-py3-none-any.whl to /usr/local/lib/python3.10/dist-packages
Adding Jinja2 3.1.2 to easy-install.pth fileInstalled /usr/local/lib/python3.10/dist-packages/Jinja2-3.1.2-py3.10.egg
Searching for MarkupSafe>=2.0
Reading https://pypi.org/simple/MarkupSafe/
Downloading https://files.pythonhosted.org/packages/12/b3/d9ed2c0971e1435b8a62354b18d3060b66c8cb1d368399ec0b9baa7c0ee5/MarkupSafe-2.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl#sha256=65c1a9bcdadc6c28eecee2c119465aebff8f7a584dd719facdd9e825ec61ab52
Best match: MarkupSafe 2.1.3
Processing MarkupSafe-2.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Installing MarkupSafe-2.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl to /usr/local/lib/python3.10/dist-packages
Adding MarkupSafe 2.1.3 to easy-install.pth fileInstalled /usr/local/lib/python3.10/dist-packages/MarkupSafe-2.1.3-py3.10-linux-x86_64.egg
Searching for cryptography==3.4.8
Best match: cryptography 3.4.8
Adding cryptography 3.4.8 to easy-install.pth fileUsing /usr/lib/python3/dist-packages
Searching for PyYAML==5.4.1
Best match: PyYAML 5.4.1
Adding PyYAML 5.4.1 to easy-install.pth fileUsing /usr/lib/python3/dist-packages
Finished processing dependencies for ansible-core==2.16.0.dev0

相关文章:

x86_64 ansible 源码编译安装

源码 GitHub - ansible/ansible: Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a languag…...

数据结构学习系列之顺序表的两种插入方式

方式1&#xff1a;在顺序表末端插入数据元素&#xff0c;代码如下&#xff1a;示例代码&#xff1a; int insert_seq_list_1(list_t *seq_list,int data){if(NULL seq_list){printf("入参为NULL\n");return -1;}if(N seq_list->count){printf("顺序表已满…...

Matlab/Python教程系列 | 根据目录下的已有图片制作视频(动画)

MATLAB和Python的编程教程: 根据目录下的已有图片制作视频(动画) 注1:本文系“MATLAB/Python编程教程”系列之一,致力于使用Python和Matlab实现特定的功能。本次要实现的功能是:根据目录下的已有图片制作视频(动画)。 在这个教程中,我们将一起学习如何使用MATLAB和Python编…...

Pyecharts数据可视化(一)

目录 1.Pyecharts简介 2.Pyecharts的常用方法 3.Pyecharts绘制柱状图 3.1 绘制并列柱状图 3.2 绘制水平直方图 1.Pyecharts简介 Pyecharts是一个用于创建交互式图表的Python库。它基于Echarts&#xff0c;一个强大的JavaScript图表库&#xff0c;Pyecharts允许Python开发者…...

stable diffusion实践操作-提示词-图片结构

系列文章目录 stable diffusion实践操作-提示词 文章目录 系列文章目录前言一、提示词汇总1.1 图片结构11.2 图片结构21.3 图片结构3 二、总结 前言 本文主要收纳总结了提示词-图片结构。 一、提示词汇总 1.1 图片结构1 StylesArtistshudson river school哈得逊河学派alpho…...

程序员自由创业周记#2:前期准备

感恩 上次公开了创业的决定后&#xff0c;得到了很多亲朋好友和陌生朋友的鼓励或支持&#xff0c;以不同的形式&#xff0c;感动之情溢于言表。这些都会记在心里&#xff0c;大恩不言谢~ 创业方向 笔者是一名资质平平的iOS开发程序猿&#xff0c;创业项目也就是开发App卖&am…...

Elasticsearch实战(四):Springboot实现Elasticsearch指标聚合与下钻分析open-API

文章目录 系列文章索引一、指标聚合与分类1、什么是指标聚合&#xff08;Metric&#xff09;2、Metric聚合分析分为单值分析和多值分析两类3、概述 二、单值分析API设计1、Avg(平均值)&#xff08;1&#xff09;对所有文档进行avg聚合&#xff08;DSL&#xff09;&#xff08;2…...

Opencv图像暗通道调优

基于雾天退化模型的去雾算法&#xff0c;Opencv图像暗通道调优&#xff0c;&#xff08;清华版代码&#xff09;对普通相片也有较好的调优效果&#xff0c;相片更通透。 结合代码实际运行效果、算法理论模型、实际代码。我个人理解&#xff0c;实际效果是对图像的三个颜色通道…...

怎样来实现流量削峰方案

削峰从本质上来说就是更多地延缓用户请求&#xff0c;以及层层过滤用户的访问需求&#xff0c;遵从“最后落地到数据库的请求数要尽量少”的原则。 1.消息队列解决削峰 要对流量进行削峰&#xff0c;最容易想到的解决方案就是用消息队列来缓冲瞬时流量&#xff0c;把同步的直…...

git status搜索.c和.h后缀及git新建分支

git status搜索.c和.h后缀及git新建分支 1.脚本代码2.git新建分支(1)创建新分支(2)删除本地分支(3)删除远端分支(4)合并分支3.指定历史版本创建分支1.脚本代码 $ git status | grep "\.[hc]$"$ 是行尾的意思 \b 就是用在你匹配整个单词的时候。 如果不是整个…...

【配置环境】Visual Studio 配置 OpenCV

目录 一&#xff0c;环境 二&#xff0c;下载和配置 OpenCV 三&#xff0c;创建一个 Visual Studio 项目 四&#xff0c;配置 Visual Studio 项目 五&#xff0c;编写并编译 OpenCV 程序 六&#xff0c;解决CMake编译OpenCV报的错误 一&#xff0c;环境 Windows 11 家庭中…...

java.sql.SQLException: com.mysql.cj.jdbc.Driver

这篇文章分享一下Springboot整合Elasticsearch时遇到的一个问题&#xff0c;项目正常启动&#xff0c;但是查询数据库的时候发生了一个异常java.sql.SQLException: com.mysql.cj.jdbc.Driver java.sql.SQLException: com.mysql.cj.jdbc.Driverat com.alibaba.druid.util.JdbcU…...

React笔记(四)类组件(2)

一、类组件的props属性 组件中的数据&#xff0c;除了组件内部的状态使用state之外&#xff0c;状态也可以来自组件的外部&#xff0c;外部的状态使用类组件实例上另外一个属性来表示props 1、基本的使用 在components下创建UserInfo组件 import React, { Component } from…...

点云从入门到精通技术详解100篇-点云信息编码

目录 前言 研究发展现状 点云几何信息压缩 点云属性信息压缩 点云压缩算法的相关技术...

Python爬虫解析网页内容

Python爬虫是一种自动化程序&#xff0c;可以模拟人类用户访问网页&#xff0c;获取网页中的内容。爬虫在信息采集、数据分析和网络监测等领域有着广泛的应用。在爬虫过程中&#xff0c;解析网页内容是非常重要的一步。 Python提供了许多强大的库和工具&#xff0c;用于解析网…...

从零开始学习Python爬虫技术,并应用于市场竞争情报收集

在当今信息爆炸的时代&#xff0c;市场竞争情报收集对企业的发展至关重要。Python爬虫技术可以帮助我们高效地收集网络上的有价值信息。本文将从零开始介绍Python爬虫技术&#xff0c;并探讨如何将其应用于市场竞争情报收集。 一、Python爬虫技术基础 安装Python环境 首先&…...

SpringCloudGateway集成SpringDoc CORS问题

SpringCloudGateway集成SpringDoc CORS问题 集成SpringDoc后&#xff0c;在gateway在线文档界面&#xff0c;请求具体的服务接口&#xff0c;报CORS问题 Failed to fetch. Possible Reasons: CORS Network Failure URL scheme must be “http” or “https” for CORS reques…...

国际版阿里云/腾讯云:弹性高性能计算E-HPC入门概述

入门概述 本文介绍E-HPC的运用流程&#xff0c;帮助您快速上手运用弹性高性能核算。 下文以创立集群&#xff0c;在集群中安装GROMACS软件并运转水分子算例进行高性能核算为例&#xff0c;介绍弹性高性能核算的运用流程&#xff0c;帮助您快速上手运用弹性高性能核算。运用流程…...

【博客702】shell flock实现单例模式执行任务

shell flock实现单例模式执行任务 场景 我们需要定时执行一个任务&#xff0c;并且保证每次执行时都需要上一次已经执行完了&#xff0c;即保证同一时间只有一个在运行 示例 假设需要执行的脚本是&#xff1a;ping_and_mtr.sh 创建一个新的脚本来运行你的逻辑脚本&#xff1…...

数据分析基础-数据可视化07-用数据分析讲故事

如何构建⼀个引⼈⼊胜的故事&#xff1f; ⾸先&#xff1a;要想象什么&#xff1f; 可视化什么⽐如何可视化更重要 统计分析&#xff1a;GIGO&#xff08;垃圾输⼊&#xff0c;垃圾输出&#xff09; 在可视化分析环境中&#xff1a; 吉⾼ → 您⽆法从可视化的不适当数据中获…...

docker详细操作--未完待续

docker介绍 docker官网: Docker&#xff1a;加速容器应用程序开发 harbor官网&#xff1a;Harbor - Harbor 中文 使用docker加速器: Docker镜像极速下载服务 - 毫秒镜像 是什么 Docker 是一种开源的容器化平台&#xff0c;用于将应用程序及其依赖项&#xff08;如库、运行时环…...

服务器硬防的应用场景都有哪些?

服务器硬防是指一种通过硬件设备层面的安全措施来防御服务器系统受到网络攻击的方式&#xff0c;避免服务器受到各种恶意攻击和网络威胁&#xff0c;那么&#xff0c;服务器硬防通常都会应用在哪些场景当中呢&#xff1f; 硬防服务器中一般会配备入侵检测系统和预防系统&#x…...

Neo4j 集群管理:原理、技术与最佳实践深度解析

Neo4j 的集群技术是其企业级高可用性、可扩展性和容错能力的核心。通过深入分析官方文档,本文将系统阐述其集群管理的核心原理、关键技术、实用技巧和行业最佳实践。 Neo4j 的 Causal Clustering 架构提供了一个强大而灵活的基石,用于构建高可用、可扩展且一致的图数据库服务…...

相机Camera日志分析之三十一:高通Camx HAL十种流程基础分析关键字汇总(后续持续更新中)

【关注我,后续持续新增专题博文,谢谢!!!】 上一篇我们讲了:有对最普通的场景进行各个日志注释讲解,但相机场景太多,日志差异也巨大。后面将展示各种场景下的日志。 通过notepad++打开场景下的日志,通过下列分类关键字搜索,即可清晰的分析不同场景的相机运行流程差异…...

Mobile ALOHA全身模仿学习

一、题目 Mobile ALOHA&#xff1a;通过低成本全身远程操作学习双手移动操作 传统模仿学习&#xff08;Imitation Learning&#xff09;缺点&#xff1a;聚焦与桌面操作&#xff0c;缺乏通用任务所需的移动性和灵活性 本论文优点&#xff1a;&#xff08;1&#xff09;在ALOHA…...

[ACTF2020 新生赛]Include 1(php://filter伪协议)

题目 做法 启动靶机&#xff0c;点进去 点进去 查看URL&#xff0c;有 ?fileflag.php说明存在文件包含&#xff0c;原理是php://filter 协议 当它与包含函数结合时&#xff0c;php://filter流会被当作php文件执行。 用php://filter加编码&#xff0c;能让PHP把文件内容…...

【Linux】Linux安装并配置RabbitMQ

目录 1. 安装 Erlang 2. 安装 RabbitMQ 2.1.添加 RabbitMQ 仓库 2.2.安装 RabbitMQ 3.配置 3.1.启动和管理服务 4. 访问管理界面 5.安装问题 6.修改密码 7.修改端口 7.1.找到文件 7.2.修改文件 1. 安装 Erlang 由于 RabbitMQ 是用 Erlang 编写的&#xff0c;需要先安…...

Java后端检查空条件查询

通过抛出运行异常&#xff1a;throw new RuntimeException("请输入查询条件&#xff01;");BranchWarehouseServiceImpl.java // 查询试剂交易&#xff08;入库/出库&#xff09;记录Overridepublic List<BranchWarehouseTransactions> queryForReagent(Branch…...

【PX4飞控】mavros gps相关话题分析,经纬度海拔获取方法,卫星数锁定状态获取方法

使用 ROS1-Noetic 和 mavros v1.20.1&#xff0c; 携带经纬度海拔的话题主要有三个&#xff1a; /mavros/global_position/raw/fix/mavros/gpsstatus/gps1/raw/mavros/global_position/global 查看 mavros 源码&#xff0c;来分析他们的发布过程。发现前两个话题都对应了同一…...

ffmpeg(三):处理原始数据命令

FFmpeg 可以直接处理原始音频和视频数据&#xff08;Raw PCM、YUV 等&#xff09;&#xff0c;常见场景包括&#xff1a; 将原始 YUV 图像编码为 H.264 视频将 PCM 音频编码为 AAC 或 MP3对原始音视频数据进行封装&#xff08;如封装为 MP4、TS&#xff09; 处理原始 YUV 视频…...