GaitGeneration by Graph Search
読み取り中…
検索中…
一致する文字列を見つけられません
simulation_end_checker_by_position.h
[詳解]
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
8#ifndef DESIGNLAB_SIMULATION_END_CHECKER_BY_POSITION_H_
9#define DESIGNLAB_SIMULATION_END_CHECKER_BY_POSITION_H_
10
12
13namespace designlab {
14
18 public:
19 SimulationEndCheckerByPosition(const Vector3& goal_position,
20 float allowable_error);
21
22 bool IsEnd(const RobotStateNode& node) const override;
23
24 private:
25 const Vector3 goal_position_;
26 const float allowable_error_;
27};
28
29} // namespace designlab
30
31#endif // DESIGNLAB_SIMULATION_END_CHECKER_BY_POSITION_H_
シミュレーションの終了を判定するクラスのインターフェース.
最終位置によるシミュレーション終了判定クラス.
bool IsEnd(const RobotStateNode &node) const override
シミュレーションの終了を判定する.
グラフ構造のためのノード(頂点).
3次元の位置ベクトルを表す構造体.