apollo icon indicating copy to clipboard operation
apollo copied to clipboard

Mock Topic Publishers

Open LunaAmour opened this issue 8 years ago • 3 comments

I'd like to do some publishing of hand-crafted data in topics for debugging purposes. I've noticed a basic sample functionality at https://github.com/ApolloAuto/apollo/blob/master/modules/tools/mock_routing/mock_routing_request.py. Are there similar tools for other topics, or do you have other recommendations for how to handle providing inputs for specific modules?

LunaAmour avatar May 23 '18 20:05 LunaAmour

Maybe this script can help https://github.com/ApolloAuto/apollo/blob/master/modules/tools/replay/replay_file.py

startcode avatar May 23 '18 21:05 startcode

I see, it looks like this one takes pb files. Is that the best way you find to feed in manual data? Or do you manually create bag files? Or something else entirely?

Thanks for all your help.

LunaAmour avatar May 24 '18 15:05 LunaAmour

there are many other topic tools in modules/tools folder such as perception_obstacle_sender.py you may search "cyber.init" for all topic sender files;for the specific topic which you need you shall learn the apollo cyber mechanism first and try to test some tool examples later.——Reply reference comes from the Apollo developer community issue master contest https://apollo.auto/developer/questiondata_cn.html?target=690

apollodevcommunity avatar Feb 07 '21 06:02 apollodevcommunity