#include <route_speeds.h>
Public Member Functions | |
void | loadFromConfig (const marti_common_msgs::KeyValueArray &config) |
void | loadFromRosParam (const ros::NodeHandle &pnh) |
void | readToConfig (marti_common_msgs::KeyValueArray &config) const |
SpeedForCurvatureParameters () | |
Public Attributes | |
double | curvature_filter_size_ |
double | max_lateral_accel_mss_ |
Maximum lateral acceleration in accel mode in m/s^2. More... | |
swri_math_util::Interpolation1D | speed_curve_ |
bool | use_speed_from_accel_constant_ |
Definition at line 41 of file route_speeds.h.
swri_route_util::SpeedForCurvatureParameters::SpeedForCurvatureParameters | ( | ) |
Definition at line 52 of file route_speeds.cpp.
void swri_route_util::SpeedForCurvatureParameters::loadFromConfig | ( | const marti_common_msgs::KeyValueArray & | config | ) |
Definition at line 84 of file route_speeds.cpp.
void swri_route_util::SpeedForCurvatureParameters::loadFromRosParam | ( | const ros::NodeHandle & | pnh | ) |
Definition at line 60 of file route_speeds.cpp.
void swri_route_util::SpeedForCurvatureParameters::readToConfig | ( | marti_common_msgs::KeyValueArray & | config | ) | const |
Definition at line 165 of file route_speeds.cpp.
double swri_route_util::SpeedForCurvatureParameters::curvature_filter_size_ |
Definition at line 56 of file route_speeds.h.
double swri_route_util::SpeedForCurvatureParameters::max_lateral_accel_mss_ |
Maximum lateral acceleration in accel mode in m/s^2.
Definition at line 48 of file route_speeds.h.
swri_math_util::Interpolation1D swri_route_util::SpeedForCurvatureParameters::speed_curve_ |
Speed as a function of curvature, applies when use_speed_from_accel_constant is false
Definition at line 52 of file route_speeds.h.
bool swri_route_util::SpeedForCurvatureParameters::use_speed_from_accel_constant_ |
If true, use maximum lateral acceleration constant to calculate maximum speed. Otherwise, the curvature vs speed curve will be used.
Definition at line 46 of file route_speeds.h.