GaitGeneration by Graph Search
読み取り中…
検索中…
一致する文字列を見つけられません
node_initializer.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_NODE_INITIALIZER_H_
9#define DESIGNLAB_NODE_INITIALIZER_H_
10
11#include "robot_state_node.h"
12#include "map_state.h"
13
14namespace designlab
15{
16
20class NodeInitializer final
21{
22public:
23 NodeInitializer(const Vector3& pos, const EulerXYZ& posture_,
24 HexapodMove move);
25
29
31 RobotStateNode InitNodeForTerrain(const RobotStateNode& node, const MapState map) const;
32
33private:
34 const Vector3 pos_;
35 const EulerXYZ posture_;
36 const HexapodMove move_;
37};
38
39} // namespace designlab
40
41
42#endif // DESIGNLAB_NODE_INITIALIZER_H_
マップを表すクラス.
Definition map_state.h:32
ノードの初期化を行うクラス. シミュレーション時にノードの初期値を設定するために使用する.
RobotStateNode InitNode() const
ノードの初期化を行う.
RobotStateNode InitNodeForTerrain(const RobotStateNode &node, const MapState map) const
地形に適した初期姿勢を設定する.
HexapodMove
ロボットが次にどの動作をするのかを表す列挙体.
XYZオイラー角を用いた回転を表す構造体.
Definition math_euler.h:33
グラフ構造のためのノード(頂点).旧名 LNODE
3次元の位置ベクトルを表す構造体.