Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
files.hpp File Reference
#include <ament_index_cpp/get_package_share_directory.hpp>
#include <filesystem>
#include <string>
#include <vector>
#include <fstream>
#include <iostream>
#include "rclcpp/rclcpp.hpp"
#include "common_lib/structures/path_point.hpp"
Include dependency graph for files.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

using PathPoint = common_lib::structures::PathPoint
 

Functions

std::vector< PathPointread_path_file (const std::string &filename)
 
std::ofstream openWriteFile (const std::string &filename, const std::string &header="")
 
std::ifstream openReadFile (const std::string &filename)
 

Typedef Documentation

◆ PathPoint

Definition at line 14 of file files.hpp.

Function Documentation

◆ openReadFile()

std::ifstream openReadFile ( const std::string &  filename)

Definition at line 44 of file files.cpp.

◆ openWriteFile()

std::ofstream openWriteFile ( const std::string &  filename,
const std::string &  header = "" 
)

Definition at line 21 of file files.cpp.

Here is the caller graph for this function:

◆ read_path_file()

std::vector< PathPoint > read_path_file ( const std::string &  filename)

Definition at line 7 of file files.cpp.