代码拉取完成,页面将自动刷新
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()
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。