CSVConfig函数
第一列是键,第二列是值。
例如
X_AXIS_KEEP_POSITION,107.9,20,200,200,X axis keep position config
"X_AXIS_KEEP_POSITION" is key and 107.9,20,200,200... are values.
And You can use it like this.
CSV_CONFIG_TYPE config;
load_csv_config("config.csv", config);
// position_value = 107.9
double position_value = atof(config["X_AXIS_KEEP_POSITION"].at(0).c_str());
In my case, the last column is used as a com