GaitGeneration by Graph Search
読み取り中…
検索中…
一致する文字列を見つけられません
xr_r1_parameter_record.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_XR_R1_PARAMETER_RECORD_H_
9#define DESIGNLAB_XR_R1_PARAMETER_RECORD_H_
10
12
13namespace designlab {
14
15struct XrR1ParameterRecord final {
18
21
24
25 float min_leg_range{135.f};
26 float max_leg_range{200.f};
27
28 float free_leg_height{-40.f};
29
31 float stable_margin{10.f};
32};
33
36
38
40 body_lifting_height_min, "Body",
41 "Height at which the body is lifted from the ground [mm]. "
42 "The minimum height can be lowered to this level.");
44 body_lifting_height_max, "Body",
45 "Height at which the body is lifted from the ground [mm]. "
46 "The maximum height can be raised to this level.");
47
49 movable_coxa_angle_min_deg, "CoxaRange",
50 "Minimum leg movement range [deg].");
52 movable_coxa_angle_max_deg, "CoxaRange",
53 "Maximum leg range of motion [deg].");
54
56 min_leg_range, "LegRange",
57 "Minimum distance from the base of the leg to the tip of the leg [mm].");
59 max_leg_range, "LegRange",
60 "Maximum distance from the base of the leg to the tip of the leg [mm].");
61
63 free_leg_height, "Other",
64 "Height of the swing leg from the center of gravity [mm].");
66 stable_margin, "Other",
67 "Static safety margin: 15mm is a reasonable value. "
68 "(Based on previous studies, max is about 40 mm.)");
69};
70
71} // namespace designlab
72
74 body_lifting_height_min, body_lifting_height_max,
75 movable_coxa_angle_min_deg,
76 movable_coxa_angle_max_deg, min_leg_range,
77 max_leg_range, free_leg_height, stable_margin);
78
79#endif // DESIGNLAB_XR_R1_PARAMETER_RECORD_H_
float min_leg_range
脚の付け根から脚先までの最小距離[mm]
float free_leg_height
重心から見た遊脚高さ[mm].
float max_leg_range
脚の付け根から脚先までの最大距離[mm]
float body_lifting_height_min
地面から胴体を持ち上げる高さ[mm].最小ここまで下げられる.
float movable_coxa_angle_max_deg
脚の可動範囲の最大値[deg]
float stable_margin
静的安全余裕.15mm程度が妥当な値となる.(先行研究より,MAXで40mm程度)
float body_lifting_height_max
地面から胴体を持ち上げる高さ[mm].最大ここまで上げられる.
float movable_coxa_angle_min_deg
脚の可動範囲の最小値[deg]
#define DESIGNLAB_TOML11_SERIALIZE(NAME,...)
tomlファイルのシリアライズ/デシリアライズを行うためのマクロ. TOML11_DEFINE_CONVERSION_NON_INTRUSIVEをラッパしたもの....
#define DESIGNLAB_TOML11_DESCRIPTION_CLASS(CLASS)
tomlファイルに説明を追加するためのクラスの宣言を行うためのマクロ.
#define DESIGNLAB_TOML11_FILE_NO_DESCRIPTION()
tomlファイルにファイルの説明を追加しないことを示す文字列. DESIGNLAB_TOML11_DESCRIPTION_CLASS内に必ず記述する必要がある.
#define DESIGNLAB_TOML11_TABLE_NO_DESCRIPTION()
tomlファイルに追加するテーブルにコメントを追加しないことを示すマクロ. DESIGNLAB_TOML11_DESCRIPTION_CLASS内に必ず記述する必要がある.
#define DESIGNLAB_TOML11_VARIABLE_ADD_DESCRIPTION(VARIABLE, TABLE, DESCRIPTION)
tomlファイルに変数とファイルの説明を追加するためのマクロ.