GaitGeneration by Graph Search
読み取り中…
検索中…
一致する文字列を見つけられません
DesignLab
robot_operator_for_gpg.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_ROBOT_OPERATOR_FOR_GPG_H_
9
#define DESIGNLAB_ROBOT_OPERATOR_FOR_GPG_H_
10
11
#include <vector>
12
13
#include "
math_util.h
"
14
#include "
interface_robot_operator.h
"
15
16
17
namespace
designlab
18
{
19
22
class
RobotOperatorForGpg
final :
public
IRobotOperator
23
{
24
public
:
25
RobotOperatorForGpg
();
26
27
RobotOperation
Init
()
const override
;
28
29
RobotOperation
Update
(
const
RobotStateNode
& node)
override
;
30
31
private
:
33
static
constexpr
float
kAllowableAngleError{
math_util::ConvertDegToRad
(2.0f) };
34
35
std::vector<Vector3> global_route_;
36
};
37
38
}
// namespace designlab
39
40
41
#endif
// DESIGNLAB_ROBOT_OPERATOR_FOR_GPG_H_
designlab::IRobotOperator
ロボットの動作を決定する処理のインターフェース.
Definition
interface_robot_operator.h:21
designlab::RobotOperatorForGpg
global path generator を行うための仮置きクラス.
Definition
robot_operator_for_gpg.h:23
designlab::RobotOperatorForGpg::Update
RobotOperation Update(const RobotStateNode &node) override
ロボットの動作を更新する.
Definition
robot_operator_for_gpg.cpp:155
designlab::RobotOperatorForGpg::Init
RobotOperation Init() const override
ロボットの動作を初期化する.
Definition
robot_operator_for_gpg.cpp:150
designlab::RobotOperatorForGpg::RobotOperatorForGpg
RobotOperatorForGpg()
Definition
robot_operator_for_gpg.cpp:43
interface_robot_operator.h
math_util.h
designlab::math_util::ConvertDegToRad
constexpr T ConvertDegToRad(const T deg) noexcept
角度を [deg] から [rad] に変換する関数.
Definition
math_util.h:126
designlab
Definition
abstract_dxlib_gui.cpp:18
designlab::RobotOperation
探索において目標となる座標や角度,評価する値についてまとめた構造体.
Definition
robot_operation.h:52
designlab::RobotStateNode
グラフ構造のためのノード(頂点).旧名 LNODE
Definition
robot_state_node.h:47
構築:
1.9.8