Mock Topic Publishers
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?
Maybe this script can help https://github.com/ApolloAuto/apollo/blob/master/modules/tools/replay/replay_file.py
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.
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