Skip to content

Added helper functions and program defaults #20

Added helper functions and program defaults

Added helper functions and program defaults #20

Triggered via push January 22, 2026 15:01
Status Success
Total duration 46s
Artifacts

cpp-linter.yaml

on: push
cpp-linter
42s
cpp-linter
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 10 warnings, and 10 notices
src/tools/image_validator.hpp:5:10 [clang-diagnostic-error]: src/tools/image_validator.hpp#L5
'metavision/sdk/core/utils/frame_composer.h' file not found
src/camera_calibration.hpp:5:10 [clang-diagnostic-error]: src/camera_calibration.hpp#L5
'opencv2/objdetect/charuco_detector.hpp' file not found
src/config/board.hpp:3:10 [clang-diagnostic-error]: src/config/board.hpp#L3
'nlohmann/json.hpp' file not found
src/config/board.hpp:31:63 [readability-identifier-length]: src/config/board.hpp#L31
parameter name 'b' is too short, expected at least 3 characters
src/config/board.hpp:31:41 [readability-identifier-length]: src/config/board.hpp#L31
parameter name 'j' is too short, expected at least 3 characters
src/config/board.hpp:17:56 [cppcoreguidelines-avoid-non-const-global-variables]: src/config/board.hpp#L17
variable 'boardTypesMap' is non-const and globally accessible, consider making it const
src/config/board.hpp:13:16 [performance-enum-size]: src/config/board.hpp#L13
enum 'BoardTypes' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size
Run clang-format on src/tools/create_board.hpp: src/tools/create_board.hpp#L0
File src/tools/create_board.hpp does not conform to LLVM style guidelines. (lines 8, 9, 10, 11, 13, 14, 15, 16, 18, 19, 20, 21)
Run clang-format on src/config/recording.cpp: src/config/recording.cpp#L0
File src/config/recording.cpp does not conform to LLVM style guidelines. (lines 7, 10, 11, 12, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 24, 26, 27, 28, 30, 31, 32, 33, 34, 36, 37, 38, 39, 41, 43, 44, 45, 47, 48, 49, 50, 52, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 65, 66, 67, 68, 70, 71, 72, 73, 74, 76, 77, 78, 79, 80, 81, 82, 83, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 106, 107, 108, 110)
Run clang-format on src/executors/board_runner.cpp: src/executors/board_runner.cpp#L0
File src/executors/board_runner.cpp does not conform to LLVM style guidelines. (lines 5, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 22, 23, 24, 25, 27, 28, 29, 30, 31, 32, 33, 35, 36, 37, 38, 39, 40, 42, 43, 44, 45, 47, 49, 50, 51, 52, 54)
Run clang-format on src/executors/board_runner.hpp: src/executors/board_runner.hpp#L0
File src/executors/board_runner.hpp does not conform to LLVM style guidelines. (lines 5, 6, 7, 9)
Run clang-format on src/cli/board_creation.cpp: src/cli/board_creation.cpp#L0
File src/cli/board_creation.cpp does not conform to LLVM style guidelines. (lines 3, 4, 5, 7, 9, 10, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 35, 36, 37, 38, 39, 41, 42, 43, 44, 45, 47, 48, 49, 50, 51, 53)
Run clang-format on src/recoding/video_viewer.cpp: src/recoding/video_viewer.cpp#L0
File src/recoding/video_viewer.cpp does not conform to LLVM style guidelines. (lines 3, 9, 10, 11, 12, 16, 17, 18, 19, 20, 21, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 55, 56, 57, 58, 59, 61, 63, 64, 65, 66, 67, 68, 69, 70, 72, 73, 74, 76, 77, 78, 79, 80, 82, 83, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 105, 106, 108, 109, 110, 111, 112, 113, 115, 116, 118, 119, 120, 121, 122, 123, 125, 126, 127, 128, 129, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 142, 144, 145, 146, 147, 149, 150, 152, 153, 155, 156, 158, 159, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 173, 174, 175, 177, 178, 179, 180, 181, 183, 184, 185, 186, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 252, 253, 254, 255, 256, 257, 258, 261, 262, 263, 264, 265, 266, 267, 268, 270, 271, 272, 273, 274, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 291, 293, 294, 295, 296, 297, 298, 299, 301, 302, 303, 304, 305, 306, 307, 309, 310, 311, 312, 314)
Run clang-format on src/executors/calibration_runner.cpp: src/executors/calibration_runner.cpp#L0
File src/executors/calibration_runner.cpp does not conform to LLVM style guidelines. (lines 4, 7, 8, 9, 10, 11, 13, 14, 16, 17, 18, 19, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 35, 37, 38, 39, 40, 41, 42, 43, 45)
Run clang-format on src/config/board.hpp: src/config/board.hpp#L0
File src/config/board.hpp does not conform to LLVM style guidelines. (lines 9, 10, 11, 12, 13, 14, 15, 17, 18, 19, 21, 22, 23, 24, 25, 26, 27, 28, 29, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 60, 62, 64, 65, 67)
Run clang-format on src/recoding/detection_validator.hpp: src/recoding/detection_validator.hpp#L0
File src/recoding/detection_validator.hpp does not conform to LLVM style guidelines. (lines 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, 18, 19, 20, 23, 25, 26, 27, 28, 29, 30, 31, 32, 34, 36)
Run clang-format on src/config/detection.cpp: src/config/detection.cpp#L0
File src/config/detection.cpp does not conform to LLVM style guidelines. (lines 5, 6, 7, 8, 9, 11, 12, 13, 15, 16, 17, 18, 19, 20, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 91)