调试面板

控制中心增加车辆状态模块,目前会展示方向盘转向角和档位信息
This commit is contained in:
xuxinchao
2022-04-01 17:29:06 +08:00
parent 0d245e2210
commit 0d8ecec882
6 changed files with 162 additions and 4 deletions

View File

@@ -19,4 +19,16 @@ interface IMoGoAutopilotVehicleStateListener {
*/
fun onAutopilotBrakeLightData(brakeLight: Boolean)
/**
* 车辆方向盘转向角回调
* @param steering 方向盘转向角
*/
fun onAutopilotSteeringData(steering: Float)
/**
* 车辆挂挡档位
* @param gear 档位
*/
fun onAutopilotGearData(gear: Chassis.GearPosition)
}