GaitGeneration by Graph Search
読み取り中…
検索中…
一致する文字列を見つけられません
simulation_end_checker_by_posture.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_POSTURE_H_
9#define DESIGNLAB_SIMULATION_END_CHECKER_BY_POSTURE_H_
10
12#include "math_euler.h"
13#include "math_quaternion.h"
14
15namespace designlab {
16
20 public:
21 SimulationEndCheckerByPosture(const Quaternion& goal_orientation,
22 float allowable_error);
23
24 bool IsEnd(const RobotStateNode& node) const override;
25
26 private:
27 const Quaternion goal_orientation_;
28 const EulerXYZ goal_euler_;
29
30 const float allowable_error_;
31};
32
33} // namespace designlab
34
35#endif // DESIGNLAB_SIMULATION_END_CHECKER_BY_POSTURE_H_
シミュレーションの終了を判定するクラスのインターフェース.
最終姿勢によるシミュレーション終了判定クラス.
bool IsEnd(const RobotStateNode &node) const override
シミュレーションの終了を判定する.
XYZオイラー角を用いた回転を表す構造体.
Definition math_euler.h:30
クォータニオンを表す構造体.
グラフ構造のためのノード(頂点).