6 #ifndef FLEXIV_RDK_FILE_IO_HPP_
7 #define FLEXIV_RDK_FILE_IO_HPP_
48 void UploadTrajFile(
const std::string& file_dir,
const std::string& file_name);
76 std::unique_ptr<Impl> pimpl_;
Interface to exchange files with the robot. Only certain types of file can be transferred.
std::string DownloadTrajFile(const std::string &file_name)
[Blocking] Download a trajectory file (.traj) from the robot.
void UploadTrajFile(const std::string &file_dir, const std::string &file_name)
[Blocking] Upload a trajectory file (.traj) to the robot.
std::vector< std::string > traj_files_list() const
[Blocking] A list of all trajectory files currently stored in the connected robot.
FileIO(const Robot &robot)
[Non-blocking] Instantiate the file exchange interface.
void DownloadTrajFile(const std::string &file_name, const std::string &save_dir)
[Blocking] Download a trajectory file (.traj) from the robot and save to the specified directory.
Main interface to control the robot, containing several function categories and background services.