ros-infrastructure / rospkg

rospkg Python library for ROS
http://wiki.ros.org/rospkg
36 stars 97 forks source link

rospkg for yocto #230

Open kmelgar5 opened 3 years ago

kmelgar5 commented 3 years ago

Is there anything on why yocto (hardknott) is not in the list of supported os's in the os_detect.py? I am trying to rosdep update but I get a "no os found" exception. Upon looking into that python script, no mention of yocto is available.

cottsay commented 3 years ago

Yocto Project isn't currently supported by rospkg or rosdep. Because of the approach Yocto takes to building an OS image, I'm not sure what value detection here would provide.

It might be possible to add support for the Poky reference distro, but a custom distro built on Yocto would need its own identification mechanism built into rospkg anyway.

Could you describe what you're trying to accomplish here?