Skip to content

Commit

Permalink
Increment index to step to the other flag.
Browse files Browse the repository at this point in the history
Update license date.
  • Loading branch information
s-trinh committed Aug 11, 2024
1 parent f45d5c2 commit 3765fe5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion script/PlotCameraTrajectory.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# Copyright 2022- ViSP contributor
# Copyright 2022-2024 ViSP contributor
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,15 @@ int main(int argc, char **argv)
}
else if ((std::string(argv[i]) == "--save" || std::string(argv[i]) == "-o") && i+1 < argc) {
npz_filename = argv[i+1];
i++;

Check warning on line 52 in tutorial/tracking/model-based/generic/tutorial-mb-generic-tracker-save.cpp

View check run for this annotation

Codecov / codecov/patch

tutorial/tracking/model-based/generic/tutorial-mb-generic-tracker-save.cpp#L52

Added line #L52 was not covered by tests
}
else if (std::string(argv[i]) == "--color" || std::string(argv[i]) == "-c") {
color_mode = true;
}
else if (std::string(argv[i]) == "--alpha" || std::string(argv[i]) == "-a") {
save_alpha = true;
}
else if (std::string(argv[i]) == "--print-cMo" && i+1 < argc) {
else if (std::string(argv[i]) == "--print-cMo") {

Check warning on line 60 in tutorial/tracking/model-based/generic/tutorial-mb-generic-tracker-save.cpp

View check run for this annotation

Codecov / codecov/patch

tutorial/tracking/model-based/generic/tutorial-mb-generic-tracker-save.cpp#L60

Added line #L60 was not covered by tests
print_cMo = true;
}
else {
Expand Down

0 comments on commit 3765fe5

Please sign in to comment.