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

dpkoch's profile - activity

2020-08-26 10:16:58 -0500 received badge  Guru (source)
2020-08-26 10:16:58 -0500 received badge  Great Answer (source)
2020-08-24 08:17:27 -0500 received badge  Enlightened (source)
2020-06-18 05:40:07 -0500 received badge  Famous Question (source)
2020-06-12 02:20:22 -0500 received badge  Good Answer (source)
2020-06-08 22:31:32 -0500 received badge  Nice Answer (source)
2020-05-21 17:04:20 -0500 received badge  Self-Learner (source)
2020-03-26 05:27:28 -0500 received badge  Teacher (source)
2020-03-25 14:02:18 -0500 answered a question Error Pre-Release Melodic

I was struggling with a similar failure, and found this issue that seems related: https://github.com/ros-infrastructure/

2019-12-16 09:38:02 -0500 received badge  Notable Question (source)
2019-12-16 09:38:02 -0500 received badge  Popular Question (source)
2019-09-12 15:22:44 -0500 commented answer Buildfarm: melodic, debian stretch: gazebo unmet dependency

Okay thanks. So I should use the gazebo9 dependency explicitly instead of just gazebo for melodic? The code will compile

2019-09-11 17:49:38 -0500 asked a question debain gazebo

debain gazebo Hi, I'm trying to release a package for melodic. My prerelease builds for ubuntu bionic all work fine, bu

2019-09-11 17:48:17 -0500 asked a question Buildfarm: melodic, debian stretch: gazebo unmet dependency

Buildfarm: melodic, debian stretch: gazebo unmet dependency Hi, I'm trying to release a package for melodic. My prerele

2019-07-20 07:36:57 -0500 received badge  Famous Question (source)
2018-03-15 10:36:03 -0500 received badge  Enthusiast
2018-03-12 14:30:19 -0500 marked best answer Skip package for release on ARM

I have a repository that contains a metapackage and several packages. One of those packages is a simulation package and provides some gazebo plugins, and so depends on the gazebo_plugins package.

I am releasing this set of packages through the buildfarm, but the prerelease test fails for the ARM builds because the the gazebo_plugins package is not built for ARM. I can't simply skip the builds in my CMakeLists.txt using something like if (gazebo_plugins_FOUND) <build my plugins> endif(), because the prerelease test fails at the rosdep level with KeyError: "The cache has no package named 'ros-kinetic-gazebo-plugins'". So as long as gazebo_plugins is listed as a dependency in my package.xml, it's going to fail on the buildfarm.

My question is, how can I simply skip that package for the ARM builds on the buildfarm? This appears to be what is happening for the gazebo_plugins package; the Jenkins jobs for the ARM builds report their status as "Aborted." How can I replicate this behavior and abort just my simulation package for ARM while still building it for the other architectures, and while also building all my other packages for ARM? Or is anyone aware of a better solution?

2018-03-12 14:30:18 -0500 commented answer Skip package for release on ARM

This fixes my issues, my prerelease tests now run successfully. Thanks for the info.

2018-03-12 13:40:09 -0500 received badge  Notable Question (source)
2018-03-09 22:00:23 -0500 received badge  Popular Question (source)
2018-03-08 12:10:51 -0500 asked a question Skip package for release on ARM

Skip package for release on ARM I have a repository that contains a metapackage and several packages. One of those packa

2017-07-13 20:00:00 -0500 received badge  Notable Question (source)
2017-07-13 20:00:00 -0500 received badge  Famous Question (source)
2017-05-26 03:41:33 -0500 received badge  Popular Question (source)
2017-05-25 14:01:37 -0500 edited answer CMake can't find yaml-cpp on debian jessie

As per @gvdhoorn's suggestion, this was resolved by switching to PkgConfig to find the module. So now instead of find_pa

2017-05-25 14:01:13 -0500 edited answer CMake can't find yaml-cpp on debian jessie

As per @gvdhoorn's suggestion, this was resolved by switching to PkgConfig to find the module. So now instead of find_pa

2017-05-25 14:00:18 -0500 marked best answer CMake can't find yaml-cpp on debian jessie

I'm trying to release a new package on the ROS build farm, and the debian jessie build is currently failing due to the yaml-cpp dependency. I have it listed as a dependency in my package.xml:

<depend>yaml-cpp</depend>
and the relevant lines in my CMakeLists.txt are:
find_package(yaml-cpp REQUIRED)
catkin_package(
  ...
  DEPENDS YAML_CPP
)
include_directories(
  ${catkin_INCLUDE_DIRS}
  ${YAML_CPP_INCLUDE_DIR}
)
add_library(my_target ...)
target_link_libraries(my_target ${YAML_CPP_LIBRARIES})

