Skip to main content

Questions tagged [roslibjs]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
19 views

I'd like to use roslibjs with TypeScript types to align with the Angular front-end. Is this feasible?

I found this repo containing type definitions and want to know if this is all I'll need for ensuring compatibility with Angular. Does anybody here have experience with using robot web tools with ...
Aibaahl's user avatar
0 votes
0 answers
30 views

Should I use a FastAPI back-end or rosbridge/roslibjs/ROS1 back-end?

For a project, I need a back-end that will communicate with a robot. I have the front-end needs hammered out, but I'll need basic local authentication, protection from man in the middle attacks, and ...
Aibaahl's user avatar
0 votes
0 answers
11 views

ROS2 cancel action_server goal in javascript

can someone help me regrading how to cancel the action server goal? This is my current code: ...
dines's user avatar
  • 1
1 vote
1 answer
233 views

Issues with Sending ROS2 Action from roslib.js to rosbridge_suite: Unable to Import Message Classes

I'm encountering difficulties sending a ROS2 action from roslib.js to rosbridge_suite. The action is supposed to be handled by rosbridge_suite, but I'm encountering issues related to the import of ...
tapanij's user avatar
  • 21
0 votes
1 answer
17 views

Datatype issue while calling setBool service from JS client

I 'm using this service server in Python: ...
user avatar
0 votes
1 answer
37 views

publish json roslib

I have a dictionary and I tried to JSON.stringify() to turn it into a string which looks like this: ...
user avatar
0 votes
1 answer
15 views

How to pass service parameters in ROSLib.js

According to the ROSLib.js documentation I did this class ...
user avatar
0 votes
1 answer
11 views

roslibjs does not receive message containing sensor_msgs/CompressedImage field

I tried to create the custom message encapsulating several sensor_msgs/CompressedImage fields. I planned to connect it with ...
user avatar
0 votes
2 answers
92 views

Rosbridge in C++

Hi everyone, I'm having a project to build a user interface with ROS in C++. I found that rosbridge is a useful tool but the rosbridge client only support java script, java and python. Is there any ...
user avatar
0 votes
1 answer
8 views

How to change laser scan point size and colour in ros3djs?

I'm visualising laser scan points in ros3dlib using the code snippet below. This works well but the points seem to be displayed as big white blocks on my web GUI. ...
user avatar
0 votes
1 answer
10 views

Access image header information on roslibjs side

Hi all, I can access an image of type opencv format and send it to a web browser using roslibjs library. What I am not sure in is how to access the header information eg. header.stamp and header....
user avatar
0 votes
1 answer
12 views

How to display a stream of terminal messages on a web GUI using roslibjs?

I'm putting together a web GUI using roslibjs and would like to display the stream of terminal messages. I understand I can subscribe to these messages on the ...
user avatar
0 votes
1 answer
20 views

how to keep publishing a same message in roslibjs

Hi everyone, I am trying to control a mobile robot using voice recognition through a website. The problem is my robot only move if a callback funtion of subcribe is call, which means subcriber keep ...
user avatar
0 votes
1 answer
10 views

error when loading a mesh with ros3djs

I am trying to load a .stl 3d model of a drone in a html page using Javascript and ros3djs as follow : ...
user avatar
0 votes
1 answer
11 views

Extremely large network traffic using RosLibJs - possible solutions

Hello! I am using RosLibJs for a web GUI that shows robot data like position, battery status, map etc. Unfortunately, it uses a lot of network traffic (around 20 GBytes per day!). I am thinking this ...
user avatar
0 votes
1 answer
19 views

ros3djs URDF not visible, but mesh loading works?

Hey guys, Im trying to use ros3djs to setup a web interface and load my URDF. I've seen this problem around on the net but nobody seems to have a fix for it? My urdf just isn't loading however there ...
user avatar
0 votes
1 answer
22 views

Correct way of sending messages using roslibjs

I am runing my roscore in heroku container and it launches on some ip adress. Now, I want to create a simple web page where user can send some commands. So these commands can be then serialized from ...
user avatar
0 votes
1 answer
13 views

