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

MarkG's profile - activity

2019-06-24 02:39:49 -0500 received badge  Student (source)
2019-06-24 02:37:43 -0500 received badge  Self-Learner
2019-06-24 02:37:43 -0500 received badge  Teacher
2017-05-04 02:43:50 -0500 received badge  Famous Question (source)
2016-03-10 19:06:47 -0500 received badge  Famous Question (source)
2016-03-10 19:06:47 -0500 received badge  Notable Question (source)
2016-02-12 13:19:52 -0500 answered a question cv_bridge build fails

doing some more searching, this link

http://answers.ros.org/question/13341...

and this repository

https://github.com/mikejmills/vision_...

works. It seems it is a matter of using the latest openCV 3.1.0, 3.1.0 does not work with the standard cv_bridge.

Used mikejmills version and compiled correctly.

2016-02-12 11:43:25 -0500 received badge  Popular Question (source)
2016-02-12 06:08:46 -0500 received badge  Famous Question (source)
2016-02-11 15:28:12 -0500 asked a question cv_bridge build fails

I'm trying to install cv_bridge on a BeagleBone running Debian. I am using ROS Indigo.

I am getting the following error:

[  5%] Building CXX object vision_opencv/cv_bridge/src/CMakeFiles/cv_bridge_boost.dir/module_opencv2.cpp.o
/home/debian/catkin_ws/src/vision_opencv/cv_bridge/src/module_opencv2.cpp:124:16: error: cannot declare variable ‘g_numpyAllocator’ to be of abstract type ‘NumpyAllocator’
/home/debian/catkin_ws/src/vision_opencv/cv_bridge/src/module_opencv2.cpp:71:7: note:   because the following virtual functions are pure within ‘NumpyAllocator’:
/usr/local/include/opencv2/core/mat.hpp:417:23: note:   virtual cv::UMatData* cv::MatAllocator::allocate(int, const int*, int, void*, size_t*, int, cv::UMatUsageFlags) const
/usr/local/include/opencv2/core/mat.hpp:419:18: note:   virtual bool cv::MatAllocator::allocate(cv::UMatData*, int, cv::UMatUsageFlags) const
/usr/local/include/opencv2/core/mat.hpp:420:18: note:   virtual void cv::MatAllocator::deallocate(cv::UMatData*) const
/home/debian/catkin_ws/src/vision_opencv/cv_bridge/src/module_opencv2.cpp: In function ‘int convert_to_CvMat2(const PyObject*, cv::Mat&)’:
/home/debian/catkin_ws/src/vision_opencv/cv_bridge/src/module_opencv2.cpp:206:11: error: ‘class cv::Mat’ has no member named ‘refcount’
make[2]: *** [vision_opencv/cv_bridge/src/CMakeFiles/cv_bridge_boost.dir/module_opencv2.cpp.o] Error 1
make[1]: *** [vision_opencv/cv_bridge/src/CMakeFiles/cv_bridge_boost.dir/all] Error 2
make: *** [all] Error 2

Tried the usual Google searching and couldn't find an answer. I have OpenCV installed (3.1.0), and verified that OpenCV is working.

Anyone have any thoughts/suggestions?

Thanks Mark

2016-01-27 02:30:33 -0500 received badge  Notable Question (source)
2016-01-22 07:41:06 -0500 received badge  Famous Question (source)
2015-12-17 22:16:42 -0500 received badge  Famous Question
2015-11-23 16:34:15 -0500 received badge  Notable Question
2015-11-23 11:14:14 -0500 received badge  Popular Question
2015-11-17 07:28:09 -0500 answered a question ROS build single package

Thanks dornhege, that's what I was hoping. I'll give it a try today. I normally have a separate workspace for custom packages, but I am trying to keep the released ROS packages and my packages separate.

@gvdhoorn - a combination of both. There are some packages that recompile/link every time (camera_calibration_parsers is an example), while others just check to see if anything changed. All the messages are rebuilt everytime. And yes it takes that long. I'm compiling on the BeagleBone, from a SDcard, so I have to look into the speed there.

2015-11-17 07:26:59 -0500 received badge  Scholar (source)
2015-11-17 07:21:11 -0500 received badge  Enthusiast
2015-11-17 07:05:38 -0500 received badge  Notable Question (source)
2015-11-17 03:39:47 -0500 received badge  Popular Question (source)
2015-11-16 11:52:35 -0500 asked a question ROS build single package

