Coder Social home page Coder Social logo

Comments (10)

jwhendy avatar jwhendy commented on July 19, 2024

How did you fix this?

from class_loader.

bionade24 avatar bionade24 commented on July 19, 2024

I believe I wrote this once in a mail, that some of the packages under ROS1 github group with a 2.x release are for ROS2. So we have to choose the 1.x Releases. They're still both versions in development, at some packages you can see 1.x updates after 2.x was updated. So just stay with 1.x releases, I was just silly and believed that everything under ROS is for ROS1

from class_loader.

jwhendy avatar jwhendy commented on July 19, 2024

You did say that. I just thought ROS1 = 1.x and ROS2 = 2.x for the versioning. For this package, how do you identify which is ROS1 vs. ROS2, as there is no 2.x in releases? Is it 0.x vs. 1.x?

from class_loader.

bionade24 avatar bionade24 commented on July 19, 2024

Probably yes. Will try it when I'm at home.

from class_loader.

jwhendy avatar jwhendy commented on July 19, 2024

Did you check on this and how to tell ROS1 vs. ROS2? Is it always the lowest major version number (e.g. 0 or 1) vs. the higher (1 or 2)?

from class_loader.

bionade24 avatar bionade24 commented on July 19, 2024

I only had the case where it was the lower one, but I'll ask.

from class_loader.

nuclearsandwich avatar nuclearsandwich commented on July 19, 2024

class_loader in ROS 1 will likely always occupy the 0.x version space. Versions greater than 1.x are being used for ROS 2. There is a possibility that the class_loader codebase for ROS 1 and ROS 2 may unify in time.

When choosing class_loader releases you should check the ROS distribution you are targeting and use the same version. For example here is the class_loader entry for Melodic on the ROS index https://index.ros.org/p/class_loader/github-ros-class_loader/#melodic which specifies the currently released version 0.4.1.

from class_loader.

bionade24 avatar bionade24 commented on July 19, 2024

But, e.g. pluginlib uses 1.x and 2.x releases. So it's always the lower number for ROS1, isn't it?

from class_loader.

nuclearsandwich avatar nuclearsandwich commented on July 19, 2024

But, e.g. pluginlib uses 1.x and 2.x releases. So it's always the lower number for ROS1, isn't it?

The only thing you should be relying on is what the ROS distribution reports. Any other heuristic is not guaranteed even if it may not ever be incorrect.

from class_loader.

bionade24 avatar bionade24 commented on July 19, 2024

Ok. When we fetch the correc version from the API of index.ros.org, it shouldn't be a problem.

from class_loader.

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.