-
Notifications
You must be signed in to change notification settings - Fork 380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to init websocket connection: ws does not work in the browser #501
Labels
Comments
ROS Version: galactic is ros2. you sholud use ros2-web-bridge |
|
k-aguete
pushed a commit
to k-aguete/roslibjs
that referenced
this issue
Oct 21, 2022
* (transpiler) always enable errors * (transpiler) throw error on LogError * (transpiler) fix properties regex
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I am trying to setup a web interface using svelte and this package with a turtlebot3 simulation on ros2 galactic.
I have used
npm install roslib
to set up this npm module in my project.This is what I have in my client-side script (JS):
I have the simulation up and running with rosbridge_suite and rosbridge_server is up on port 9090 of localhost.
Expected Behavior
I should be able to set up a WebSocket connection.
Actual Behavior
When I open up my web interface I get this error:
The text was updated successfully, but these errors were encountered: