7 #include "smpc_solver.h" 179 preferences =
pref_proxy.readPrefFile (
"oru_walk",
false);
181 catch (
const ALError &e)
183 qiLogInfo (
"module.oru_walk") << e.what();
189 if (!preferences.isArray())
194 for (
int i = 0; i < preferences.getSize(); i++)
196 if (preferences[i][2].isFloat())
219 if (preferences[i][2].isInt())
246 if (preferences[i][2].isBool())
265 preferences[i].arraySetSize(3);
294 preferences[
IGM_MU][1] =
"";
363 pref_proxy.writePrefFile(
"oru_walk", preferences,
true);
365 catch (
const ALError &e)
367 qiLogInfo (
"module.oru_walk") << e.what();
double mpc_ip_tolerance_ext
double control_sampling_time_sec
double mpc_gain_acceleration
void readParameters()
Read parameters from configuration file; if the file does not exist, write the default values to it.
int walk_control_thread_priority
void writeParameters()
Write the values of parameters to the config file.
int preview_sampling_time_ms
double mpc_ip_tolerance_int
bool set_support_z_to_zero
double bezier_inclination_1
ALPreferencesProxy pref_proxy
double preview_sampling_time_sec
double bezier_inclination_2
int control_sampling_time_ms
double feedback_threshold
walkParameters(ALPtr< ALBroker >)
Initialize parameters to default values.