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
18namespace designlab {
19
23 public:
27 const std::shared_ptr<const IHexapodCoordinateConverter>& converter,
28 const std::shared_ptr<const IHexapodJointCalculator>& calculator);
29
35 bool IsValid(const RobotStateNode& current_node,
36 const RobotStateNode& next_node) const;
37
38 private:
39 const std::shared_ptr<const IHexapodCoordinateConverter> converter_;
40 const std::shared_ptr<const IHexapodJointCalculator> calculator_;
41
42 InterpolatedNodeCreator interpolated_node_creator_;
43};
44
45} // namespace designlab
46
47#endif // DESIGNLAB_INTERPOLATE_VALIDATOR_H_
補間の妥当性を検証するクラス.
bool IsValid(const RobotStateNode &current_node, const RobotStateNode &next_node) const
2つのノード間を矩形軌道で補完し,可動範囲外を通過しないか検証する.
矩形軌道を生成し,ノード間を補間するクラス.
グラフ構造のためのノード(頂点).