On Ubuntu this builds just fine, both locally and on the ROS build farm. For the Debian Jessie build, however, I get the following error:

CMake Error at CMakeLists.txt:18 (find_package):
  By not providing "Findyaml-cpp.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "yaml-cpp",
  but CMake did not find one.

  Could not find a package configuration file provided by "yaml-cpp" with any
  of the following names:

    yaml-cppConfig.cmake
    yaml-cpp-config.cmake

  Add the installation prefix of "yaml-cpp" to CMAKE_PREFIX_PATH or set
  "yaml-cpp_DIR" to a directory containing one of the above files.  If
  "yaml-cpp" provides a separate development package or SDK, be sure it has
  been installed.


-- Configuring incomplete, errors occurred!

The rosdep dependency seems to be resolving just fine (It installs libyaml-cpp-dev properly and rosdep resolve yaml-cpp --os=debian:jessie returns as expected). However, it seems that either the CMake config file either isn't being installed or is not being found. I'm not sure what to do about this, especially since it works in Ubuntu.

The package that's failing is the "rosflight" package at https://github.com/rosflight/rosfligh... . If you're set up to run ROS prerelease tests, the error can be reproduced using the following commands:


mkdir -p /tmp/prerelease_job
cd /tmp/prerelease_job
generate_prerelease_script.py \
  https://raw.githubusercontent.com/ros-infrastructure/ros_buildfarm_config/production/index.yaml \
  kinetic default debian jessie amd64 \
  --custom-repo \
    rosflight:git:https://github.com/rosflight/rosflight-release.git:release/kinetic/rosflight/0.1.2-0 \
    rosflight_msgs:git:https://github.com/rosflight/rosflight-release.git:release/kinetic/rosflight_msgs/0.1.2-0 \
    rosflight_pkgs:git:https://github.com/rosflight/rosflight-release.git:release/kinetic/rosflight_pkgs/0.1.2-0 \
    rosflight_utils:git:https://github.com/rosflight/rosflight-release.git:release/kinetic/rosflight_utils/0.1.2-0 \
  --level 0 \
  --output-dir ./
./prerelease.sh

Any insights would be appreciated!

2017-05-25 14:00:05 -0500 answered a question CMake can't find yaml-cpp on debian jessie

As per @gvdhoorn's suggestion, this was resolved by switching to PkgConfig to find the module. So now instead of find_pa

2017-05-25 13:55:24 -0500 commented question CMake can't find yaml-cpp on debian jessie

@gvdhoorn That appears to have resolved my issue, thanks! Switching to PkgConfig seems to work for both Ubuntu and Debia

2017-05-24 16:29:25 -0500 edited question CMake can't find yaml-cpp on debian jessie

CMake can't find yaml-cpp on debian jessie I'm trying to release a new package on the ROS build farm, and the debian jes

2017-05-24 16:29:06 -0500 edited question CMake can't find yaml-cpp on debian jessie

CMake can't find yaml-cpp on debian jessie I'm trying to release a new package on the ROS build farm, and the debian jes

2017-05-24 16:28:08 -0500 asked a question CMake can't find yaml-cpp on debian jessie

CMake can't find yaml-cpp on debian jessie I'm trying to release a new package on the ROS build farm, and the debian jes

2017-02-27 19:08:00 -0500 commented answer Xsens error comunicating with Ubuntu 12.04

@vinmean The steps in this post fixed the make error for me:

https://base.xsens.com/hc/en-us/commu...

I also needed to run sudo depmod after the other steps for the module to be loaded at boot.

2016-05-09 20:49:08 -0500 marked best answer Open low tcp port from ROS node

I'm currently writing a node that uses a 3rd party library. This library listens for multi-cast data streaming on port 1001. The problem I'm running into is that it requires root privileges to bind to this port (or any port <= 1023).

There isn't anything I can do to change the port number that I'm aware of, and (a) I don't want to have to run the node as root, especially since this node is likely gong to be distributed, and (b) as far as I can tell running the node as root isn't possible even if I wanted too.

Does anybody know what I might be able to do to listen to port 1001 from within my node?

2016-03-16 01:25:06 -0500 received badge  Good Question (source)
2014-09-23 05:18:11 -0500 received badge  Famous Question (source)
2014-04-20 14:11:31 -0500 marked best answer Linking errors with message_filters in Hydro

I am migrating a node from Fuerte to Hydro that uses the message_filters ApproximateTime sync policy. The code being used for this is functionally identical to the example on the message_filters wiki page, and worked great in Fuerte. But now when I try to build, I get the following linker errors:

