我编写了一个用于机器人应用程序的模块,该模块提供对机器人特定特征的访问,以及用于使用数据的 python 和 c++ 客户端。使用 setuptools 将 python 客户端捆绑到一个模块中。
(简化的)目录结构如下所示:
<root of git repo>
??? config
? ??? global
? ? ??? <files common to all robots>
? ? ??? ...
? ??? robot1
? ? ??? camera_calibrations
? ? ? ??? cam1.yml
? ? ? ??? cam2.yml
? ? ? ??? cam3.yml
? ? ??? vehicle_params.yaml
? ??? robot2
? ? ??? ...
? ??? ...
??? cpp
? ??? <c++ client>
??? Makefile
??? python
? ??? <namespace> …Run Code Online (Sandbox Code Playgroud)