-
Notifications
You must be signed in to change notification settings - Fork 68
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
Is it possible to publish msg from a website to a specific robot using this ros2-web-bridge? #180
Comments
I'm afraid you cannot send a topic to a specific subscriber (robot) by the current ros2-web-bridge. Will |
@minggangw |
|
Would you use ros2cli to verify if the message has been sent practically? |
I noticed that when publishing a topic by the
I think that is why it failed. Please check if you have a field named |
Do you get these logs by running |
If you are using |
Let me try to understand your problem, and I want to clarify the difference between rosbridge_suite and ros2-web-bridge first:
gzweb uses roslibjs to communicate with the bridge implemented by a nodejs addon if I understand correctly, the bridge is not rosbridge_suite or ros2-web-bridge. Does |
I'm not clear about your entire scenario, but it seems that you use some ROS1 component? |
ros2-web-bridge is compatible with roslibjs by complying with rosbridge v2 protocol I'm not familiar with Gazebo simulator, but I deem publishing a |
I'm not clear why do you need a |
hi @minggangw thank you! |
The topic is published in the bash terminal, and can be echoed in the bash terminal with this modified Index script: but the message is not displayed in the web browser: Publisher https://gist.github.com/newcanopies/85ccc01a27a60a82fccd0fd7a1d7398e Subscriber https://gist.github.com/newcanopies/f679c3ad8464534d29ed5690d56a0532 |
Ending gives this error:
ros2-web-bridge/examples/ setInterval(function () {
|
hi @minggangw $ node examples/index_rclnode.js |
Hi, I have a question.
Is it possible to publish msg from a website to a specific robot using this ros2-web-bridge?
Thanks!
The text was updated successfully, but these errors were encountered: