PointCloudLibrary / PointCloudLibrary/pcl

[apps] Convert macro to lambda and fix the call-sites

Open
#3,897 11 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.