move matplotlib

This commit is contained in:
fan-ziqi 2024-05-24 12:03:27 +08:00
parent 1d6ecb2771
commit 75a943e9d8
5 changed files with 16 additions and 4 deletions

5
.gitignore vendored
View File

@ -4,3 +4,8 @@ logs
.catkin_tools
.vscode
*.csv
*lite3*
*fldlar*
.cache
.json
# *gr1t1*

View File

@ -8,6 +8,9 @@
#include <csignal>
// #include <signal.h>
#include "matplotlibcpp.h"
namespace plt = matplotlibcpp;
class RL_Real : public RL
{
public:

View File

@ -9,6 +9,9 @@
#include <csignal>
// #include <signal.h>
#include "matplotlibcpp.h"
namespace plt = matplotlibcpp;
using CyberdogData = Robot_Data;
using CyberdogCmd = Motor_Cmd;

View File

@ -14,6 +14,9 @@
// #include "robot_msgs/RobotState.h"
// #include "robot_msgs/RobotCommand.h"
#include "matplotlibcpp.h"
namespace plt = matplotlibcpp;
class RL_Sim : public RL
{
public:

View File

@ -4,9 +4,7 @@
#include <torch/script.h>
#include <iostream>
#include <string>
#include "matplotlibcpp.h"
namespace plt = matplotlibcpp;
#include <unistd.h>
#include <yaml-cpp/yaml.h>
#define CONFIG_PATH CMAKE_CURRENT_SOURCE_DIR "/config.yaml"