Skip to content

unable to set joint_config for a group. #450

@obucklin

Description

@obucklin

JointTrajectoryPoint looks like this:

JointTrajectoryPoint((8.368, -0.832, -2.226, -0.091, 1.021, -1.290, 0.000, 1.840, -0.091), (2, 2, 2, 0, 0, 0, 0, 0, 0), (0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000), (-0.668, 0.061, -0.932, 0.000, 0.580, 0.091, -0.000, -0.671, -0.000), (0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000), Duration(14, 709338369))

configuration looks like this:

Configuration((8.368, -0.832, -2.226, -0.091, 1.021, -1.290, 0.000, 1.840, -0.091, -7.412, -2.960, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 21.202, 0.000, -2.960, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, -7.412, -2.960, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000), (2, 2, 2, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 2, 2, 2, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0), ('bridge1_joint_EA_X', 'robot11_joint_EA_Y', 'robot11_joint_EA_Z', 'robot11_joint_1', 'robot11_joint_2', 'robot11_joint_3', 'robot11_joint_4', 'robot11_joint_5', 'robot11_joint_6', 'robot12_joint_EA_Y', 'robot12_joint_EA_Z', 'robot12_joint_1', 'robot12_joint_2', 'robot12_joint_3', 'robot12_joint_4', 'robot12_joint_5', 'robot12_joint_6', 'bridge2_joint_EA_X', 'robot21_joint_EA_Y', 'robot21_joint_EA_Z', 'robot21_joint_1', 'robot21_joint_2', 'robot21_joint_3', 'robot21_joint_4', 'robot21_joint_5', 'robot21_joint_6', 'robot22_joint_EA_Y', 'robot22_joint_EA_Z', 'robot22_joint_1', 'robot22_joint_2', 'robot22_joint_3', 'robot22_joint_4', 'robot22_joint_5', 'robot22_joint_6'))

I would set the joint values with configuration.joint_values = joint_trajectory_point.joint_values , but I get the error: Exception: joint_values must have length 34, object of length 9 given

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions