GaitGeneration by Graph Search
読み取り中…
検索中…
一致する文字列を見つけられません
system_main_robot_control.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_SYSTEM_MAIN_ROBOT_CONTROL_H_
9#define DESIGNLAB_SYSTEM_MAIN_ROBOT_CONTROL_H_
10
11#include <string>
12#include <memory>
13
14#include "graphic_data_broker.h"
17
18
19namespace designlab
20{
21
23{
24public:
25 SystemMainRobotControl(const std::shared_ptr<GraphicDataBroker>& broker_ptr);
27
28 void Main() override;
29
30private:
31
33 void RemoveDoNotMoveNode(std::vector<RobotStateNode>* graph_ptr);
34
36 void MergeContinuousMove(std::vector<RobotStateNode>* graph_ptr);
37
39 void DivideSwingAndStance(std::vector<RobotStateNode>* graph_ptr);
40
42 void InitializeDirectory();
43
44 ResultFileImporter result_importer_;
45
46 const std::shared_ptr<GraphicDataBroker> broker_ptr_;
47
48 const std::string kResultFileDirectoryPath{ "robot_control" };
49};
50
51} // namespace designlab
52
53#endif // DESIGNLAB_SYSTEM_MAIN_ROBOT_CONTROL_H_
プログラムの面の処理のインターフェース.
結果をファイルから読み込むクラス.
void Main() override
主要な処理を行う関数.