#include "../example_base.hpp"
#include <coresystem/cs_param.hpp>
void example_base() {
con_allocate(false);
posture_pro.a000_rightArmFB = 30;
posture_pro.a000_leftArmIO = 30;
posture_pro.a000_leftArmFB = 30;
posture_pro.a002_rightArmIO = 30;
posture_pro.a002_rightArmFB = 30;
posture_pro.a002_leftArmIO = 30;
posture_pro.a002_leftArmFB = 30;
posture_pro.a003_rightArmIO = 30;
posture_pro.a003_rightArmFB = 30;
posture_pro.a003_leftArmIO = 30;
posture_pro.a003_leftArmFB = 30;
posture_pro.a010_rightArmIO = 30;
posture_pro.a010_rightArmFB = 30;
posture_pro.a010_leftArmIO = 30;
posture_pro.a010_leftArmFB = 30;
posture_pro.a012_rightArmIO = 30;
posture_pro.a012_rightArmFB = 30;
posture_pro.a012_leftArmIO = 30;
posture_pro.a012_leftArmFB = 30;
posture_pro.a013_rightArmIO = 30;
posture_pro.a013_rightArmFB = 30;
posture_pro.a013_leftArmIO = 30;
posture_pro.a013_leftArmFB = 30;
posture_pro.a014_rightArmIO = 30;
posture_pro.a014_rightArmFB = 30;
posture_pro.a014_leftArmIO = 30;
posture_pro.a014_leftArmFB = 30;
posture_pro.a015_rightArmIO = 30;
posture_pro.a015_rightArmFB = 30;
posture_pro.a015_leftArmIO = 30;
posture_pro.a015_leftArmFB = 30;
posture_pro.a016_rightArmIO = 30;
posture_pro.a016_rightArmFB = 30;
posture_pro.a016_leftArmIO = 30;
posture_pro.a016_leftArmFB = 30;
for (auto [id, row] : from::param::PostureControlParam_Pro) {
row = posture_pro;
std::cout << "Modified PostureControlParam_Pro row " << id << '\n';
}
posture_gender.a000_leftElbowIO = 55;
posture_gender.a000_bothLegsIO = 55;
posture_gender.a002_rightElbowIO = 55;
posture_gender.a002_leftElbowIO = 55;
posture_gender.a002_bothLegsIO = 55;
posture_gender.a003_rightElbowIO = 55;
posture_gender.a003_leftElbowIO = 55;
posture_gender.a003_bothLegsIO = 55;
posture_gender.a010_rightElbowIO = 55;
posture_gender.a010_leftElbowIO = 55;
posture_gender.a010_bothLegsIO = 55;
posture_gender.a012_rightElbowIO = 55;
posture_gender.a012_leftElbowIO = 55;
posture_gender.a012_bothLegsIO = 55;
posture_gender.a013_rightElbowIO = 55;
posture_gender.a013_leftElbowIO = 55;
posture_gender.a013_bothLegsIO = 55;
posture_gender.a014_rightElbowIO = 55;
posture_gender.a014_leftElbowIO = 55;
posture_gender.a014_bothLegsIO = 55;
posture_gender.a015_rightElbowIO = 55;
posture_gender.a015_leftElbowIO = 55;
posture_gender.a015_bothLegsIO = 55;
posture_gender.a016_rightElbowIO = 55;
posture_gender.a016_leftElbowIO = 55;
posture_gender.a016_bothLegsIO = 55;
for (auto [id, row] : from::param::PostureControlParam_Gender) {
row = posture_gender;
std::cout << "Modified PostureControlParam_Gender row " << id << '\n';
}
}
static LIBERAPI bool wait_for_params(int timeout)
Lock until the param repository is loaded or the time runs out.
Namespace CS param interface.
This struct was automatically generated from XML paramdefs.
Definition POSTURE_CONTROL_PARAM_GENDER_ST.hpp:10
short a000_rightElbowIO
Right elbow _ inside and outside.
Definition POSTURE_CONTROL_PARAM_GENDER_ST.hpp:14
This struct was automatically generated from XML paramdefs.
Definition POSTURE_CONTROL_PARAM_PRO_ST.hpp:10
short a000_rightArmIO
Right arm_inside and outside.
Definition POSTURE_CONTROL_PARAM_PRO_ST.hpp:14