7#ifndef _GEOMETRY_PROFILE_POINT_HPP_
8#define _GEOMETRY_PROFILE_POINT_HPP_
55 ", t: " + std::to_string(
time) +
"}";
79 return os <<
"ProfilePoint(ControlVector(Pose(" +
80 std::to_string(
p.vector.
pose.
x) +
"," +
81 std::to_string(
p.vector.
pose.
y) +
"," +
82 std::to_string(
p.vector.
pose.
yaw) +
")," +
83 std::to_string(
p.vector.
vel) +
"," +
84 std::to_string(
p.vector.
accel) +
"," +
85 std::to_string(
p.vector.
jerk) +
"),{" +
86 std::to_string(
p.wheel_velocities[0]) +
"," +
87 std::to_string(
p.wheel_velocities[1]) +
"}," +
88 std::to_string(
p.curvature) +
"," + std::to_string(
p.time) +
std::string to_string() const
Serializes the Control Vector data for debugging.
std::string to_csv() const
Copyright 2020 Jonathan Bayless.
bool nearly_equal(const double &a, const double &b, double epsilon=1e-5)
std::string to_string() const
Serializes the Profile Point data for debugging.
std::string to_csv() const
friend std::ostream & operator<<(std::ostream &os, const ProfilePoint &p)
ProfilePoint(ControlVector ivector, std::vector< double > iwheel_velocities, double icurvature, double itime)
Defines a state along a motion profiled path.
bool operator==(const ProfilePoint &other) const
std::vector< double > wheel_velocities