Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speed up lidar data processing #696

Merged
merged 3 commits into from
Mar 25, 2022
Merged

Speed up lidar data processing #696

merged 3 commits into from
Mar 25, 2022

Conversation

KirillSmirnov
Copy link
Contributor

  • drop expensive abstractions - TrikFifo, Fifo, FifoWorker etc
  • setup serial port speed

This changes are not portable, fix it ASAP

Signed-off-by: Kirill K. Smirnov kirill.k.smirnov@gmail.com

* drop expensive abstractions - TrikFifo, Fifo, FifoWorker etc
* setup serial port speed

This changes are not portable, fix it ASAP

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
@@ -39,6 +49,7 @@ constexpr int ANGLES_NUMBER = 360;
trikControl::LidarWorker::LidarWorker(const QString &fileName
, const trikHal::HardwareAbstractionInterface &hardwareAbstraction)
: mFifoFileName(fileName)
, mFileDescriptor(-1)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Это bad practice, лучше инициализацию в классе int mFileDescriptor { -1 }; писать

@iakov iakov merged commit 73a29af into trikset:master Mar 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants