PointCloudLibrary / PointCloudLibrary/pcl
[apps] Convert macro to lambda and fix the call-sites
Open
Nobody has claimed this yet.
changelog: enhancement
effort: low
good first issue
kind: todo
module: apps
- Dominant language
- C++
- Stars
- 11.1k
- Forks
- 4.7k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 6
Description
Convert macro FPS_CALC to lambda and fix the call-sites.
Locations:
- apps/include/pcl/apps/manual_registration.h
- apps/include/pcl/apps/openni_passthrough.h
- apps/include/pcl/apps/pcd_video_player.h
- apps/include/pcl/apps/timer.h
Originally posted by @kunaltyagi in https://github.com/PointCloudLibrary/pcl/pull/3885
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect FPS_CALC and its call sites in apps/include/pcl/apps/manual_registration.h, openni_passthrough.h, pcd_video_player.h, and timer.h. Start by tracing how the macro is currently used, then build the apps to verify that the lambda conversion and updated call sites compile successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-vision
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100