?? generategoal.cc
字號:
#include "scriptplayer.ih"rf<Behavior::Goal> ScriptPlayer::generateGoal(unsigned step, unsigned slot){ d_committed = true; vector<pair<double, double> > scriptLine = d_script[d_curLine]; rf<Goal> goal = new Goal(); rf<OrNode> dis = goal->addDisjunct(); rf<AndNode> con = dis->addConjunct(); // _debugLevel4("Angle for slot " << slot << ": " << scriptLine[slot].first << " (now: " << wm.getJointAngle((Types::Joint)slot).getMu() << ")"); con->addVar("Angle", scriptLine[slot].first, scriptLine[slot].first); con->addVar("MaxSpeed", scriptLine[slot].second, scriptLine[slot].second); return goal;}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -