launch a launch file using a joy button
Is it possible somehow to launch a launch file just by pressing a button on a joystick? until now what I saw, is that joystick is used to send velocity messages to the cmd_vel topic. but I haven't seen it used to launch something. if it is possible what is the best way to do that? THANKS in advance.