1. 使用相机时间来计算times文件;

2. times放弃每帧写一次的方法;
3. 不满100帧的内容不丢弃:添加一个队列来记录压入队列的帧数;
This commit is contained in:
tangchao0503
2023-06-30 15:21:23 +08:00
parent e620c87ecf
commit cc76d62ded
3 changed files with 90 additions and 52 deletions

View File

@ -60,9 +60,11 @@ UdpServer::UdpServer()
//当软件不正常关闭并且重启后通知其他psdk程序
m_clientIpAddress=QHostAddress(QHostAddress::LocalHost);
sendSerialPortStatus(0);
sendXimeaImageStatus(0);
sendXimeaImageStatus(100);
sendCopyFileStatus(0);
system("sudo gpio write 10 0");
std::cout<<"UdpServer::UdpServer--------:System ready!"<<std::endl;
}