File ros.js contains URI to rosbridge server which needs to be modified. In Snap! dev-mode new blocks for communication with ROS are avaiable. You can use these blocks for defining your own, specific for robot control. These blocks can publish any message for particular topic and ask service of specific type. ROS services requires type "StringService" which definition is as follows:
string request --- string response
Setup instructions soon
Snap! Build Your Own Blocks
a visual, blocks based programming language inspired by Scratch
written by Jens Mönig and Brian Harvey jens@moenig.org, bh@cs.berkeley.edu
Copyright (C) 2015 by Jens Mönig and Brian Harvey
Snap! is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.