ROSLIB.Param.get() callback not executing

Hey all, Not sure if something is broken, or if I am doing something wrong. I have started the bridge, and got to the point where when I load the page: ...
user avatar
0 votes
1 answer
14 views

Changing dynamic_reconfigure parameters using rosbridge

I'm developing a node that includes some dynamically-reconfigurable parameters. Eventually, I will write a JavaScript GUI that uses roslibjs and rosbridge to interface with this node and the rest of ...
user avatar
0 votes
1 answer
15 views

seq or time stamp for publishing a message

Hi I am currently working on a web interface to control a turtlebot and i am using ROSLIBJS but i am not too sure what to put for seq and time stamp for the /MoveBaseActionGoal message. If I put a ...
user avatar
0 votes
2 answers
253 views

How can I send JSON data to and from ROS?

I am currently working on a task that involves constant intercommunication between a web browser (using roslibjs) and the ROS system through the rosbridge server. Is there a way to send JSON-formatted ...
user avatar
0 votes
1 answer
55 views

How to change IP to connect to ROS from a browser using ROSBRIDGE without changing the code [closed]

Dear community, I have tried to design a web page that allows me to connect to ROS via ROSBRIDGE. If I want to connect to master I have to change the IP in the code using roslibjs like: var ros = new ...
user avatar
0 votes
1 answer
23 views

can i execute a launch file or run a node through RosWebTool

i am now using roswebtool(roslibjs) to communicate with rosbridge so i can publish topic and subscribe topic in website now i want to remote execute a launch file or run a node in website, is that ...
user avatar
0 votes
1 answer
5 views

Amazon alexa with ROS running locally

I'm running alexa-app server locally on my robot using roslibjs on port 8081, a websocket server (rosbridge_server) on port 9090 and i have connected the alexa-server to a ros service running on the ...
user avatar
0 votes
1 answer
7 views

roslibjs audio_common_msgs wrong array length

Hi, I publish audio_common_msgs Audiodata from my ros module and subscribe to it via roslibjs ...
user avatar
0 votes
1 answer
52 views

roslibjs subscribe to sensor_msgs/image

Hello, I couldn't find an example of how to subscribe to a sensor_msgs/image and display it in a html5 canvas. I already have a page running and I can somehow access the data, but it won't display in ...
user avatar
0 votes
1 answer
33 views

Connecting different computers via Rosbridge

Hi, I was trying to control turtlesim running on my ros computer via another non ros computer. I used the following html file in my non ros computer: ...
user avatar
0 votes
1 answer
6 views

Control turtlesim via webpage

Hi all, I was trying to control turtlesim from a webpage in my android phone. I followed this tutorial: http://iguanatronics.com/simple-tutorial-on-rosbridge-and-roslibjs/ I ran "roslaunch ...
user avatar
0 votes
1 answer
29 views

How to publish Image and IMU data from Android device?

Hi, First of all, i'm a newbie in ROS. I was going through the following tutorial: http://wiki.ros.org/roslibjs/Tutorials/Publishing%20video%20and%20IMU%20data%20with%20roslibjs I kind of understood ...
user avatar
0 votes
1 answer
22 views

Multiple rosbridge_websocket nodes

I'd like to run two rosbridge_websocket nodes - the only difference would be their names. What's the easiest way to do that? I was thinking that I could create my own ROS package based on the ...
user avatar
0 votes
1 answer
10 views

How to send empty message from js to ros

I'm trying to use roslibjs and I want to try to send std_msgs/Empty for take_off or land, I tried to send like takeOff.publish('std_msgs/Empty'); but I receive an error about missing the field ...
user avatar
0 votes
1 answer
47 views

What should be the messageType for a custom message?

HI, I created a custom ROS message: string message int32 a int32 b I will need to publish the messages from the web browser (roslibjs) and show it on the terminal, ...
user avatar
0 votes
1 answer
20 views

Streaming point clouds to webservice with roslibjs

I know that I want the rostopic /camera/depth/points. If I rostopic echo /camera/depth/points then I can see that data in bash. ...
user avatar
0 votes
1 answer
20 views

