rqt_joint_trajectory_controller.update_combo module

rqt_joint_trajectory_controller.update_combo.update_combo(combo, new_vals)

Update the contents of a combo box with a set of new values.

If the previously selected element is still present in the new values, it will remain as active selection, even if its index has changed. This will not trigger any signal.

If the previously selected element is no longer present in the new values, the combo will unset its selection. This will trigger signals for changed element.