CMakeFiles/vo_rgbd_node.dir/src/ros_server.cpp.o: In function `message_filters::Synchronizer<message_filters::sync_policies::approximatetime<sensor_msgs::image_<std::allocator<void> >, sensor_msgs::Image_<std::allocator<void> >, sensor_msgs::CameraInfo_<std::allocator<void> >, message_filters::NullType, message_filters::NullType, message_filters::NullType, message_filters::NullType, message_filters::NullType, message_filters::NullType> >::disconnectAll()':
ros_server.cpp:(.text._ZN15message_filters12SynchronizerINS_13sync_policies15ApproximateTimeIN11sensor_msgs6Image_ISaIvEEES6_NS3_11CameraInfo_IS5_EENS_8NullTypeES9_S9_S9_S9_S9_EEE13disconnectAllEv[message_filters::Synchronizer<message_filters::sync_policies::approximatetime<sensor_msgs::image_<std::allocator<void> >, sensor_msgs::Image_<std::allocator<void> >, sensor_msgs::CameraInfo_<std::allocator<void> >, message_filters::NullType, message_filters::NullType, message_filters::NullType, message_filters::NullType, message_filters::NullType, message_filters::NullType> >::disconnectAll()]+0x41): undefined reference to `message_filters::Connection::disconnect()'
CMakeFiles/vo_rgbd_node.dir/src/ros_server.cpp.o: In function `message_filters::Connection message_filters::SimpleFilter<sensor_msgs::image_<std::allocator<void> > >::registerCallback<ros::messageevent<sensor_msgs::image_<std::allocator<void> > const> const&>(boost::function<void (ros::messageevent<sensor_msgs::image_<std::allocator<void=""> > const> const&)> const&)':
ros_server.cpp:(.text._ZN15message_filters12SimpleFilterIN11sensor_msgs6Image_ISaIvEEEE16registerCallbackIRKN3ros12MessageEventIKS4_EEEENS_10ConnectionERKN5boost8functionIFvT_EEE[message_filters::Connection message_filters::SimpleFilter<sensor_msgs::image_<std::allocator<void> > >::registerCallback<ros::messageevent<sensor_msgs::image_<std::allocator<void> > const> const&>(boost::function<void (ros::messageevent<sensor_msgs::image_<std::allocator<void=""> > const> const&)> const&)]+0x9a): undefined reference to `message_filters::Connection::Connection(boost::function<void ()=""> const&)'
CMakeFiles/vo_rgbd_node.dir/src/ros_server.cpp.o: In function `message_filters::Connection message_filters::SimpleFilter<sensor_msgs::camerainfo_<std::allocator<void> > >::registerCallback<ros::messageevent<sensor_msgs::camerainfo_<std::allocator<void> > const> const&>(boost::function<void (ros::messageevent<sensor_msgs::camerainfo_<std::allocator<void=""> > const> const&)> const&)':
ros_server.cpp:(.text._ZN15message_filters12SimpleFilterIN11sensor_msgs11CameraInfo_ISaIvEEEE16registerCallbackIRKN3ros12MessageEventIKS4_EEEENS_10ConnectionERKN5boost8functionIFvT_EEE[message_filters::Connection message_filters::SimpleFilter<sensor_msgs::camerainfo_<std::allocator<void> > >::registerCallback<ros::messageevent<sensor_msgs::camerainfo_<std::allocator<void> > const> const&>(boost::function<void (ros::messageevent<sensor_msgs::camerainfo_<std::allocator<void=""> > const> const&)> const&)]+0x9a): undefined reference to `message_filters::Connection::Connection(boost::function<void ()=""> const&)'
collect2: ld returned 1 exit status

The contents of my CMakeLists.txt are as follows:

cmake_minimum_required(VERSION 2.8.3)
project(vo_rgbd)

find_package(catkin REQUIRED COMPONENTS
  cv_bridge
  geometry_msgs
  relative_nav_msgs
  roscpp
  sensor_msgs
)

find_package(Boost REQUIRED)
find_package(Eigen REQUIRED)
find_package(OpenCV REQUIRED)

catkin_package()

include_directories(
  include
  ${catkin_INCLUDE_DIRS}
  ${Boost_INCLUDE_DIRS}
  ${Eigne_INCLUDE_DIRS}
  ${OpenCV_INCLUDE_DIRS}
)

add_executable(vo_rgbd_node src/vo_rgbd_node.cpp src/ros_server.cpp src/pose_estimator.cpp)
add_dependencies(vo_rgbd_node relative_nav_msgs_generate_messages_cpp)
target_link_libraries(vo_rgbd_node
  ${catkin_LIBRARIES}
  ${Boost_LIBRARIES}
  ${Eigen_LIBRARIES}
  ${OpenCV_LIBRARIES}
)

Am I possibly missing something in my CMakeLists.txt that could be causing these errors, or might there be a different cause?

Thanks