GaitGeneration by Graph Search
読み取り中…
検索中…
一致する文字列を見つけられません
DesignLab
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
11
#include "
interface_simulation_end_checker.h
"
12
13
14
namespace
designlab
15
{
16
19
class
SimulationEndCheckerByPosition
final :
public
ISimulationEndChecker
20
{
21
public
:
22
SimulationEndCheckerByPosition
(
const
Vector3
& goal_position,
float
allowable_error);
23
24
bool
IsEnd
(
const
RobotStateNode
& node)
const override
;
25
26
private
:
27
const
Vector3
goal_position_;
28
const
float
allowable_error_;
29
};
30
31
}
// namespace designlab
32
33
34
#endif
// DESIGNLAB_SIMULATION_END_CHECKER_BY_POSITION_H_
designlab::ISimulationEndChecker
シミュレーションの終了を判定するクラスのインターフェース.
Definition
interface_simulation_end_checker.h:20
designlab::SimulationEndCheckerByPosition
最終位置によるシミュレーション終了判定クラス.
Definition
simulation_end_checker_by_position.h:20
designlab::SimulationEndCheckerByPosition::IsEnd
bool IsEnd(const RobotStateNode &node) const override
シミュレーションの終了を判定する.
Definition
simulation_end_checker_by_position.cpp:22
interface_simulation_end_checker.h
designlab
Definition
abstract_dxlib_gui.cpp:18
designlab::RobotStateNode
グラフ構造のためのノード(頂点).旧名 LNODE
Definition
robot_state_node.h:47
designlab::Vector3
3次元の位置ベクトルを表す構造体.
Definition
math_vector3.h:40
構築:
1.9.8