Open yongjay opened 1 year ago
Does this cause by #14777 ? @daohu527
I will check and feedback then
I will check and feedback then
THX !
I will check and feedback then
hi,Have you found the cause of the problem?
@yongjay I saw similar error messages when I mixed up Apollo 7 and Apollo 8 messages (e.g., if in the same record file there are both messages generated with A7 protobuf and messages generated with A8 protobuf). Is it possible that you somehow mixed things up as well?
@yongjay I saw similar error messages when I mixed up Apollo 7 and Apollo 8 messages (e.g., if in the same record file there are both messages generated with A7 protobuf and messages generated with A8 protobuf). Is it possible that you somehow mixed things up as well?
I only used Apollo 8.0,and the record file is download from url , maybe the record file generated by different protobuf versions? I will try something ,thanks for your reply.
I wonder if you have solved the problem yet? how?
@yongjay can you zip the record file and upload it here? I may be able to help you to fix it. The record file may have been generated with a previous version of Apollo. I cannot access Apollo Studio for some reason. I solved my problem by using just Apollo 7.0 instead of mixing messages from 2 versions.
@yongjay I am in the US and it says it will take 2 days for me to download the entire file. I imagine there must be just one single record file with the perception messages you want to send. Can you zip just that 1 file and upload it here if it is not too big?
@yongjay I am in the US and it says it will take 2 days for me to download the entire file. I imagine there must be just one single record file with the perception messages you want to send. Can you zip just that 1 file and upload it here if it is not too big?
Here is the record file ,look forward to your reply.
perception_fix.record.zip @yongjay I think this might work. I tried what I think would be the fix, let me know if it works!
modules/common/proto/error_code.proto
modules/common/proto/geometry.proto
modules/common/proto/error_code.proto
modules/common/proto/header.proto
modules/common/proto/pnc_point.proto
modules/map/proto/map_id.proto
modules/common/proto/geometry.proto
modules/map/proto/map_geometry.proto
modules/map/proto/map_lane.proto
modules/perception/proto/perception_obstacle.proto
These are the registered protobuf descriptors in your original record, as you can see these are all from Apollo 7 (or before)
modules/common_msgs/basic_msgs/error_code.proto
modules/common_msgs/basic_msgs/geometry.proto
modules/common_msgs/basic_msgs/error_code.proto
modules/common_msgs/basic_msgs/header.proto
modules/common_msgs/basic_msgs/pnc_point.proto
modules/common_msgs/basic_msgs/geometry.proto
modules/common_msgs/map_msgs/map_geometry.proto
modules/common_msgs/map_msgs/map_id.proto
modules/common_msgs/map_msgs/map_lane.proto
modules/common_msgs/perception_msgs/perception_obstacle.proto
These are the registered protobuf descriptor in the potential fix version, all of them are from Apollo 8 (as it says common_msgs
)
perception_fix.record.zip @yongjay I think this might work. I tried what I think would be the fix, let me know if it works!
modules/common/proto/error_code.proto modules/common/proto/geometry.proto modules/common/proto/error_code.proto modules/common/proto/header.proto modules/common/proto/pnc_point.proto modules/map/proto/map_id.proto modules/common/proto/geometry.proto modules/map/proto/map_geometry.proto modules/map/proto/map_lane.proto modules/perception/proto/perception_obstacle.proto
These are the registered protobuf descriptors in your original record, as you can see these are all from Apollo 7 (or before)
modules/common_msgs/basic_msgs/error_code.proto modules/common_msgs/basic_msgs/geometry.proto modules/common_msgs/basic_msgs/error_code.proto modules/common_msgs/basic_msgs/header.proto modules/common_msgs/basic_msgs/pnc_point.proto modules/common_msgs/basic_msgs/geometry.proto modules/common_msgs/map_msgs/map_geometry.proto modules/common_msgs/map_msgs/map_id.proto modules/common_msgs/map_msgs/map_lane.proto modules/common_msgs/perception_msgs/perception_obstacle.proto
These are the registered protobuf descriptor in the potential fix version, all of them are from Apollo 8 (as it says
common_msgs
)
It works!!! Thank you very much for your help!
@yongjay glad this is able to fix the issue!
@daohu527 I think we can confirm this being an issue caused by v7 to v8 migration. Would you be interested in knowing how to fix record files with this issue and should I start fixing other publicly available record files?
System information
apollo.sh config
if onmaster
branch:Steps to reproduce the issue:
hi all: First,I have compiled cyberRT independently on my host computer,and I use bridge in the container to communicate with the host computer, and use bridge module to send ADCTrajectory, which is the default sending type of bridge. 3、I moved the bridge to the host machine and compiled it, so I got bridge_receive_test.And receiving ADCTrajectory data on the host using bridge_receive_test was successful.
Next, I wanted to send perception data, and based on bridge's README, I added some code and configuration files as follows: In udp_bridge_sender_component.h In udp_bridge_sender_component.cc
add udp_bridge_sender_perception.pb.txt : which content is :
In bridge_sender.dag
then ,I recompile the bridge in container workspace:
buildtool build -p ./modules/bridge
refer link to start perception . and start bridge component:cyber_launch start /apollo/modules/bridge/launch/bridge_sender.launch
I got this error.
It looks like error_code.proto was redefined,so I searched the container for error_code.proto and found no new ones:
modules/common/proto/error_code.proto
was not found.any suggestions?