roslibjs icon indicating copy to clipboard operation
roslibjs copied to clipboard

V2 releases

Open MatthijsBurgh opened this issue 2 years ago • 10 comments

Release procedure

  • Provide build files? Attached to the release?

ToDo before first release

  • Fix how examples are run
  • Decide on what to do with eventemitter2 (https://github.com/RobotWebTools/roslibjs/pull/344)
  • Remove or fix socket.io (https://github.com/RobotWebTools/roslibjs/pull/648), I think this one should be solved before the first v2 release

ToDo along the way

  • https://github.com/RobotWebTools/roslibjs/pull/647, I think this can be implemented along the way.

MatthijsBurgh avatar Dec 19 '23 07:12 MatthijsBurgh

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?

blackhorsewu avatar Jan 18 '24 20:01 blackhorsewu

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.

EzraBrooks avatar Jan 18 '24 20:01 EzraBrooks

Thanks very much.


From: Ezra Brooks @.> Sent: 19 January 2024 04:37 To: RobotWebTools/roslibjs @.> Cc: blackhorsewu @.>; Comment @.> Subject: Re: [RobotWebTools/roslibjs] V2 releases (Issue #660)

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.

— Reply to this email directly, view it on GitHubhttps://github.com/RobotWebTools/roslibjs/issues/660#issuecomment-1899168995, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOXBVHB2DHISENIRJ5RQQ6TYPGBZ3AVCNFSM6AAAAABA2W7272VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJZGE3DQOJZGU. You are receiving this because you commented.Message ID: @.***>

blackhorsewu avatar Jan 19 '24 00:01 blackhorsewu

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?

blackhorsewu avatar Jan 19 '24 02:01 blackhorsewu

@EzraBrooks Thank you for your help and the examples. I have tried your "urdf.html". There I used 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.

blackhorsewu avatar Jan 19 '24 04:01 blackhorsewu

@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.

EzraBrooks avatar Mar 20 '24 20:03 EzraBrooks

@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.

EzraBrooks avatar Mar 20 '24 20:03 EzraBrooks

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

MatthijsBurgh avatar Mar 21 '24 15:03 MatthijsBurgh

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

EzraBrooks avatar Mar 21 '24 16:03 EzraBrooks

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?

tall1 avatar Mar 26 '24 12:03 tall1

@MatthijsBurgh Any updates on a release for ros2?

YannickdeHoop avatar Jun 19 '24 15:06 YannickdeHoop

I haven't had time to add some ROS 2 integration tests - I'd be happy to review a PR that introduces some so we can check that requirement off and do a release!

EzraBrooks avatar Jun 19 '24 17:06 EzraBrooks

Sorry, but I am in the same situation as @EzraBrooks

MatthijsBurgh avatar Jun 19 '24 21:06 MatthijsBurgh

Opened a dedicated issue to track ROS 2 testing #746

EzraBrooks avatar Jun 28 '24 14:06 EzraBrooks