代码拉取完成,页面将自动刷新
from building import *
import rtconfig
# get current directory
cwd = GetCurrentDir()
# The set of source files associated with this SConscript file.
src = Glob('src/*.cpp')
path = [cwd + '/']
path += [cwd + '/port']
path += [cwd + '/src']
LOCAL_CCFLAGS = ''
if GetDepend('ROSSERIAL_USING_HELLO_WORLD_UART'):
src += Glob('examples/hello_world_serial.cpp')
if GetDepend('ROSSERIAL_USING_BLINK_UART'):
src += Glob('examples/blink.cpp')
if GetDepend('ROSSERIAL_USING_BLINK_CLASS_UART'):
src += Glob('examples/blink_class.cpp')
if GetDepend('ROSSERIAL_USING_BUTTON_UART'):
src += Glob('examples/button.cpp')
if GetDepend('ROSSERIAL_USING_PUB_SUB_UART'):
src += Glob('examples/pubsub.cpp')
if GetDepend('ROSSERIAL_USING_LOGGING_UART'):
src += Glob('examples/logging.cpp')
if GetDepend('ROSSERIAL_USING_TF_UART'):
src += Glob('examples/tf.cpp')
if GetDepend('ROSSERIAL_USING_SERVICE_SERVER_UART'):
src += Glob('examples/service_server.cpp')
if GetDepend('ROSSERIAL_USING_SERVICE_CLIENT_UART'):
src += Glob('examples/service_client.cpp')
if GetDepend('ROSSERIAL_USING_HELLO_WORLD_TCP'):
src += Glob('examples/hello_world_tcp.cpp')
if GetDepend('ROSSERIAL_USING_KOBUKI_CONTROL'):
src += Glob('examples/kobuki_control.cpp')
if rtconfig.CROSS_TOOL == 'gcc':
LOCAL_CCFLAGS += ' -std=c99'
group = DefineGroup('rosserial', src, depend = ['PKG_USING_ROSSERIAL'], CPPPATH = path, LOCAL_CCFLAGS = LOCAL_CCFLAGS)
Return('group')
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。