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 "map_state.h"
12#include "robot_state_node.h"
13
14namespace designlab {
15
19class NodeInitializer final {
20 public:
21 NodeInitializer(const Vector3& pos, const EulerXYZ& posture,
22 HexapodMove move);
23
27
30 const MapState map) const;
31
32 private:
33 const Vector3 pos_;
34 const EulerXYZ posture_;
35 const HexapodMove move_;
36};
37
38} // namespace designlab
39
40#endif // DESIGNLAB_NODE_INITIALIZER_H_
マップを表すクラス.
Definition map_state.h:29
ノードの初期化を行うクラス. シミュレーション時にノードの初期値を設定するために使用する.
RobotStateNode InitNode() const
ノードの初期化を行う.
RobotStateNode InitNodeForTerrain(const RobotStateNode &node, const MapState map) const
地形に適した初期姿勢を設定する.
HexapodMove
ロボットが次にどの動作をするのかを表す列挙体.
XYZオイラー角を用いた回転を表す構造体.
Definition math_euler.h:30
グラフ構造のためのノード(頂点).
3次元の位置ベクトルを表す構造体.