Go to the documentation of this file.
29 #ifndef SWRI_ROUTE_UTIL_ROUTE_SPEEDS_H_
30 #define SWRI_ROUTE_UTIL_ROUTE_SPEEDS_H_
32 #include <marti_common_msgs/KeyValueArray.h>
33 #include <marti_nav_msgs/ObstacleArray.h>
34 #include <marti_nav_msgs/TrackedObjectArray.h>
35 #include <marti_nav_msgs/RouteSpeedArray.h>
64 void loadFromConfig(
const marti_common_msgs::KeyValueArray &config);
65 void readToConfig(marti_common_msgs::KeyValueArray &config)
const;
69 marti_nav_msgs::RouteSpeedArray &speeds,
119 std::vector<ObstacleData> &obstacle_data,
121 const marti_nav_msgs::ObstacleArray &obstacles_msg);
124 std::vector<ObstacleData> &obstacle_data,
126 const marti_nav_msgs::TrackedObjectArray &obstacles_msg);
129 marti_nav_msgs::RouteSpeedArray &speeds,
130 std::vector<DistanceReport> &reports,
132 const marti_nav_msgs::RoutePosition &route_position,
133 const std::vector<ObstacleData> &obstacles,
136 #endif // SWRI_ROUTE_UTIL_ROUTE_SPEEDS_H_
void loadFromRosParam(const ros::NodeHandle &pnh)
double max_lateral_accel_mss_
Maximum lateral acceleration in accel mode in m/s^2.
swri_math_util::Interpolation1D speed_curve_
void speedsForCurvature(marti_nav_msgs::RouteSpeedArray &speeds, const Route &route, const SpeedForCurvatureParameters ¶meters)
std::vector< tf::Vector3 > polygon
bool use_speed_from_accel_constant_
SpeedForObstaclesParameters()
SpeedForCurvatureParameters()
void loadFromConfig(const marti_common_msgs::KeyValueArray &config)
tf::Vector3 obstacle_point
void readToConfig(marti_common_msgs::KeyValueArray &config) const
double origin_to_right_m_
void speedsForObstacles(marti_nav_msgs::RouteSpeedArray &speeds, std::vector< DistanceReport > &reports, const Route &route, const marti_nav_msgs::RoutePosition &route_position, const std::vector< ObstacleData > &obstacles, const SpeedForObstaclesParameters ¶meters)
void loadFromRosParam(const ros::NodeHandle &pnh)
double origin_to_front_m_
tf::Vector3 vehicle_point
void generateObstacleData(std::vector< ObstacleData > &obstacle_data, const swri_transform_util::Transform g_route_from_obs, const marti_nav_msgs::ObstacleArray &obstacles_msg)
double curvature_filter_size_