Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
files.hpp
Go to the documentation of this file.
1#ifndef SRC_PLANNING_PLANNING_INCLUDE_UTILS_FILES_HPP_
2#define SRC_PLANNING_PLANNING_INCLUDE_UTILS_FILES_HPP_
3
4#include <ament_index_cpp/get_package_share_directory.hpp>
5#include <filesystem>
6#include <string>
7#include <vector>
8#include <fstream>
9#include <iostream>
10#include "rclcpp/rclcpp.hpp"
11
13
15
16std::vector<PathPoint> read_path_file(const std::string &filename);
17
18std::ofstream openWriteFile(const std::string &filename, const std::string &header = "");
19
20std::ifstream openReadFile(const std::string &filename);
21
22// Track* read_track_file(const std::string& filename);
23
24// void write_path_file(const std::string& filename, std::vector<PathPoint*>
25// path);
26
27#endif // SRC_PLANNING_PLANNING_INCLUDE_UTILS_FILES_HPP_
std::vector< PathPoint > read_path_file(const std::string &filename)
Definition files.cpp:7
std::ifstream openReadFile(const std::string &filename)
Definition files.cpp:44
std::ofstream openWriteFile(const std::string &filename, const std::string &header="")
Definition files.cpp:21
static const std_msgs::msg::Header header