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 "
interface_robot_operator.h
"
14
#include "
math_util.h
"
15
16
namespace
designlab
{
17
20
class
RobotOperatorForGpg
final :
public
IRobotOperator
{
21
public
:
22
RobotOperatorForGpg
();
23
24
RobotOperation
Init
()
const override
;
25
26
RobotOperation
Update
(
const
RobotStateNode
& node)
override
;
27
28
private
:
30
static
constexpr
float
kAllowableAngleError{
math_util::ConvertDegToRad
(2.0f)};
31
32
std::vector<Vector3> global_route_;
33
};
34
35
}
// namespace designlab
36
37
#endif
// DESIGNLAB_ROBOT_OPERATOR_FOR_GPG_H_
designlab::IRobotOperator
ロボットの動作を決定する処理のインターフェース.
Definition
interface_robot_operator.h:18
designlab::RobotOperatorForGpg
global path generator を行うための仮置きクラス.
Definition
robot_operator_for_gpg.h:20
designlab::RobotOperatorForGpg::Update
RobotOperation Update(const RobotStateNode &node) override
ロボットの動作を更新する.
Definition
robot_operator_for_gpg.cpp:69
designlab::RobotOperatorForGpg::Init
RobotOperation Init() const override
ロボットの動作を初期化する.
Definition
robot_operator_for_gpg.cpp:67
designlab::RobotOperatorForGpg::RobotOperatorForGpg
RobotOperatorForGpg()
Definition
robot_operator_for_gpg.cpp:36
interface_robot_operator.h
math_util.h
designlab::math_util::ConvertDegToRad
constexpr T ConvertDegToRad(const T deg) noexcept
角度を [deg] から [rad] に変換する関数.
Definition
math_util.h:119
designlab
Definition
abstract_dxlib_gui.cpp:18
designlab::RobotOperation
探索において目標となる座標や角度,評価する値についてまとめた構造体.
Definition
robot_operation.h:47
designlab::RobotStateNode
グラフ構造のためのノード(頂点).
Definition
robot_state_node.h:39
構築:
1.9.8