This defines a cost function for collision checking. More...
#include <ros/console.h>
#include <pluginlib/class_list_macros.h>
#include <moveit/robot_state/conversions.h>
#include "stomp_moveit/cost_functions/collision_check.h"
Go to the source code of this file.
Namespaces | |
namespace | stomp_moveit |
namespace | stomp_moveit::cost_functions |
Functions | |
static void | applyKernelSmoothing (std::size_t window_size, const Eigen::VectorXd &data, Eigen::VectorXd &smoothed) |
Convenience method that propagates the cost value at center to the window to the adjacent points. | |
Variables | |
static const int | MIN_KERNEL_WINDOW_SIZE = 3 |
This defines a cost function for collision checking.
Definition in file collision_check.cpp.
static void applyKernelSmoothing | ( | std::size_t | window_size, |
const Eigen::VectorXd & | data, | ||
Eigen::VectorXd & | smoothed | ||
) | [static] |
Convenience method that propagates the cost value at center to the window to the adjacent points.
window_size | Size of the kernel, must be less than the size of the 'data' array. |
data | The original data vector |
smoothed | The smoothed data after applying the kernel. |
Definition at line 41 of file collision_check.cpp.
const int MIN_KERNEL_WINDOW_SIZE = 3 [static] |
Definition at line 33 of file collision_check.cpp.