Function pilz_industrial_motion_planner::determineAndCheckSamplingTime

Function Documentation

bool pilz_industrial_motion_planner::determineAndCheckSamplingTime(const robot_trajectory::RobotTrajectoryPtr &first_trajectory, const robot_trajectory::RobotTrajectoryPtr &second_trajectory, double EPSILON, double &sampling_time)

Determines the sampling time and checks that both trajectroies use the same sampling time.

Returns:

TRUE if the sampling time is equal between all given points (except the last two points of each trajectory), otherwise FALSE.