mirror of https://github.com/fan-ziqi/rl_sar.git
move matplotlib
This commit is contained in:
parent
1d6ecb2771
commit
75a943e9d8
|
@ -4,3 +4,8 @@ logs
|
||||||
.catkin_tools
|
.catkin_tools
|
||||||
.vscode
|
.vscode
|
||||||
*.csv
|
*.csv
|
||||||
|
*lite3*
|
||||||
|
*fldlar*
|
||||||
|
.cache
|
||||||
|
.json
|
||||||
|
# *gr1t1*
|
|
@ -8,6 +8,9 @@
|
||||||
#include <csignal>
|
#include <csignal>
|
||||||
// #include <signal.h>
|
// #include <signal.h>
|
||||||
|
|
||||||
|
#include "matplotlibcpp.h"
|
||||||
|
namespace plt = matplotlibcpp;
|
||||||
|
|
||||||
class RL_Real : public RL
|
class RL_Real : public RL
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -9,6 +9,9 @@
|
||||||
#include <csignal>
|
#include <csignal>
|
||||||
// #include <signal.h>
|
// #include <signal.h>
|
||||||
|
|
||||||
|
#include "matplotlibcpp.h"
|
||||||
|
namespace plt = matplotlibcpp;
|
||||||
|
|
||||||
using CyberdogData = Robot_Data;
|
using CyberdogData = Robot_Data;
|
||||||
using CyberdogCmd = Motor_Cmd;
|
using CyberdogCmd = Motor_Cmd;
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,9 @@
|
||||||
// #include "robot_msgs/RobotState.h"
|
// #include "robot_msgs/RobotState.h"
|
||||||
// #include "robot_msgs/RobotCommand.h"
|
// #include "robot_msgs/RobotCommand.h"
|
||||||
|
|
||||||
|
#include "matplotlibcpp.h"
|
||||||
|
namespace plt = matplotlibcpp;
|
||||||
|
|
||||||
class RL_Sim : public RL
|
class RL_Sim : public RL
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -4,9 +4,7 @@
|
||||||
#include <torch/script.h>
|
#include <torch/script.h>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <unistd.h>
|
||||||
#include "matplotlibcpp.h"
|
|
||||||
namespace plt = matplotlibcpp;
|
|
||||||
|
|
||||||
#include <yaml-cpp/yaml.h>
|
#include <yaml-cpp/yaml.h>
|
||||||
#define CONFIG_PATH CMAKE_CURRENT_SOURCE_DIR "/config.yaml"
|
#define CONFIG_PATH CMAKE_CURRENT_SOURCE_DIR "/config.yaml"
|
||||||
|
|
Loading…
Reference in New Issue