[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

@@ -1,5 +1,7 @@
package com.mogo.eagle.core.function.api.autopilot;
import androidx.annotation.NonNull;
import com.mogo.eagle.core.data.autopilot.AutopilotControlParameters;
import com.mogo.eagle.core.function.api.base.IMoGoFunctionServerProvider;
@@ -22,6 +24,12 @@ public interface IMoGoAutopilotProvider extends IMoGoFunctionServerProvider {
*/
void startAutoPilot(AutopilotControlParameters controlParameters);
/**
* 发送json数据给 Autopilot 自动驾驶控制器
* 具体的json格式需要与@宋克难 进行沟通
*/
void sendMessageToAutopilot(@NonNull String jsonString);
/**
* 结束自动驾驶
*/

View File

@@ -1,9 +1,8 @@
package com.mogo.eagle.core.function.api.trafficlight
import com.alibaba.android.arouter.facade.template.IProvider
import com.mogo.eagle.core.data.trafficlight.TrafficLightResult
interface IMoGoTrafficLightListener :IProvider{
interface IMoGoTrafficLightListener {
/**
* 当前红绿灯状态,包含红绿灯灯态,倒计时秒数,灯态经纬度,时间戳,剩余时间