GaitGeneration by Graph Search
読み取り中…
検索中…
一致する文字列を見つけられません
simulation_end_checker_by_goal_tape.cpp
[詳解]
1
3
4// Copyright(c) 2023-2025 Design Engineering Laboratory, Saitama University
5// Released under the MIT license
6// https://opensource.org/licenses/mit-license.php
7
9
10namespace designlab {
11
13 const float goal_tape_x)
14 : kGoalTape(goal_tape_x) {}
15
17 if (node.center_of_mass_global_coord.x > kGoalTape) {
18 return true;
19 } else {
20 return false;
21 }
22}
23
24} // namespace designlab
bool IsEnd(const RobotStateNode &node) const override
シミュレーションの終了を判定する.
グラフ構造のためのノード(頂点).
Vector3 center_of_mass_global_coord
[4 * 3 = 12byte] グローバル座標系における重心の位置.旧名 GCOM
float x
ロボットの正面方向に正.