Flexiv RDK APIs  1.4
file_io.hpp
Go to the documentation of this file.
1 
6 #ifndef FLEXIV_RDK_FILE_IO_HPP_
7 #define FLEXIV_RDK_FILE_IO_HPP_
8 
9 #include "robot.hpp"
10 
11 namespace flexiv {
12 namespace rdk {
13 
19 class FileIO
20 {
21 public:
27  FileIO(const Robot& robot);
28  virtual ~FileIO();
29 
42  void UploadTrajFile(const std::string& file_dir, const std::string& file_name);
43 
44 private:
45  class Impl;
46  std::unique_ptr<Impl> pimpl_;
47 };
48 
49 } /* namespace rdk */
50 } /* namespace flexiv */
51 
52 #endif /* FLEXIV_RDK_FILE_IO_HPP_ */
Interface for file transfer with the robot. The robot must be put into IDLE mode when transferring fi...
Definition: file_io.hpp:20
void UploadTrajFile(const std::string &file_dir, const std::string &file_name)
[Blocking] Upload a trajectory file (.traj) to the robot.
FileIO(const Robot &robot)
[Non-blocking] Create an instance and initialize file transfer interface.
Main interface with the robot, containing several function categories and background services.
Definition: robot.hpp:24