Carma-platform v4.2.0
CARMA Platform is built on robot operating system (ROS) and utilizes open source software (OSS) that enables Cooperative Driving Automation (CDA) features to allow Automated Driving Systems to interact and cooperate with infrastructure and other vehicles through communication.
|
Classes | |
class | BSpline |
Realization of SplineI that uses the Eigen::Splines library for interpolation. More... | |
class | SplineI |
Interface to a spline interpolator that can be used to smoothly interpolate between points. More... | |
Typedefs | |
typedef Eigen::Spline< double, 2 > | Spline2d |
Functions | |
std::vector< double > | moving_average_filter (const std::vector< double > input, int window_size, bool ignore_first_point=true) |
Extremely simplie moving average filter. More... | |
typedef Eigen::Spline<double, 2> basic_autonomy::smoothing::Spline2d |
Definition at line 29 of file BSpline.hpp.
std::vector< double > basic_autonomy::smoothing::moving_average_filter | ( | const std::vector< double > | input, |
int | window_size, | ||
bool | ignore_first_point = true |
||
) |
Extremely simplie moving average filter.
input | The points to be filtered |
window_size | The number of points to use in the moving window for averaging |
Definition at line 24 of file filters.cpp.
References process_bag::i, and process_traj_logs::start_index.
Referenced by basic_autonomy::waypoint_generation::compose_lanechange_trajectory_from_path(), basic_autonomy::waypoint_generation::compose_lanefollow_trajectory_from_path(), stop_controlled_intersection_tactical_plugin::StopControlledIntersectionTacticalPlugin::compose_trajectory_from_centerline(), stop_and_wait_plugin::StopandWait::compose_trajectory_from_centerline(), and yield_plugin::YieldPlugin::generate_JMT_trajectory().