voltbro / joybro

ROS joybro package with Arduino samples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

need debounce or smth

houseofbigseals opened this issue · comments

subscribing to buttons like btn1 and checking button state produces errors

def callback(data):
    if data.btn4 == 1:
        <do_smth>

because one time pushing button produces 2-4 calls of <do_smth>

but right now i think we cannot fix it here