RobotsIO
Loading...
Searching...
No Matches
FileToEigen.h
1/*
2 * Copyright (C) 2020 Istituto Italiano di Tecnologia (IIT)
3 *
4 * This software may be modified and distributed under the terms of the
5 * BSD 3-Clause license. See the accompanying LICENSE file for details.
6 */
7
8#ifndef ROBOTSIO_FILETOEIGEN_H
9#define ROBOTSIO_FILETOEIGEN_H
10
11#include <Eigen/Dense>
12
13namespace RobotsIO {
14 namespace Utils {
15 std::pair<bool, Eigen::MatrixXd> file_to_eigen(const std::string& file_path, const std::size_t& skip_rows, const std::size_t skip_cols, const std::size_t& expected_cols);
16 }
17}
18
19#endif /* ROBOTSIO_FILETOEIGEN_H */