The frontend GUI for snappy core
snappyrobotics / snappy-ros Goto Github PK
View Code? Open in Web Editor NEWA collection of Node-red nodes for connecting with ROS (Robot Operating System)
License: GNU General Public License v3.0
A collection of Node-red nodes for connecting with ROS (Robot Operating System)
License: GNU General Public License v3.0
Hello,
I got some troubles when sending topic by publisher node.
Use this node-red example
[{"id":"ae61e4d1.67f2d8","type":"ros-publisher","z":"188aa311.be25ed","topicname":"/test_array2","typepackage":"sensor_msgs","typename":"LaserEcho","x":430,"y":640,"wires":[]},{"id":"ce3405fe.1b8e68","type":"ros-subscriber","z":"188aa311.be25ed","topicname":"/test_array2","typepackage":"sensor_msgs","typename":"LaserEcho","x":250,"y":720,"wires":[["be611075.10172"]]},{"id":"be611075.10172","type":"debug","z":"188aa311.be25ed","name":"","active":true,"console":"false","complete":"false","x":430,"y":720,"wires":[]},{"id":"bcb1fbbc.5d7c78","type":"inject","z":"188aa311.be25ed","name":"","topic":"","payload":"{\"echoes\":[1.1,2,3]}","payloadType":"json","repeat":"","crontab":"","once":false,"x":230,"y":640,"wires":[["ae61e4d1.67f2d8"]]}]
When I am sending topic sensor_msgs/LaserEcho
Whether subscribe by node-red subscriber node
or command line rostopic echo /test_array2
,
I will get empty array array[0]
In the file /ros-publisher/ros-publisher.js
node.on('input', function(msg) {
var msgType = rosnodejs.require(config.typepackage).msg[config.typename]
var x = new msgType()
x.data = msg.payload <<----
node.pub.publish(x)
})
I think the problem should be caused by this part of the program?
Hello. everybody.
I use last version(0.3.4).
I want control property. But it's error state.
snappy-ros/ros-subscriber/ros-subscriber.html
line 63 javascript code. there is an error.
browser error message ar2.length --> ar2 is undefine.
May be window.list is null. So I can't modify ros subscriber.
Could you help me. how to fixed it.
I have a raspberry pi 4 running Rasp OS 64 bits. Installed NODE-RED and ROS Noetic but does not working. Do not allow fill properties in subscribe and publishing nodes. And also have error installing from node-red.
Some ideas?
Thanks in advanced and happy new year
After installation of snappy-ros packages it gives this error. I tried it with different version of node-red. I couldn't find what breakdown this package. It was working well.
2 Sep 10:04:19 - [info] - snappy-ros:ros-subscriber : TypeError: Cannot read property 'split' of undefined
2 Sep 10:04:19 - [info] - snappy-ros:ros-publisher : TypeError: Cannot read property 'split' of undefined
Hello
I'm trying to get subscriptions to work but something is not working as expected.
When I add a Subscribe node the data packagetype is empty and also the datatype combo boxes. What am I doing wrong. The robot/ROS is working fine, are there any dependencies for rosnodejs except running Kinteic version of ROS?
I'm running node version 4.2.6 if that could be a problem
pabi@pabi-desktop:~/.node-red$ node -v
v4.2.6
[ERROR] [1497473691.086] (ros.rosnodejs): Exception trying to subscribe to topic /left_rpm
[INFO] [1497473691.691] (ros): Connected to master at http://localhost:11311!
[WARN] [1497473691.703] (ros): Unable to setup ros logging stream
[WARN] [1497473691.711] (ros): Unable to setup ros logging services
[ERROR] [1497473691.779] (ros.rosnodejs): Exception trying to subscribe to topic /rgb
I haven't used rosnodejs but I guess it need to generate the message types in some way?
Hi
When I subscribing topic like std_msgs/Int32MultiArray.
std_msgs/MultiArrayLayout layout
int32[] data
The node only output int32[] data
.
Lost contents of layout.
Hi there,
I was debugging a Node RED flow from my colleague and realise that your nodes have very a similar look and feel to an existing Node RED node that I wrote: node-red-contrib-ros. This has caused us a little confusion while working with our project.
Could you please make an update to your nodes so that it looks a little bit different to avoid later inconveniences?
In particular, you can change your colour a little bit.
And thanks for the nodes, they're very well made. Keep up the work.
Thank you very much.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.