carla-apollo icon indicating copy to clipboard operation
carla-apollo copied to clipboard

Missing files when building proto

Open henryJhonOt opened this issue 3 years ago • 1 comments

Hello, I exactly followed the procedures in readme.md and failed with no module named carla_bridge.carla_proto.carla_geometry_pb2 when python carla_cyber_bridge/bridge.py. 0f2504686a17d66a583c41a9c0da4d4

So I checked the following directories, /apollo/cyber/proto/ in carla-cyber container and carla-apollo/carla_proto/proto/ in terminial. What I found: In /apollo/cyber/proto/ in carla-cyber container, all the imports in xxx.proto are directing to wrong paths, So I corrected all of them to have them work properly. Here is an example: image Thus, I have successfully built /apollo/cyber/proto/. image

In carla-apollo/carla_proto/proto/ in terminial, I found many imports from modules however there is no such a directory.

a7194996a801ef9b8cab9b82784cf8d

henryJhonOt avatar May 11 '22 06:05 henryJhonOt

Hello, I exactly followed the procedures in readme.md and failed with no module named carla_bridge.carla_proto.carla_geometry_pb2 when python carla_cyber_bridge/bridge.py. 0f2504686a17d66a583c41a9c0da4d4

So I checked the following directories, /apollo/cyber/proto/ in carla-cyber container and carla-apollo/carla_proto/proto/ in terminial. What I found: In /apollo/cyber/proto/ in carla-cyber container, all the imports in xxx.proto are directing to wrong paths, So I corrected all of them to have them work properly. Here is an example: image Thus, I have successfully built /apollo/cyber/proto/. image

In carla-apollo/carla_proto/proto/ in terminial, I found many imports from modules however there is no such a directory.

![a7194996a801ef9b8cab9b82784cf8d](https://user-images.githubusercontent.com/46344518/167783133-cc875399-433d-4ad0-af55-c8d029119de0.png

那些文件都别改,在最初始遇到no module时进入carla-cyber的容器内,运行 rm -rf /root/.cache/* ./apollo.sh build_cyber opt 即可

uggggg avatar Nov 10 '22 06:11 uggggg