This commit is contained in:
wangcongtao
2021-01-29 18:20:36 +08:00
9 changed files with 70 additions and 9 deletions

View File

@@ -136,19 +136,41 @@ public interface IMogoADASController extends IProvider {
*/
void setAdasCarDataCallback( IMogoAdasCarDataCallback carDataCallback );
/**
* 自动驾驶状态通知
* @param callback
*/
void addAdasOCHCallback( IMogoAdasOCHCallback callback );
/**
* 移除自动驾驶通知
*/
void removeAdasOCHCallback();
void onAutopilotArriveLike( int type );
/**
* 获取车辆自动驾驶状态
* @return
*/
int getAutopilotStatus();
void mockOchStatus( int state, String reason );
/**
* 获取车身的定位纬度
* @return
*/
double getLastLat();
/**
* 获取车身定位经度
* @return
*/
double getLastLon();
/**
* 结束自动驾驶
*/
void cancelAutopilot();
}