Giter Site home page Giter Site logo

snappyrobotics / snappy-ros Goto Github PK

View Code? Open in Web Editor NEW
15.0 5.0 5.0 3.35 MB

A collection of Node-red nodes for connecting with ROS (Robot Operating System)

License: GNU General Public License v3.0

JavaScript 44.24% HTML 55.76%
node-red ros snappy rosnodejs ros-node robot-operating

snappy-ros's Introduction

snappy-gui

The frontend GUI for snappy core

Test Status : Build Status

Dependency check : Dependency Status

Development dependency check : devDependencies Status

Known Vulnerabilities

npm

Website

npm Bower

GitHub tag

license

snappy-ros's People

Contributors

prajankya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

snappy-ros's Issues

When sending topic, receive an incorrect message. Related to issue #7

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?

Do not work in humble (ubuntu 22.04)

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.

Hi!.. this is working for NODE-RED in ROS Noetic 64 bits?

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

TypeError: Cannot read property 'split' of undefined

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

Not working when running on Ubuntu Mate (Raspberry Pi)

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?

Similar looks and feels with existing Node RED nodes

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.