Closed zsan2023 closed 1 year ago
I met the exact same problem. Hope it will be fixed soon.
你可以把Sim Control关掉再试试。Sim Control会让车完美跟踪planning模块的轨迹,而不是让车根据control模块的输出行动。联合仿真的情况下,Sim Control应该是关闭状态(虽然我的车也有其他问题动不了。。。)
Hi,Only when you only turn on Sim Control, it is related to Apollo, which has nothing to do with Bridge. You can close the Bridge container and only run the Apollo container to see.
关掉了sim control之后车确实不会闪动,但是车不会动。以下是carla_spawn_objects.py的输出:
关掉了sim control之后车确实不会闪动,但是车不会动。以下是carla_spawn_objects.py的输出:
This error is related to the conversion of carla radar messages.,we have fixed it in #85, Please wait for the code to be merged, now you can ignore this error. you can restart by following the steps,and you can observe if there are any other error messages?
车辆不会移动。每当我点击一次“SETUP”,就会弹出一条之前的报错:
E0525 08:53:16.762575 6876 channel_manager.cc:326] [spawn_objects] newly added writer(belongs to node[conti_radar_front])'s message type[apollo.drivers.ContiRadar] does not match the exsited writer(belongs to node[cyber_bridge_node])'s message type[apollo.drivers.PointCloud].
但是车辆是一直没有移动的
This should be MKz Example. You can select this one first, then restart bridge.py and carla_spawn_objects.py. Normally, the default selection here is MKz Example. I don't know why you didn't select it.please refer #102
I solved it by selecting the vehicle model. I didn't select before because I wasn't sure whether it should be selected or not, as I noticed that the demo on the main page actually did not select the vehicle model:
Maybe some instructions on selecting this vehicle model can be added to the page.
finish change to MKZ example and restart , the vehicle still can not move.
i found that everytime when i click "setup",the bridge.py says: and the carla_spawn_objects.py says:
I tried today and met the same problem... So sad. I might go to read the source code and try to find out why.
I tried today and met the same problem... So sad. I might go to read the source code and try to find out why.
hello,do you find out why?
I tried today and met the same problem... So sad. I might go to read the source code and try to find out why.
hello,do you find out why?
我之前的docker环境有一些问题(必须以sudo运行)。现在我重新调整了docker权限,跑通了,车可以动了,但是仍然有这个error信息。这个error讲的是点云和Radar信息不匹配,我猜测可能与其他页面提到的点云转了90度的bug有关。不过目前至少并不影响routing -> planning -> control这个数据流。希望官方尽早修吧。
你也可以看看你的docker是不是有问题,确保在host terminal下可以不用sudo直接运行。
I tried today and met the same problem... So sad. I might go to read the source code and try to find out why.
hello,do you find out why?
我之前的docker环境有一些问题(必须以sudo运行)。现在我重新调整了docker权限,跑通了,车可以动了,但是仍然有这个error信息。这个error讲的是点云和Radar信息不匹配,我猜测可能与其他页面提到的点云转了90度的bug有关。不过目前至少并不影响routing -> planning -> control这个数据流。希望官方尽早修吧。
你也可以看看你的docker是不是有问题,确保在host terminal下可以不用sudo直接运行。
Please pay attention to this pr https://github.com/guardstrikelab/carla_apollo_bridge/pull/100, the problem is being fixed.
finish change to MKZ example and restart , the vehicle still can not move.
你可以试着在modules中手动启动prediction模块,再等几秒看看Module Delay中是否有数据。我今天又遇到车不动的问题,靠这个方法解决了。
大概明后天会依此尝试这些方法,最近太忙了。非常感谢你!
我调整了我的docker权限,但是我发现我的predition模块无法打开,当我打开prediction之后一段时间,它会自己关闭
我发现我的planning,control没有module delay.我觉得怀疑可能是planning/control编译问题?或者是设备问题
Are these two modules planning/control open in the Module controller
You can try to close these three containers and execute them again by readme.txt.
i run them by readme.md. Is readme.txt another file?
I was wrong ,it's readme.md.
my command order is :
the carlasim/carla:0.9.14 container will auto-start when the computer is turned-on.so i do not have to run it by myself.
then i run apollo :
cd apollo bash docker/scripts/dev_start.sh bash docker/scripts/dev_into.sh ./scripts/bootstrap.sh
3.then the bridge:
cd carla_apollo_bridge/docker ./run_docker.sh
docker exec -ti carla_cyber_0.9.14 bash ./apollo.sh build_cyber opt (i have to do this everytime. if not , the bridge.py can not run normaly ) cd /apollo/cyber/carla_bridge python carla_cyber_bridge/bridge.py
then open another terminal:
docker exec -ti carla_cyber_0.9.14 bash cd /apollo/cyber/carla_bridge python carla_spawn_objects/carla_spawn_objects.py
all the commands are above.
i have run this before. do i need to run this command everytime when i start co-simulation?
Under normal circumstances, there is no need to restart the Apollo container, but you are currently not working properly,so you can run again.
when i run ./apollo.sh build_gpu in apollo container, i must add sudo. is that normal?
Here's what my modules like when the car could finally move:
I had the same problem as yours. What I did is as follow:
These steps works for me also after I reboot my system and dockers. This seems to be some problem in the Apollo docker itself. Hope there will be a more robust version soon.
when i run ./apollo.sh build_gpu in apollo container, i must add sudo. is that normal?
For me, sudo is not needed in the docker. Maybe you can try to update or reinstall docker. Or use "sudo chown -R 1000:1000 /apollo" to set the execution privilege (not sure whether this will work).
i will rebuild everything from the start.My environment is in a mess.come back later.
when i run ./apollo.sh build_gpu in apollo container, i must add sudo. is that normal?
If your docker commands require sudo to run, you can avoid it by doing:
sudo usermod -aG docker $USER
sudo gpasswd -a $USER docker
sudo chmod 666 /var/run/docker.sock
systemctl restart docker
问题最终解决了。环境没有任何问题,就是单纯的配置不行。后来我是使用rtx 3090很轻松就跑起来了。麻烦各位了,非常感谢
I tried today and met the same problem... So sad. I might go to read the source code and try to find out why.
hello,do you find out why?
我之前的docker环境有一些问题(必须以sudo运行)。现在我重新调整了docker权限,跑通了,车可以动了,但是仍然有这个error信息。这个error讲的是点云和Radar信息不匹配,我猜测可能与其他页面提到的点云转了90度的bug有关。不过目前至少并不影响routing -> planning -> control这个数据流。希望官方尽早修吧。
你也可以看看你的docker是不是有问题,确保在host terminal下可以不用sudo直接运行。
请问如何设置docker权限
我调整了我的docker权限,但是我发现我的predition模块无法打开,当我打开prediction之后一段时间,它会自己关闭
我也无法打开,请问如何解决
我调整了我的docker权限,但是我发现我的predition模块无法打开,当我打开prediction之后一段时间,它会自己关闭
我也无法打开,请问如何解决
Please describe more details to reproduce your problem.
我调整了我的docker权限,但是我发现我的predition模块无法打开,当我打开prediction之后一段时间,它会自己关闭
我也无法打开,请问如何解决
Please describe more details to reproduce your problem.
the same as the question described before, the bridge is connected but the car cannot move at all, and the prediction cannot open, i have tried the method before, but it cannot work
我调整了我的docker权限,但是我发现我的predition模块无法打开,当我打开prediction之后一段时间,它会自己关闭
我也无法打开,请问如何解决
Please describe more details to reproduce your problem.
the same as the question described before, the bridge is connected but the car cannot move at all, and the prediction cannot open, i have tried the method before, but it cannot work
Try to modify the file: apollo/modules/dreamview/conf/hmi_modes/mkz_standard_debug.pb.txt
, the key is Localization and the value is changed to dag_streaming_rtk_localization.dag
file. Then recompile and run apollo to try: ./apollo.sh build_gpu.
视频如下:
https://github.com/guardstrikelab/carla_apollo_bridge/assets/87601573/ec05af14-e9e3-4ad0-92bd-51d0309741f5