ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

rosdep experienced error: Could not detect OS

asked 2019-03-03 21:20:37 -0500

gao1158 gravatar image

updated 2019-03-04 02:15:24 -0500

gvdhoorn gravatar image

I try to install Kinect ros_comm from source to my IOT2000 device which run yactol linux with the tutorial: [ ] when I run rosdep update, I get Rosdep experienced error:

Could not detect OS['windows' , 'ubuntu',....]

How could I fix this?

edit retag flag offensive close merge delete



which run yactol linux

do you mean Yocto Linux?

gvdhoorn gravatar image gvdhoorn  ( 2019-03-04 02:15:46 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2019-03-04 12:42:25 -0500

130s gravatar image

ROS core toolset (like rosdep) utilizes OS detection functionality that a package called rospkg provides. Looks like yocto is not supported yet by rospkg. There was a PR that didn't get merged. You can suggest a support by opening a pull request to rospkg. I haven't found a tutorial for how to add a support for a new OS, but looking into the changes done in some previous PRs might help. I think the core of the change should be going to happen in

edit flag offensive delete link more


I would actually sugges to not attempt manual cross-compilation to Yocto of ROS 1, but use one of the available build systems. See #q296472 for a related Q&A.

gvdhoorn gravatar image gvdhoorn  ( 2019-03-04 14:34:54 -0500 )edit

Question Tools



Asked: 2019-03-03 21:20:37 -0500

Seen: 788 times

Last updated: Mar 04 '19