Questions tagged [roslibjs]
The roslibjs tag has no usage guidance.
50
questions
0
votes
0
answers
2
views
Issue while doing actions for Ros2 using ROSLIBJS . Getting NonexistentFieldException
I am using this version of roslib [npm version]
"roslib": "github:RobotWebTools/roslibjs#ros2-actions-no-typescript"
I am using ros2 classes only provided from ros2-actionclient ...
1
vote
0
answers
12
views
ROS 2 send_action_goal Operation not Recognized
Description
After installing rosbridge_server with apt-get, I try to run the example of action client in ROS 2 from roslibjs. The ros client is connected but then when the example code tries to send ...
0
votes
1
answer
21
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 ...
0
votes
0
answers
13
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:
...
1
vote
1
answer
313
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 ...
0
votes
1
answer
19
views
Datatype issue while calling setBool service from JS client
I 'm using this service server in Python:
...
0
votes
1
answer
40
views
publish json roslib
I have a dictionary and I tried to JSON.stringify() to turn it into a string which looks like this: ...
0
votes
1
answer
19
views
How to pass service parameters in ROSLib.js
According to the ROSLib.js documentation I did this class
...
0
votes
1
answer
12
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 ...
0
votes
2
answers
108
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 ...
0
votes
1
answer
13
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. ...
0
votes
1
answer
12
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....
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 ...
0
votes
1
answer
21
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 ...
0
votes
1
answer
16
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 :
...
0
votes
1
answer
14
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 ...
0
votes
1
answer
24
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 ...
0
votes
1
answer
25
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 ...
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:
...
0
votes
1
answer
20
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 ...
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 ...
0
votes
2
answers
292
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 ...
0
votes
1
answer
63
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 ...
0
votes
1
answer
25
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 ...
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 ...
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
...
0
votes
1
answer
64
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 ...
0
votes
1
answer
42
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:
...
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 ...
0
votes
1
answer
33
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 ...
0
votes
1
answer
25
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 ...
0
votes
1
answer
13
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
...
0
votes
1
answer
51
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, ...
0
votes
1
answer
24
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. ...
0
votes
1
answer
21
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 ...
0
votes
1
answer
23
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:
...
0
votes
1
answer
22
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:
...
0
votes
1
answer
18
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 ...
0
votes
1
answer
12
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)...
0
votes
1
answer
95
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 ...
0
votes
1
answer
53
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 ...
0
votes
1
answer
16
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 ...
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 ...
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....
0
votes
1
answer
14
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:
...
0
votes
2
answers
59
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 ...
0
votes
1
answer
174
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 ...
0
votes
1
answer
42
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 ...
0
votes
1
answer
50
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 ...
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 ...