ApolloAuto / apollo

An open autonomous driving platform
Apache License 2.0
25.21k stars 9.72k forks source link

gnss launch : send data ubx file via udp, no data out #14281

Closed wijdim closed 2 years ago

wijdim commented 2 years ago

System information Linux Ubuntu 18.04 Apollo installed from source **Apollo version master

Question

I m trying to test localization module with some data in input , I made changes in modules/drivers/gnss in order to receive data via udp in UBX_BINARY format I receive my data in the gnss udp server. But the data can't achieve to ubx_parser and by cyber_monitor, the topic /apollo/sensor/gnss/stream_status is published with the following message : image Ins_stream_type is still DISCONNECTED.

==> The data is sent to 4444 port and the new conf file is : image

==> The log file is : image

*The server keep waiting to receive data, is there any other changes i should do or any explications?

Thank you

daohu527 commented 2 years ago

Are you now receiving data via udp and can't parse it?

If you think the problem is "Ins_stream_type is still DISCONNECTED." then you can detect this state in your code first

wijdim commented 2 years ago

@daohu527 thank you for your answer. Yes I am now receiving data via udp but the process is interrupted with an exception right after updating data_parser in DataParser::parseRawdata. cyber_launch unable to read the binary packet. image

daohu527 commented 2 years ago

There is already an error message, you can solve this problem first!

invalid start type