I am developing on a BeagleBone Black, running Debian Wheezy, using ROS Indigo. All the packages I need to use need to be compiled, which is no big deal.

But, right now when I need to compile a single package, all the packages are re-built. Currently I'm up to about 78 packages that I am building every time I add a new one, and that takes about 2 hours.

The steps I am using to build are (these are steps listed here http://wiki.ros.org/indigo/Installati... section 3) :

rosinstall_generator ros_comm ros_control joystick_drivers --rosdistro indigo --deps --wet-only --exclude roslisp --tar > indigo-custom_ros.rosinstall

(add my new package to the list above step)

wstool merge -t src indigo-custom_ros.rosinstall
wstool update -t src

rosdep install --from-paths src --ignore-src --rosdistro indigo -y -r --os=debian:wheezy

sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/indigo

in the last step, can I add the --pkg <name> command somewhere in there so I can only compile that one package? Like this?

sudo ./src/catkin/bin/catkin_make_isolated ***--pkg name***  --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/indigo

Is there another way? Is anything going to break if I do this?

Thanks!

2015-11-12 09:17:18 -0500 received badge  Editor
2015-11-12 06:51:42 -0500 answered a question Compile failed when compiling ros_control

I appreciate everyones feedback. I should have re-read the original link on installing on Debian. I did do a rosdep check... but missed the part about urdfdom(I reran it to verify)... Since this is Debian Wheezy on a BeagleBone, I need to compile a lot of system files including urdfdom, along with all ROS packages... Sometimes my eyes get crossed :)

By following the compile instructions for liburdfdom, I was able to successfully compile the rs_control package.

Thanks!

2015-11-12 06:26:07 -0500 received badge  Popular Question (source)
2015-11-11 11:13:29 -0500 asked a question Compile failed when compiling ros_control

I have had ROS (indigo) running on a BeagleBone Black (running debian), by compiling everything, following this link:

http://wiki.ros.org/indigo/Installati...

I then tried to compile in ros_control (following all the steps at the bottom of the page)

rosinstall_generator ros_comm ros_control --rosdistro indigo --deps --wet-only --exclude roslisp --tar > indigo-custom_ros.rosinstall

The compile failed when trying to compile joint_limit_interface:

==> Processing catkin package: 'joint_limits_interface'
==> Building with env: '/opt/ros/indigo/env.sh'
==> cmake /home/debian/ros_catkin_ws/src/ros_control/joint_limits_interface -DCATKIN_DEVEL_PREFIX=/home/debian/ros_catkin_ws/devel_isolated/joint_limits_interface -DCMAKE_INSTALL_PREFIX=/opt/ros/indigo -DCMAKE_BUILD_TYPE=Release -G Unix Makefiles in '/home/debian/ros_catkin_ws/build_isolated/joint_limits_interface'
CMake Error at CMakeLists.txt:4 (find_package):
  By not providing "Findurdfdom.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "urdfdom", but
  CMake did not find one.

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

    urdfdomConfig.cmake
    urdfdom-config.cmake

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

Looking around, there seems to be some talk on this, but I am still confused on how to proceed with the build.

Anyone have any step by step instructions on how to proceed?

Thanks!

2015-03-03 06:37:06 -0500 received badge  Notable Question (source)
2014-12-04 08:00:25 -0500 received badge  Popular Question (source)
2014-11-25 20:15:32 -0500 asked a question Custom hardware driver

This is my first attempt at ROS, and I have spent a lot of time researching and reading, but there is one "small" piece that escapes me... Here is my setup

PC (Ubuntu 14.04) Full ROS install <------- Ethernet -------> PC/104 (Ubuntu 14.04) minimal ROS install ..................................................................................................| ..............................................................................................PC/104 Digital I/O card (PCM-3724)

I was able to run roscore on the PC/104, and start turtle_sim_node and turtle_teleop_key on the PC... so far so good.

Now I want to interface to the PCM-3724. What would be the best way to write the write() and read() functions? Do I write a linux device driver and then when I start my new node pass in the /dev/xxx parameter?

Any example code (or links to) of writing and reading would be greatly appreciated!!!