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 <memory>
12#include <string>
13
14#include "graphic_data_broker.h"
17
18namespace designlab {
19
20class SystemMainRobotControl final : public ISystemMain {
21 public:
22 SystemMainRobotControl(const std::shared_ptr<GraphicDataBroker>& broker_ptr);
24
25 void Main() override;
26
27 private:
29 void RemoveDoNotMoveNode(std::vector<RobotStateNode>* graph_ptr);
30
32 void MergeContinuousMove(std::vector<RobotStateNode>* graph_ptr);
33
35 void DivideSwingAndStance(std::vector<RobotStateNode>* graph_ptr);
36
38 void InitializeDirectory();
39
40 ResultFileImporter result_importer_;
41
42 const std::shared_ptr<GraphicDataBroker> broker_ptr_;
43
44 const std::string kResultFileDirectoryPath{
45 "robot_control"};
46};
47
48} // namespace designlab
49
50#endif // DESIGNLAB_SYSTEM_MAIN_ROBOT_CONTROL_H_
プログラムの面の処理のインターフェース.
結果をファイルから読み込むクラス.
void Main() override
主要な処理を行う関数.