Skip to content

Stablizerのref_contact_state #26

Answered by YutaKojio
Naoki-Hiraoka asked this question in Q&A
Discussion options

You must be logged in to vote

st->getActualParameters();
の中で使ってるのは,

act_contact_states[idx] = (use_force_sensor || limb_name.find("leg") == std::string::npos) ? isContact(idx) : ref_contact_states[idx];

の部分だけかな?

ref_contact_states自体は

ref_contact_states.push_back(true);

で初期化されていて,
全部trueだから実態とはあってないかもしれないけど,
ここもactivateされた1制御周期目にstart-stしないから大丈夫かな

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Naoki-Hiraoka
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants