Code Monkey home page Code Monkey logo

Comments (13)

MatthijsBurgh avatar MatthijsBurgh commented on June 26, 2024 1

I think we should first make sure we run some ROS2 tests in CI, before releasing a v2

from roslibjs.

blackhorsewu avatar blackhorsewu commented on June 26, 2024

Are the roslibjs and ros3djs workable and usable at the moment? Or which version, v1 or v2, should I use, that is if any one of them is usable?

from roslibjs.

EzraBrooks avatar EzraBrooks commented on June 26, 2024

The roslibjs release on NPM still works. We're working on releasing 2.0, which will include new features. I'm not sure about ros3djs.

from roslibjs.

blackhorsewu avatar blackhorsewu commented on June 26, 2024

from roslibjs.

blackhorsewu avatar blackhorsewu commented on June 26, 2024

I have tried npm install roslibjs, and it reported that "No valid versions available for roslibjs". Then I tried npm install roslib, it warned me "no such file or directory, open '/home/victor/flask_apps/package.json". I ignored it and run the urdf.html example. Then flask reported "GET /build/roslib.js HTTP/1.1" 404 -. So, where can I find /build/roslib.js and where should I put it?

from roslibjs.

blackhorsewu avatar blackhorsewu commented on June 26, 2024

@EzraBrooks Thank you for your help and the examples. I have tried your "urdf.html". There I used <script src="https://cdn.jsdelivr.net/npm/roslib@1/build/roslib.js"></script> to get the "roslib.js" and now the web page is working and showed "Connected" in Green.
My next question is how do I display the urdf model on the web page? I have seen there is also a "urdf.html" example in ros3djs. However, I do not know how to feed the urdfModel of your "urdf.html" from my ROS into the ROS3D.UrdfClient. Hopefully the "urdf.html" example of ros3djs can visualize my urdf model. Thank you for your help.

from roslibjs.

EzraBrooks avatar EzraBrooks commented on June 26, 2024

@MatthijsBurgh Do you think we're good to go to release 2.0 now? I've been using recent builds of the library on my project for quite awhile now and it seems very stable.

I think that instead of attaching build outputs to the release on GitHub we can probably just point users to the UMD version of the build output via unpkg so we don't have to duplicate effort between publishing to NPM and publishing a CDN build.

from roslibjs.

EzraBrooks avatar EzraBrooks commented on June 26, 2024

@blackhorsewu Sorry I missed your comment here. I actually don't have much experience with ros3djs. I personally use https://github.com/gkjohnson/urdf-loaders. However, you're welcome to open a Discussion if you're still looking for advice.

from roslibjs.

EzraBrooks avatar EzraBrooks commented on June 26, 2024

that makes sense. we use ros2 on my project so it definitely works!

from roslibjs.

tall1 avatar tall1 commented on June 26, 2024

that makes sense. we use ros2 on my project so it definitely works!

Can you please provide a guide on how to run roslibjs on ros2?

from roslibjs.

Related Issues (20)

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.