《Makani 项目安装与配置指南》
makani Makani was a project to develop a commercial-scale airborne wind turbine, culminating in a flight test of the Makani M600 off the coast of Norway. All Makani software has now been open-sourced. This repository contains the working Makani flight simulator, controller (autopilot), visualizer, and command center flight monitoring tools. Additionally, almost all avionics firmware is also included, albeit potentially not in a buildable state, due to the removal of some third-party proprietary code. We hope that this code will be inspirational and useful to the kite-based windpower and wider communities.
项目地址: https://gitcode.com/gh_mirrors/ma/makani
1. 项目基础介绍
Makani 项目是由 Google 的子公司 Makani Power 开发的一个商业化规模的空中风力涡轮机项目。该项目旨在利用风筝原理捕捉风能,并通过电力线将能量传输回地面。Makani M600 在挪威沿岸进行了飞行测试,目前所有的 Makani 软件已经开源。开源的软件包括工作飞行模拟器、控制器(自动驾驶仪)、可视化工具以及指挥中心飞行监控工具。
该项目主要使用的编程语言是 Python 和 C++,同时涉及到一些硬件相关的嵌入式编程。
2. 项目使用的关键技术和框架
- 飞行控制算法:用于控制风筝的飞行路径和稳定性。
- 模拟器:用于模拟风筝的飞行情况,以便于开发和测试。
- 可视化工具:用于展示模拟或实际飞行中的风筝状态。
- 自动驾驶仪:控制风筝的飞行,响应地面指挥中心的指令。
- 配置系统:使用 Python 编写的配置系统,生成 JSON 字典,指定所有系统、控制器和模拟参数。
- 数据库:存储气动数据、皮托管校准表等数据。
- OpenGL:用于可视化工具的图形渲染。
3. 项目安装和配置的准备工作及详细步骤
准备工作
- 确保您的系统为 Linux,推荐使用 Debian Stretch 发行版。
- 安装 Docker(可选,用于简化环境配置)。
安装步骤
使用 Docker
- 克隆项目仓库到本地:
git clone https://github.com/google/makani.git
- 编译 Docker 镜像:
cd makani
./docker_build.sh
- 运行 Docker 容器:
./docker_run.sh
不使用 Docker(原生或虚拟机环境)
- 安装必要的依赖包:
cd makani/lib/scripts/install
./install_packages.sh
- 刷新环境变量:
source ~/.bashrc
- 编译项目:
cd ${MAKANI_HOME}
./bbuild_x86
- 测试编译结果:
./btest_all
完成以上步骤后,您就可以开始使用 Makani 项目进行开发了。请注意,详细的编译和运行选项可以在项目的 README 文件中找到。
makani Makani was a project to develop a commercial-scale airborne wind turbine, culminating in a flight test of the Makani M600 off the coast of Norway. All Makani software has now been open-sourced. This repository contains the working Makani flight simulator, controller (autopilot), visualizer, and command center flight monitoring tools. Additionally, almost all avionics firmware is also included, albeit potentially not in a buildable state, due to the removal of some third-party proprietary code. We hope that this code will be inspirational and useful to the kite-based windpower and wider communities.
项目地址: https://gitcode.com/gh_mirrors/ma/makani
创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考