GaitGeneration by Graph Search
読み取り中…
検索中…
一致する文字列を見つけられません
system_main_result_viewer.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_RESULT_VIEWER_H_
9#define DESIGNLAB_SYSTEM_MAIN_RESULT_VIEWER_H_
10
11#include <memory>
12#include <string>
13
15#include "graphic_data_broker.h"
20
21namespace designlab {
22
25class SystemMainResultViewer final : public ISystemMain {
26 public:
28 const std::shared_ptr<GraphicDataBroker>& broker_ptr,
29 const std::shared_ptr<const ApplicationSettingRecord> setting_ptr,
30 const std::shared_ptr<const IHexapodJointCalculator> joint_calculator,
31 const std::shared_ptr<const IHexapodCoordinateConverter> converter);
32
33 void Main() override;
34
35 private:
36 ResultFileImporter result_importer_;
37
38 const std::shared_ptr<GraphicDataBroker> broker_ptr_;
39
40 const std::shared_ptr<const IHexapodJointCalculator> joint_calculator_;
41
42 const std::shared_ptr<const IHexapodCoordinateConverter> converter_;
43
44 void OutputErrorLegPos(const std::string& file,
45 const std::vector<RobotStateNode>& nodes);
46};
47
48} // namespace designlab
49
50#endif // DESIGNLAB_SYSTEM_MAIN_RESULT_VIEWER_H_
プログラムの面の処理のインターフェース.
結果をファイルから読み込むクラス.
結果を表示するシステムのクラス.
void Main() override
主要な処理を行う関数.