[Add function]增加了同步数据给域控制器的方法,TODO需要 @钟超 修改下

Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
donghongyu
2021-11-09 19:58:03 +08:00
parent 71e31852bb
commit cde1338251
7 changed files with 61 additions and 17 deletions

View File

@@ -33,6 +33,14 @@ object CallerAutoPilotManager {
providerApi.startAutoPilot(controlParameters)
}
/**
* 发送json数据给 Autopilot 自动驾驶控制器
* 具体的json格式需要与@宋克难 进行沟通
*/
fun sendDataToAutopilot(jsonString: String) {
providerApi.sendMessageToAutopilot(jsonString)
}
/**
* 结束自动驾驶
*/