apollo icon indicating copy to clipboard operation
apollo copied to clipboard

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

Open wijdim opened this issue 3 years ago • 3 comments

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

wijdim avatar Jan 20 '22 13:01 wijdim

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

daohu527 avatar Jan 23 '22 04:01 daohu527

@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

wijdim avatar Jan 26 '22 10:01 wijdim

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

invalid start type

daohu527 avatar Jan 27 '22 09:01 daohu527