GaitGeneration by Graph Search
読み取り中…
検索中…
一致する文字列を見つけられません
interface_hexapod_state_presenter.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_INTERFACE_HEXAPOD_STATE_PRESENTER_H_
9#define DESIGNLAB_INTERFACE_HEXAPOD_STATE_PRESENTER_H_
10
11#include "math_vector3.h"
12
13
14namespace designlab
15{
16
20{
21public:
22 virtual ~IHexapodStatePresenter() = default;
23
27 [[nodiscard]]
28 virtual Vector3 GetFreeLegPosLegCoordinate(int leg_index) const noexcept = 0;
29
33 [[nodiscard]]
34 virtual Vector3 GetLegBasePosRobotCoordinate(int leg_index) const noexcept = 0;
35
38 [[nodiscard]]
39 virtual float GetGroundHeightMarginMin() const noexcept = 0;
40
43 [[nodiscard]]
44 virtual float GetGroundHeightMarginMax() const noexcept = 0;
45};
46
47} // namespace designlab
48
49
50#endif // DESIGNLAB_INTERFACE_HEXAPOD_STATE_PRESENTER_H_
6脚ロボットの状態を表示するクラス.
virtual float GetGroundHeightMarginMin() const noexcept=0
地面の最大高さと重心位置を最小どれだけ離すかを返す.
virtual Vector3 GetLegBasePosRobotCoordinate(int leg_index) const noexcept=0
脚の付け根の座標(leg base position )を取得する.ロボット座標系.
virtual Vector3 GetFreeLegPosLegCoordinate(int leg_index) const noexcept=0
遊脚する位置を返す,脚座標系.
virtual float GetGroundHeightMarginMax() const noexcept=0
地面の最大高さと重心位置を最大どれだけ離すかを返す.
virtual ~IHexapodStatePresenter()=default
3次元の位置ベクトルを表す構造体.