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