|
MoveIt Pro API
Core Behaviors for MoveIt Pro
|
Tests for moveit_pro.planning.interpolate_joint_path.
| test_interpolate_joint_path.test_empty_path_raises | ( | ) |
interpolate_joint_path raises when the input path has no waypoints.
| test_interpolate_joint_path.test_endpoints_preserved_exactly | ( | ) |
First and last waypoints in the output should match the inputs bit-exactly.
| test_interpolate_joint_path.test_intermediate_values_are_linear | ( | ) |
Intermediate waypoints lie on the straight line between consecutive inputs.
| test_interpolate_joint_path.test_mismatched_waypoint_dimensions_raises | ( | ) |
interpolate_joint_path raises when waypoints have different dimensions.
| test_interpolate_joint_path.test_multi_segment_no_corner_duplication | ( | ) |
A 3-waypoint path stitches without duplicating the intermediate corner.
| test_interpolate_joint_path.test_nan_step_raises | ( | ) |
interpolate_joint_path raises when max_joint_step is NaN (would otherwise bypass <= 0).
| test_interpolate_joint_path.test_negative_step_raises | ( | ) |
interpolate_joint_path raises when max_joint_step is negative.
| test_interpolate_joint_path.test_no_step_exceeds_bound | ( | ) |
Every adjacent pair in the output respects the per-joint (L-infinity) bound.
| test_interpolate_joint_path.test_non_finite_waypoint_raises | ( | ) |
interpolate_joint_path raises when a waypoint contains NaN.
| test_interpolate_joint_path.test_single_waypoint_raises | ( | ) |
interpolate_joint_path raises when the input has a single waypoint.
| test_interpolate_joint_path.test_step_count_uses_largest_joint_delta | ( | ) |
ceil(max_delta / step) drives step count; joint 0 (0.6 rad) wins over joint 1 (0.1 rad).
| test_interpolate_joint_path.test_threshold_boundary_probe | ( | ) |
Pin the ceil() boundary: 0.20/0.20 -> 2 waypoints; 0.20/0.19 -> 3 waypoints.
| test_interpolate_joint_path.test_tiny_step_overflow_guard_raises | ( | ) |
interpolate_joint_path raises rather than overflowing on a near-zero step.
| test_interpolate_joint_path.test_zero_dimensional_waypoints_raises | ( | ) |
interpolate_joint_path raises on zero-length waypoints (would otherwise crash maxCoeff()).
| test_interpolate_joint_path.test_zero_step_raises | ( | ) |
interpolate_joint_path raises when max_joint_step is zero.