Closed lscarton closed 5 months ago
@sthoduka The argparser is now done, could you please see if it is similar to what you had in mind?
the command ./KinovaVisionMain -h
currently shows:
Non-ROS library for KINOVA® KORTEX™ arms vision module.
Usage: KinovaVisionMain [params]
-c, --config (value:../config/config.json)
Usage: Path to json config file.
--depthresolution (value:424x240)
Available: 424x240, 480x270
-h, --help (value:true)
Print help message.
--rgbresolution (value:320x240)
Available: 320x240, 640x480, 1280x720, 1920x1080
--use_depth (value:true)
Usage : enable the use of Depth camera.
--use_rgb (value:true)
Usage: enable the use of RGB camera.
It is unfortunately in alphabetical order
I think this looks good; these are the options that someone would want to change once the config file has been fixed.
I suggest to use OpenCV
cv::CommandLineParser
as argparser for the main function.https://docs.opencv.org/3.4/d0/d2e/classcv_1_1CommandLineParser.html