energy change

This commit is contained in:
sun
2019-07-23 16:02:50 +08:00
parent 68a642e6a6
commit e62c53d343
14 changed files with 204 additions and 126 deletions

View File

@@ -39,6 +39,7 @@ void uartReceive(Serial *pSerial) {
memcpy(&mcuData, buffer, sizeof(mcuData));
// LOGM("Get, state:%c, mark:%d!", mcuData.state, (int) mcuData.mark);
// LOGM("Get yaw: %f, pitch: %f!", mcuData.curr_yaw, mcuData.curr_pitch);
// LOGM("Get delta x: %d, delta y: %d!", mcuData.delta_x, mcuData.delta_y);
// static int t = time(nullptr);
// static int cnt = 0;
// if(time(nullptr) > t){