GaitGeneration by Graph Search
読み取り中…
検索中…
一致する文字列を見つけられません
gait_pattern_generator_switch_move.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_SWITCH_MOVE_H_
9#define DESIGNLAB_GAIT_PATTERN_GENERATOR_SWITCH_MOVE_H_
10
11#include <memory>
12#include <vector>
13
14#include "graph_tree_creator.h"
16#include "robot_state_node.h"
17
18
19namespace designlab
20{
21
25{
26public:
30 std::unique_ptr<IGaitPatternGenerator>&& gait_pattern_generator_for_straight,
31 std::unique_ptr<IGaitPatternGenerator>&& gait_pattern_generator_for_turn_spot);
32
34
35
37 const RobotStateNode& current_node,
38 const MapState& map,
39 const RobotOperation& operation,
40 RobotStateNode* output_node) override;
41
42private:
43 const std::unique_ptr<IGaitPatternGenerator> gpg_for_straight_ptr_;
44 const std::unique_ptr<IGaitPatternGenerator> gpg_for_turn_spot_ptr_;
45};
46
47} // namespace designlab
48
49
50#endif // DESIGNLAB_GAIT_PATTERN_GENERATOR_SWITCH_MOVE_H_
複数の種類の歩容パターンの生成方法を切り替えるためのクラス.
GraphSearchResult GetNextNodeByGraphSearch(const RobotStateNode &current_node, const MapState &map, const RobotOperation &operation, RobotStateNode *output_node) override
グラフ探索を行い,次の動作として最適なノードを返す.
グラフ探索による歩容パターン生成を行うクラスのインターフェース.
マップを表すクラス.
Definition map_state.h:32
グラフ探索の結果を表す構造体.
探索において目標となる座標や角度,評価する値についてまとめた構造体.
グラフ構造のためのノード(頂点).旧名 LNODE