Skip to content

Commit

Permalink
Add troubleshooting section
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Sorokin committed Jul 9, 2014
1 parent c0dd617 commit f11baf0
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,20 @@ Pre-built files can be found in either [roslib.js](build/roslib.js) or [roslib.m

Alternatively, you can use the current release via the Robot Web Tools CDN: ([full](http://cdn.robotwebtools.org/roslibjs/current/roslib.js)) | ([min](http://cdn.robotwebtools.org/roslibjs/current/roslib.min.js))

### Troubleshooting

1. Check that connection is established. You can listen to error and
connection events to report them to console. See
examples/simple.html for a complete example:

ros.on('error', function(error) { console.log( error ); });
ros.on('connection', function() { console.log('Connection made!'); });

1. Check that you have the websocket server is running on
port 9090. Something like this should do:

netstat -a | grep 9090

### Dependencies
roslibjs depends on:

Expand Down

0 comments on commit f11baf0

Please sign in to comment.