def angles_2_str(angles):
    """Prints a joint target"""
    njoints = len(angles)
    if njoints == 6:
        return ('[%.6f, %.6f, %.6f, %.6f, %.6f, %.6f]' % (angles[0], angles[1], angles[2], angles[3], angles[4], angles[5]))
    else:
        return 'this post only supports 6-axis robots'