freenect_launch fails on kinetic installed from source raspberryPi/Jessie

asked 2017-04-20 07:41:59 -0500

HeZlah gravatar image

updated 2017-04-20 08:03:40 -0500

HI all,

I have found a bunch of other similar problems to this but nothing that helps. I recently installed Kinetic from source on my pi3/raspbian Jessie using the install guide on ros wiki. However I am unable to get freenect.launch or openni.launch to work with my 360 kinect. Before upgrading to kinetic, I was running Indigo - if I switch back to indigo then openni launches all the camera nodes and everything works fine. So it must be something to do with my ROS config.

This is the crazy path I followed to get my install to where it is today:

 history | grep -E "rosinstall|wstool|catkin_make_isolated|rosdep"
 1660  rosinstall_generator robot depthimage_to_laserscan openni_launch --rosdistro kinetic --deps --wet-only --exclude collada_parser collada_urdf --tar > kinetic-ros_comm-wet.rosinstall
 1661  wstool init src kinetic-ros_comm-wet.rosinstall
 1663  rosdep install --from-paths src --ignore-src --rosdistro kinetic -y -r --os=debian:jessie
 1664  sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/kinetic
 1713  rosinstall_generator ros_comm --rosdistro kinetic --deps --wet-only --tar > kinetic-ros_comm-wet.rosinstall
 1714  wstool init src kinetic-ros_comm-wet.rosinstall
 1715  rosinstall_generator ros_comm depthimage_to_laserscan --rosdistro kinetic --deps --wet-only --tar > kinetic-ros_comm-wet.rosinstall
 1716  wstool merge -t src kinetic-custom_ros.rosinstall
 1718  wstool merge -t src kinetic-ros_comm-wet.rosinstall
 1729  rosdep install -y --from-paths src --ignore-src --rosdistro kinetic -r --os=debian:jessie
 1730  sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/kinetic\
 1731  sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/kinetic
 1791  rosinstall_generator robot tf --rosdistro kinetic --deps --wet-only --tar > kinetic-ros_comm-wet.rosinstall
 1792  wstool merge -t src kinetic-ros_comm-wet.rosinstall
 1793  wstool update -t src
 1794  rosdep install --from-paths src --ignore-src --rosdistro kinetic -y -r --os=debian:jessie
 1795  sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/kinetic
 1814  sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/kinetic
 1823  sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/kinetic
 1879  sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/kinetic
 1914  sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/kinetic
 1942  sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/kinetic
 1979  rosinstall_generator freenect_launch --rosdistro kinetic --deps --wet-only --tar > add_freenect.rosinstall
 1980  wstool merge -t src add_freenect.rosinstall
 1982  wstool update -t src
 1984  rosdep install --from-paths src --ignore-src --rosdistro kinetic -y -r --os=debian:jessie
 1985  sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/kinetic

EDIT: Updated to show missing wstool and rosdep install commands

When I roslaunch freenect_launch freenect.launch I get this:

I don't know how we feel about pastebin here, but there is going to be a lot of dumps in this question so I figure it is neater ..

https://pastebin.com/Jt3uFSHi

When I roslaunch openni_launch openni.launch, I get this:

https://pastebin.com/n3XrN0VW

Let me know if the log files mentioned in those dumps are helpful and I can post them too.

The only kind of similar question that I could find to this problem suggested that maybe ... (more)

edit retag flag offensive close merge delete

Comments

I've recently changed over from Rasbian to Ubuntu Mate which allows for native installation of ROS packages rather than compilation from source. I found everything worked as expected with much shorter compile times. Not a direct solution to your problem but maybe worth considering

rmck gravatar image rmck  ( 2017-08-06 22:50:00 -0500 )edit