Functions | |
def | add_trigger |
def | callback |
def | gen_callback |
def | update_trigger |
Variables | |
before = default_select | |
list | cand = [x[0] for x in selects if x[0] != None and (rospy.Time.now()-x[1]).to_sec()<deadtime] |
list | conditions = [x for x in sys.argv[1:] if not ':=' in x] |
tuple | deadtime = rospy.get_param('~patient', 0.5) |
tuple | default_select = rospy.get_param('~default_select', None) |
tuple | freq = rospy.get_param('~frequency', 20.0) |
tuple | lockobj = thread.allocate_lock() |
tuple | looprate = rospy.Rate(freq) |
tuple | mux_client = rospy.ServiceProxy(mux_name_+'/select',MuxSelect) |
tuple | mux_name_ = rospy.resolve_name('mux') |
list | next_topic = cand[0] |
list | selects = [] |
tuple | size = len(conditions) |
list | subs = [] |
def mux_selector.add_trigger | ( | topic, | |
expr, | |||
select, | |||
index | |||
) |
Definition at line 26 of file mux_selector.py.
def mux_selector.callback | ( | m, | |
expr, | |||
topic, | |||
index | |||
) |
Definition at line 11 of file mux_selector.py.
def mux_selector.gen_callback | ( | expr, | |
select, | |||
index | |||
) |
Definition at line 23 of file mux_selector.py.
def mux_selector.update_trigger | ( | conditions | ) |
Definition at line 48 of file mux_selector.py.
Definition at line 91 of file mux_selector.py.
list mux_selector::cand = [x[0] for x in selects if x[0] != None and (rospy.Time.now()-x[1]).to_sec()<deadtime] |
Definition at line 96 of file mux_selector.py.
Definition at line 66 of file mux_selector.py.
tuple mux_selector::deadtime = rospy.get_param('~patient', 0.5) |
Definition at line 77 of file mux_selector.py.
tuple mux_selector::default_select = rospy.get_param('~default_select', None) |
Definition at line 79 of file mux_selector.py.
tuple mux_selector::freq = rospy.get_param('~frequency', 20.0) |
Definition at line 78 of file mux_selector.py.
tuple mux_selector::lockobj = thread.allocate_lock() |
Definition at line 61 of file mux_selector.py.
tuple mux_selector::looprate = rospy.Rate(freq) |
Definition at line 93 of file mux_selector.py.
tuple mux_selector::mux_client = rospy.ServiceProxy(mux_name_+'/select',MuxSelect) |
Definition at line 83 of file mux_selector.py.
tuple mux_selector::mux_name_ = rospy.resolve_name('mux') |
Definition at line 81 of file mux_selector.py.
Definition at line 100 of file mux_selector.py.
list mux_selector::selects = [] |
Definition at line 62 of file mux_selector.py.
tuple mux_selector::size = len(conditions) |
Definition at line 85 of file mux_selector.py.
list mux_selector::subs = [] |
Definition at line 63 of file mux_selector.py.