Adding a key to keyboard node found here [closed]

asked 2013-03-30 04:23:40 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi everybody I am referring to the telop_pr2_keyboard node and specifically to teleop_pr2_keyboard.cpp file (link in title). Can you please tell me what needs to be added in this code so that (in addition to moving the robot using the key A D S W Q E), to add another key so that when it is pressed to switch on a device connected to the modbus_io and when pressed again to switch it off. If anybody can help please drop me a line. Thank you George

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2015-11-26 03:15:11.223083