GaitGeneration by Graph Search
読み取り中…
検索中…
一致する文字列を見つけられません
hexapod_const.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_HEXAPOD_CONST_H_
9#define DESIGNLAB_HEXAPOD_CONST_H_
10
11
12namespace designlab
13{
14
24class HexapodConst final
25{
26public:
28 HexapodConst() = delete;
29 HexapodConst(const HexapodConst& other) = delete;
30 HexapodConst& operator=(const HexapodConst& other) = delete;
31 HexapodConst(HexapodConst&& other) = delete;
32
35 constexpr static int kLegNum = 6;
36};
37
38} // namespace designlab
39
40
41#endif // DESIGNLAB_HEXAPOD_CONST_H_
Hexapodの定数をまとめたクラス.
HexapodConst()=delete
コンストラクタとコピーコンストラクタを削除し,実体を生成できないようにする.
HexapodConst & operator=(const HexapodConst &other)=delete
削除する.
static constexpr int kLegNum
HexapodConst(const HexapodConst &other)=delete
削除する.
HexapodConst(HexapodConst &&other)=delete
削除する.