26 LOST_CLI_OPTION(
"centroid-algo" , std::string, centroidAlgo ,
"" , optarg ,
"cog")
29 LOST_CLI_OPTION("centroid-filter-brightest",
int , centroidFilterBrightest , -1 , atoi(optarg) , 10)
31 LOST_CLI_OPTION("star-
id-algo" , std::
string, idAlgo , "" , optarg , "pyramid")
35 LOST_CLI_OPTION("attitude-algo" , std::
string, attitudeAlgo , "" , optarg , "dqm")
40 LOST_CLI_OPTION("plot-raw-input" , std::
string, plotRawInput , "", optarg , "-")
41 LOST_CLI_OPTION("plot-input" , std::
string, plotInput , "", optarg , "-")
42 LOST_CLI_OPTION("plot-expected" , std::
string, plotExpected , "", optarg , "-")
43 LOST_CLI_OPTION("plot-centroid-indices" , std::
string, plotCentroidIndices , "", optarg , "-")
44 LOST_CLI_OPTION("plot-output" , std::
string, plotOutput , "", optarg , "-")
45 LOST_CLI_OPTION("print-expected-centroids" , std::
string, printExpectedCentroids , "", optarg , "-")
46 LOST_CLI_OPTION("print-input-centroids" , std::
string, printInputCentroids , "", optarg , "-")
47 LOST_CLI_OPTION("print-actual-centroids" , std::
string, printActualCentroids , "", optarg , "-")
48 LOST_CLI_OPTION("print-attitude" , std::
string, printAttitude , "", optarg , "-")
49 LOST_CLI_OPTION("print-expected-attitude" , std::
string, printExpectedAttitude , "", optarg , "-")
50 LOST_CLI_OPTION("print-speed" , std::
string, printSpeed , "", optarg , "-")
51 LOST_CLI_OPTION("compare-centroids" , std::
string, compareCentroids , "", optarg , "-")
52 LOST_CLI_OPTION("compare-star-ids" , std::
string, compareStarIds , "", optarg , "-")
53 LOST_CLI_OPTION("compare-attitudes" , std::
string, compareAttitudes , "", optarg , "-")
69 LOST_CLI_OPTION("generate-random-attitudes" ,
bool , generateRandomAttitudes , false ,
atobool(optarg) , true)
76 LOST_CLI_OPTION("generate-false-stars" ,
int , generateNumFalseStars , 0 , atoi(optarg) , 50)
#define STR_TO_DECIMAL(x)
#define LOST_CLI_OPTION(name, type, prop, defaultVal, converter, defaultArg)
bool atobool(const char *cstr)
Convert string to boolean.
const char kNoDefaultArgument