Functions | Variables
test_time_parameterization.cpp File Reference
#include <gtest/gtest.h>
#include <fstream>
#include <moveit/robot_state/robot_state.h>
#include <moveit/robot_model/robot_model.h>
#include <moveit/robot_trajectory/robot_trajectory.h>
#include <moveit/trajectory_processing/iterative_spline_parameterization.h>
#include <moveit/trajectory_processing/iterative_time_parameterization.h>
#include <moveit/utils/robot_model_test_utils.h>
Include dependency graph for test_time_parameterization.cpp:

Go to the source code of this file.

Functions

int initRepeatedPointTrajectory (robot_trajectory::RobotTrajectory &trajectory)
 
int initStraightTrajectory (robot_trajectory::RobotTrajectory &trajectory, double vel_i=0.0, double vel_f=0.0, double acc_i=0.0, double acc_f=0.0)
 
int main (int argc, char **argv)
 
void printTrajectory (robot_trajectory::RobotTrajectory &trajectory)
 
 TEST (TestTimeParameterization, TestIterativeParabolic)
 
 TEST (TestTimeParameterization, TestIterativeSpline)
 
 TEST (TestTimeParameterization, TestIterativeSplineAddPoints)
 
 TEST (TestTimeParameterization, TestRepeatedPoint)
 

Variables

moveit::core::RobotModelConstPtr rmodel = moveit::core::loadTestingRobotModel("pr2")
 
robot_trajectory::RobotTrajectory trajectory (rmodel, "right_arm")
 

Function Documentation

◆ initRepeatedPointTrajectory()

int initRepeatedPointTrajectory ( robot_trajectory::RobotTrajectory trajectory)

Definition at line 51 of file test_time_parameterization.cpp.

◆ initStraightTrajectory()

int initStraightTrajectory ( robot_trajectory::RobotTrajectory trajectory,
double  vel_i = 0.0,
double  vel_f = 0.0,
double  acc_i = 0.0,
double  acc_f = 0.0 
)

Definition at line 79 of file test_time_parameterization.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 183 of file test_time_parameterization.cpp.

◆ printTrajectory()

void printTrajectory ( robot_trajectory::RobotTrajectory trajectory)

Definition at line 110 of file test_time_parameterization.cpp.

◆ TEST() [1/4]

TEST ( TestTimeParameterization  ,
TestIterativeParabolic   
)

Definition at line 136 of file test_time_parameterization.cpp.

◆ TEST() [2/4]

TEST ( TestTimeParameterization  ,
TestIterativeSpline   
)

Definition at line 148 of file test_time_parameterization.cpp.

◆ TEST() [3/4]

TEST ( TestTimeParameterization  ,
TestIterativeSplineAddPoints   
)

Definition at line 160 of file test_time_parameterization.cpp.

◆ TEST() [4/4]

TEST ( TestTimeParameterization  ,
TestRepeatedPoint   
)

Definition at line 173 of file test_time_parameterization.cpp.

Variable Documentation

◆ rmodel

moveit::core::RobotModelConstPtr rmodel = moveit::core::loadTestingRobotModel("pr2")

Definition at line 47 of file test_time_parameterization.cpp.

◆ trajectory

robot_trajectory::RobotTrajectory trajectory(rmodel, "right_arm")


moveit_core
Author(s): Ioan Sucan , Sachin Chitta , Acorn Pooley
autogenerated on Fri Oct 11 2019 03:56:04