1 Star 0 Fork 0

wangqx/respeaker_ros

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt 1.04 KB
一键复制 编辑 原始数据 按行查看 历史
cmake_minimum_required(VERSION 2.8.3)
project(respeaker_ros)
find_package(catkin REQUIRED COMPONENTS
catkin_virtualenv
dynamic_reconfigure)
if ($ENV{ROS_PYTHON_VERSION} EQUAL 2)
find_package(catkin_virtualenv REQUIRED)
else()
message(WARNING "catkin_virtualenv does not currently support python3"
"you need to install python dependencies manually by running:\n"
"roscd respeaker_ros && pip install -r requirements.txt")
endif()
generate_dynamic_reconfigure_options(
cfg/Respeaker.cfg)
catkin_package()
if (catkin_virtualenv_FOUND)
catkin_generate_virtualenv()
endif()
catkin_install_python(
PROGRAMS
scripts/respeaker_node.py
scripts/speech_to_text.py
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
install(DIRECTORY scripts launch
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
USE_SOURCE_PERMISSIONS)
install(FILES requirements.txt
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
if (CATKIN_ENABLE_TESTING)
catkin_add_nosetests(test/test_installed.py
DEPENDENCIES ${PROJECT_NAME}_generate_virtualenv)
endif()
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wangqiongxia/respeaker_ros.git
git@gitee.com:wangqiongxia/respeaker_ros.git
wangqiongxia
respeaker_ros
respeaker_ros
master

搜索帮助