mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-26 11:43:25 +00:00
blocks: treat cancel in prompt as empty string
This commit is contained in:
@@ -107,7 +107,7 @@ new ROSLIB.Topic({ ros: ros.ros, name: ros.priv + 'prompt', messageType: 'clover
|
||||
name: ros.priv + 'input/' + msg.id,
|
||||
messageType: 'std_msgs/String',
|
||||
latch: true
|
||||
}).publish(new ROSLIB.Message({ data: response }));
|
||||
}).publish(new ROSLIB.Message({ data: response || '' }));
|
||||
});
|
||||
|
||||
window.stopProgram = function() {
|
||||
|
||||
Reference in New Issue
Block a user