1、修改界面:显示xport的姿态角(pitch、roll、yaw);
2、linux修改了时区后(timedatectl set-timezone "Asia/Shanghai"),psdk同步飞机的时间到nanopi需要+8hour; 3、m300遥控器界面添加手动设置曝光时间;
This commit is contained in:
@ -197,6 +197,8 @@ static void *UserDataSubscription_Task(void *arg)
|
||||
}//PsdkLogger_UserLogInfo
|
||||
|
||||
|
||||
printf("开始设置时间\n");
|
||||
system('date');
|
||||
if(counter>1 &&counter<10 && isGetGpsDate_time)//避免dji的bug:第一次获取的gpsDate和gpsTime都为0
|
||||
{
|
||||
char *gpsDate_str = (char *)malloc(sizeof(char)*50);
|
||||
@ -244,7 +246,7 @@ static void *UserDataSubscription_Task(void *arg)
|
||||
info.tm_year = atoi(year) - 1900;;
|
||||
info.tm_mon = atoi(mon) - 1;
|
||||
info.tm_mday = atoi(mday);
|
||||
info.tm_hour = atoi(hour);
|
||||
info.tm_hour = atoi(hour) + 8;
|
||||
info.tm_min = atoi(min);
|
||||
info.tm_sec = atoi(sec);
|
||||
info.tm_isdst = -1;
|
||||
|
Reference in New Issue
Block a user