tf_prefix and tf2_web_republisher (URDF visualization in browser)

Hello everybody ! I have manage to display my custom urdf file in my browser by using this tutorial. However, when I run what I've done alongside my actual robot (or simulation), the visualization ...
user avatar
0 votes
1 answer
20 views

Roslibjs don't get goal result on client

I have a simple ActionLib server, and a roslib js client very similar to the tutorials. When I launch my client in chrome, I see printed in the console: ...
user avatar
0 votes
1 answer
15 views

Can't subscribe to tf with roslibjs

Hello Community, I have a problem with the roslibjs Library. Right now I try to do this tutorial: roslibjs TfClient Tutorial But I can't get it to work. The rosbridge returns this error: ...
user avatar
0 votes
1 answer
17 views

roslibjs MultiArray Message

Hi all, I am trying to create a web interface for a robot, and would like to publish a message of type: std_msgs/Int32MultiArray Thus in my code I have the ...
user avatar
0 votes
1 answer
10 views

How to get error information using roslibjs

Using roslibjs and rosbridge--I'd like to get more information when there is an error, particularly when connecting. My code is: ros = new ROSLIB.Ros({ url: robotUrl }); ros.on('error', function(error)...
user avatar
0 votes
1 answer
74 views

problem with roslib

i try to excute the script simple.html from robridge tutorial page. i have this error : ReferenceError: ROSLIB is not defined simple.html: in line 11 Originally posted by ahmedx724 on ROS Answers ...
user avatar
0 votes
1 answer
47 views

Roslibjs for a client to communicate with simple action Server

Hello, I made a simple action server and client guided by the tutorials, I was able to make everything work. I wanted to take one step more and try to make the action client using ...
user avatar
0 votes
1 answer
10 views

Using roslibjs and one simple action server Errors

Hello, using roslibjs to connect with rosbridge, with the objective of sending a goal to a simple action server, I am getting ...
user avatar
0 votes
1 answer
8 views

roslibjs connection refused

Hi, was going through the tutorial for rosibsjs and tried to create my own websocket connection to my robot. However while opening the connection on my chomre browser, I was given a ...
user avatar
0 votes
1 answer
4 views

ROS Answers SE migration: Web interface

Hello, i'm new in this field and i'm planing to make a test in a turtlebot, the idea is basically to control the robot via web. I read some examples using roslibjs but i don't know how difficult is it....
user avatar
0 votes
1 answer
11 views

Rosbridge and roslibjs: Unable to load the manifest for package

Hello, I'm trying the communication between javascript and Ros. I use the example code of "github.com/RobotWebTools/roslibjs/blob/develop/examples/simple.html " with these changes: ...
user avatar
0 votes
2 answers
49 views

Displaying point cloud in browser

I've been looking into displaying a point cloud in the browser using ros3djs and rosbridge. There's a tutorial for streaming point cloud data from a Kinect, but I just want to take a pointcloud2 ...
user avatar
0 votes
1 answer
153 views

Display ros image on webpage using roslibjs

Hi all, Problem: I am using ros hydro and publishing compressed image on a topic /cameraColor. Also, I am using rosjslib(webpage) to interact with rosbridge_server. Now I want to display image on ...
user avatar
0 votes
1 answer
35 views

Using roslibjs to read a ROS parameter

Hello, I have some Javascript code that uses rosbridge_suite (Hydro debian install under Ubuntu 12.04) and roslibjs (latest version) to read in a parameter value from the rosbridge server and then set ...
user avatar
0 votes
1 answer
44 views

How can I publish an integer and string (Int16 & String) using roslibjs?

hi I am recently learning robotic web tools.In git has some samples. I want to publish an indeger / string message .On refreshing the browser I want to get the string message in command prompt. But In ...
user avatar
0 votes
1 answer
1 view

rosbridge_websocket.launch on fuerte

I tried following this tutorial, but rosbridge_websocket.launch doesn't seem to exist, at least not on fuerte. Is there another way to get things going in fuerte? Originally posted by tjpalmer on ROS ...
user avatar