GaitGeneration by Graph Search
読み取り中…
検索中…
一致する文字列を見つけられません
DesignLab
interpolate_validator.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_INTERPOLATE_VALIDATOR_H_
9
#define DESIGNLAB_INTERPOLATE_VALIDATOR_H_
10
11
#include <memory>
12
13
#include "
interface_hexapod_coordinate_converter.h
"
14
#include "
interface_hexapod_joint_calculator.h
"
15
#include "
interpolated_node_creator.h
"
16
#include "
robot_state_node.h
"
17
18
19
namespace
designlab
20
{
21
24
class
InterpolateValidator
final
25
{
26
public
:
29
InterpolateValidator
(
const
std::shared_ptr<const IHexapodCoordinateConverter>& converter,
30
const
std::shared_ptr<const IHexapodJointCalculator>& calculator);
31
37
bool
IsValid
(
const
RobotStateNode
& current_node,
const
RobotStateNode
& next_node)
const
;
38
39
private
:
40
const
std::shared_ptr<const IHexapodCoordinateConverter> converter_;
41
const
std::shared_ptr<const IHexapodJointCalculator> calculator_;
42
43
InterpolatedNodeCreator
interpolated_node_creator_;
44
};
45
46
}
// namespace designlab
47
48
#endif
// DESIGNLAB_INTERPOLATE_VALIDATOR_H_
designlab::InterpolateValidator
補間の妥当性を検証するクラス.
Definition
interpolate_validator.h:25
designlab::InterpolateValidator::IsValid
bool IsValid(const RobotStateNode ¤t_node, const RobotStateNode &next_node) const
2つのノード間を矩形軌道で補完し,可動範囲外を通過しないか検証する.
Definition
interpolate_validator.cpp:23
designlab::InterpolatedNodeCreator
矩形軌道を生成し,ノード間を補間するクラス.
Definition
interpolated_node_creator.h:26
interface_hexapod_coordinate_converter.h
interface_hexapod_joint_calculator.h
interpolated_node_creator.h
designlab
Definition
abstract_dxlib_gui.cpp:18
robot_state_node.h
designlab::RobotStateNode
グラフ構造のためのノード(頂点).旧名 LNODE
Definition
robot_state_node.h:47
構築:
1.9.8