GaitGeneration by Graph Search
読み取り中…
検索中…
一致する文字列を見つけられません
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
16#include "robot_state_node.h"
17
18
19namespace designlab
20{
21
25{
26public:
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
39private:
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_
補間の妥当性を検証するクラス.
bool IsValid(const RobotStateNode &current_node, const RobotStateNode &next_node) const
2つのノード間を矩形軌道で補完し,可動範囲外を通過しないか検証する.
矩形軌道を生成し,ノード間を補間するクラス.
グラフ構造のためのノード(頂点).旧名 LNODE