LightLib
PROS library for VEX V5: EKF/MCL localization, RAMSETE path following, high-level chassis API
Loading...
Searching...
No Matches
io.hpp File Reference
#include <optional>
#include <vector>
#include "geometry/profilepoint.hpp"

Go to the source code of this file.

Namespaces

namespace  squiggles
 Copyright 2020 Jonathan Bayless.
 

Functions

int squiggles::serialize_path (std::ostream &out, std::vector< ProfilePoint > path)
 Writes the path data to a CSV file.
 
std::optional< std::vector< ProfilePoint > > squiggles::deserialize_path (std::istream &in)
 Converts CSV data into a path.
 
std::optional< std::vector< ProfilePoint > > squiggles::deserialize_pathfinder_path (std::istream &left, std::istream &right)
 Converts CSV data from the Pathfinder library's format to a Squiggles path.