moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
test_cost_functions.cpp File Reference
#include <gtest/gtest.h>
#include <stomp_moveit/cost_functions.hpp>
Include dependency graph for test_cost_functions.cpp:

Go to the source code of this file.

Functions

 TEST (NoiseGeneratorTest, testGetCostFunctionAllValidStates)
 TEST (NoiseGeneratorTest, testGetCostFunctionInvalidStates)
int main (int argc, char **argv)

Variables

constexpr size_t TIMESTEPS = 100
constexpr size_t VARIABLES = 6
constexpr double PENALTY = 1.0

Detailed Description

Author
Henning Kayser

Definition in file test_cost_functions.cpp.

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

Definition at line 113 of file test_cost_functions.cpp.

◆ TEST() [1/2]

TEST ( NoiseGeneratorTest ,
testGetCostFunctionAllValidStates  )

Definition at line 46 of file test_cost_functions.cpp.

Here is the call graph for this function:

◆ TEST() [2/2]

TEST ( NoiseGeneratorTest ,
testGetCostFunctionInvalidStates  )

Definition at line 71 of file test_cost_functions.cpp.

Here is the call graph for this function:

Variable Documentation

◆ PENALTY

double PENALTY = 1.0
constexpr

Definition at line 44 of file test_cost_functions.cpp.

◆ TIMESTEPS

size_t TIMESTEPS = 100
constexpr

Definition at line 42 of file test_cost_functions.cpp.

◆ VARIABLES

size_t VARIABLES = 6
constexpr

Definition at line 43 of file test_cost_functions.cpp.