extended transform pose method to operate on general object instances in addition to robot parts