GaitGeneration by Graph Search
Toggle main menu visibility
総合概要
諸情報
名前空間
名前空間一覧
名前空間メンバ
全て
a
b
c
d
e
f
g
h
i
k
l
m
o
r
s
t
関数
a
c
d
e
f
g
i
k
l
m
o
r
s
t
変数
型定義
列挙型
Concepts
クラス
クラス一覧
クラス索引
クラス階層
クラスメンバ
全て
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
関数
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
変数
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
v
w
x
y
z
型定義
ファイル
ファイル一覧
ファイルメンバ
全て
d
m
t
関数
d
m
t
マクロ定義
•
全て
クラス
名前空間
ファイル
関数
変数
型定義
列挙型
列挙値
マクロ定義
ページ
Concepts
読み取り中…
検索中…
一致する文字列を見つけられません
DesignLab
gait_pattern_generator_basic.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_GAIT_PATTERN_GENERATOR_BASIC_H_
9
#define DESIGNLAB_GAIT_PATTERN_GENERATOR_BASIC_H_
10
11
#include <memory>
12
#include <vector>
13
14
#include "
gait_pattern_graph_tree.h
"
15
#include "
graph_tree_creator.h
"
16
#include "
interface_gait_pattern_generator.h
"
17
#include "
interface_graph_searcher.h
"
18
#include "
interpolated_node_creator.h
"
19
#include "
robot_state_node.h
"
20
21
22
namespace
designlab
23
{
24
27
class
GaitPatternGeneratorBasic
final :
public
IGaitPatternGenerator
28
{
29
public
:
35
GaitPatternGeneratorBasic
(
36
std::unique_ptr<GraphTreeCreator>&& graph_tree_creator_ptr,
37
std::unique_ptr<IGraphSearcher>&& graph_searcher_ptr,
38
int
max_depth,
39
int
max_node_num);
40
41
~GaitPatternGeneratorBasic
() =
default
;
42
43
44
GraphSearchResult
GetNextNodeByGraphSearch
(
45
const
RobotStateNode
& current_node,
46
const
MapState
& map_ref,
47
const
RobotOperation
& operation,
48
RobotStateNode
* output_node)
override
;
49
50
private
:
52
const
std::unique_ptr<GraphTreeCreator> graph_tree_creator_ptr_;
53
55
const
std::unique_ptr<const IGraphSearcher> graph_searcher_ptr_;
56
57
GaitPatternGraphTree
graph_tree_;
58
59
const
int
max_depth_;
60
};
27
class
GaitPatternGeneratorBasic
final :
public
IGaitPatternGenerator
{
…
};
61
62
}
// namespace designlab
63
64
65
#endif
// DESIGNLAB_GAIT_PATTERN_GENERATOR_BASIC_H_
designlab::GaitPatternGeneratorBasic
普通にグラフ探索を行い,歩容パターン生成を行うクラス.
Definition
gait_pattern_generator_basic.h:28
designlab::GaitPatternGeneratorBasic::GetNextNodeByGraphSearch
GraphSearchResult GetNextNodeByGraphSearch(const RobotStateNode ¤t_node, const MapState &map_ref, const RobotOperation &operation, RobotStateNode *output_node) override
グラフ探索を行い,次の動作として最適なノードを返す.
Definition
gait_pattern_generator_basic.cpp:38
designlab::GaitPatternGeneratorBasic::~GaitPatternGeneratorBasic
~GaitPatternGeneratorBasic()=default
designlab::GaitPatternGraphTree
RobotStateNode 構造体をノードとする木構造のグラフのクラス.
Definition
gait_pattern_graph_tree.h:24
designlab::IGaitPatternGenerator
グラフ探索による歩容パターン生成を行うクラスのインターフェース.
Definition
interface_gait_pattern_generator.h:33
designlab::MapState
マップを表すクラス.
Definition
map_state.h:32
gait_pattern_graph_tree.h
graph_tree_creator.h
interface_gait_pattern_generator.h
interface_graph_searcher.h
interpolated_node_creator.h
designlab
Definition
abstract_dxlib_gui.cpp:18
robot_state_node.h
designlab::GraphSearchResult
グラフ探索の結果を表す構造体.
Definition
graph_search_result_record.h:40
designlab::RobotOperation
探索において目標となる座標や角度,評価する値についてまとめた構造体.
Definition
robot_operation.h:52
designlab::RobotStateNode
グラフ構造のためのノード(頂点).旧名 LNODE
Definition
robot_state_node.h:47
構築:
1.9.8