Skip to content

MoveItVisualTools::publishTrajectoryPath rejects valid Multi-DoF paths #91

@werner291

Description

@werner291

Hello,
the function bool MoveItVisualTools::publishTrajectoryPath(const moveit_msgs::RobotTrajectory& trajectory_msg, const robot_state::RobotStateConstPtr robot_state, bool blocking) has this bit in it:

// Check if we have enough points
if (!trajectory_msg.joint_trajectory.points.size())
{
    ROS_WARN_STREAM_NAMED(name_, "Unable to publish trajectory path because trajectory has zero points");
    return false;
}

Trajectories that have multi-DoF points, but no regular points, get rejected by that check.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions