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

derekjchow's profile - activity

2020-09-29 16:26:10 -0500 received badge  Famous Question (source)
2020-09-29 16:26:10 -0500 received badge  Notable Question (source)
2017-08-03 06:13:36 -0500 received badge  Nice Answer (source)
2016-07-04 08:39:02 -0500 marked best answer Using ExternalProject_Add with catkin

I've been trying to add an external project to catkin using the ExternalProject_Add feature in CMake. My CMakeLists.txt files looks something like follows:

cmake_minimum_required(VERSION 2.8.3)

include(ExternalProject)

ExternalProject_Add( foreignproject
  PREFIX foreignprojectlib
  GIT_REPOSITORY foreignproject.git
  BUILD_IN_SOURCE
  BUILD_COMMAND cmake --build .
  INSTALL_COMMAND ""
)

project(rosproject)

catkin_package(
  INCLUDE_DIRS include ${DIRECTORY_TO_FOREIGN_PROJECT_HEADERS}
  LIBRARIES rosproject foreignproject
  CATKIN_DEPENDS opencv2 roscpp tf
  DEPENDS system_lib
)

include_directories(include
  ${catkin_INCLUDE_DIRS}
)

add_executable(rosnode src/rosnode.cpp)

The problem I am coming across is that the header file from the external project is not being found. In fact, I'm finding that catkin_make (-j1) tries to build rosnode before it builds the external library. Could someone explain the proper way of using ExternalProject_Add or post an example of a CMakeLists.txt file that successfully uses ExternalProject_Add?

2015-11-01 06:58:08 -0500 received badge  Guru (source)
2015-11-01 06:58:08 -0500 received badge  Great Answer (source)
2015-02-20 04:51:24 -0500 received badge  Good Question (source)
2014-08-25 00:38:14 -0500 received badge  Popular Question (source)
2014-05-12 00:45:39 -0500 received badge  Popular Question (source)
2014-05-12 00:45:39 -0500 received badge  Notable Question (source)
2014-05-12 00:45:39 -0500 received badge  Famous Question (source)
2014-04-15 07:56:35 -0500 answered a question How to process pointclouds remotely, on workstation?

The preferred method for sending Kinect data over WiFi is to send the depth image, then convert to a point cloud on the processing PC.

In your situation set up distributed ROS ( http://wiki.ros.org/ROS/Tutorials/Mul... ), then run "roslaunch openni_launch openni.launch" on the turtlebot.

On your host PC, you can run depth_image_proc/point_cloud_xyz to convert from a depth image to a point cloud message.

2014-03-04 02:58:43 -0500 asked a question Conversion from floating point depth image to uint

Hi all,

I recently took some rosbags of Kinect data. However, I recorded the /camera/depth/image topic instead of /camera/depth/image_raw. Consequently my data is all 32FC1 and the node I am using wants 16UC1. What is the best way to convert to the correct image format?

Thanks, Derek

2014-02-16 07:06:21 -0500 asked a question joy_node: symbol lookup error

Hi all,

I'm trying to use joy_node in the joy package, and I get the following error:

/opt/ros/hydro/lib/joy/joy_node: symbol lookup error: /opt/ros/hydro/lib/joy/joy_node: undefined symbol: _ZN3ros7console5printEPNS0_10FilterBaseEPvNS0_6levels5LevelEPKciS7_S7_z

I'm running Mint 15 (Ubuntu 13.04) on ros hydro. joy_node is from the debian package.

Thanks

2014-01-28 17:28:38 -0500 marked best answer Cannot compile diagnostic_updater on ARM device: "apt: command [sudo apt-get install python-rospkg] failed"

I'm trying to compile diagnostic_updater on a ARM device (running Linaro 12.08) using groovy. The command I'm using to compile is

rosdep install diagnostic_updater

The error I'm encountering is

ERROR: the following rosdeps failed to install
apt: command [sudo apt-get install python-rospkg] failed

The reason the command is failing is because python-rospkg doesn't exist as a debian package for ROS. I had acquired rospkg through pip.

Is there are work around I can use to build the package?

2014-01-28 17:27:27 -0500 marked best answer How do you convert a quaternion into an axis-angle representation?

Hello,

I'd like to convert an orientation from geometry_msgs::Quaternion to an axis-angle representation (http://en.wikipedia.org/wiki/Axis-angle_representation). Similarly, I'd like to convert back to a quaternion from an axis-angle value. What ROS libraries are available to preform these conversions?

Thanks

2014-01-28 17:26:01 -0500 marked best answer Armel debian packages

Hi,

I've recently tried to install ROS onto a Linaro system (12.01 or 12.03 I believe). I've been following the generic ROS installation tutorial, and I run into problems when running this command.

sudo apt-get install ros-fuerte-ros-comm

Apt claims that there are no packages found. A quick "apt-cache search ros-" confirms that no packages are around. I've successfully installed ROS this way in the past.

According to the Debian build status, there doesn't seem like ARM packages are being built/hosted anymore. Are they still supported?

2014-01-28 17:25:21 -0500 marked best answer cameracalibrator.py GUI does not start

Hi,

I've been trying to get the camera parameters for my webcam. I'm using the uvc_cam package with camera_calibration package. The commands I use to start are as follows:

`

roscore

rosrun uvc_camera camera_node

rosrun camera_calibration camacalibrator.py --size 10x7 --square 0.022 image:/usb_cam/image_raw camera:=/ Waiting for service //set_camera_info ... OK`

At this point, nothing happens. Does anyone have a rough idea what is going wrong?

Thanks in advance

2013-12-13 06:37:06 -0500 received badge  Notable Question (source)
2013-12-13 06:37:06 -0500 received badge  Famous Question (source)
2013-12-13 06:37:06 -0500 received badge  Popular Question (source)
2013-12-03 11:44:57 -0500 answered a question Has anyone used April Tags with ROS?

I've put together a package to use AprilTags sometime ago based of a C++ library I found here. I've been meaning to polish it up for a while but haven't found time to do it. Your welcome to use what I have as a starting place.

https://derekjchow@bitbucket.org/derekjchow/april_tags

2013-11-26 10:15:11 -0500 received badge  Famous Question (source)
2013-10-14 16:30:52 -0500 received badge  Nice Answer (source)
2013-10-14 07:11:29 -0500 answered a question ROS Groovy installation in linux mint 15

Linux Mint 15 is based of Ubuntu 13.04 Raring. ROS Groovy only supports Ubuntu 12.04 and 12.10 (Mint 13 and 14 respectively). Either consider using ROS Hydro (which supports 13.04) or moving your system to Mint 13 or 14.

2013-10-01 14:31:58 -0500 asked a question Hark installation on ROS Hydro, Linux Mint 15

I'm running into problems getting HARK to work on ROS Hydro. I've followed the instructions here: http://winnie.kuis.kyoto-u.ac.jp/HARK/wiki.cgi?page=HARK-ROS+Installation+Instructions

The problem I'm running into is that there is no option to create a ROS node when using flowdesigner. When I right click and move to the HARK menu, there is nothing ROS related.

2013-08-19 00:02:41 -0500 received badge  Famous Question (source)
2013-07-18 14:44:36 -0500 received badge  Famous Question (source)
2013-07-15 11:11:01 -0500 received badge  Notable Question (source)
2013-07-11 01:30:10 -0500 received badge  Notable Question (source)
2013-06-27 13:38:55 -0500 received badge  Popular Question (source)
2013-06-26 14:38:27 -0500 commented answer Rosbuild does not work on groovy source install

That was exactly my problem. It appears http://packages.ros.org/web/rosinstall/generate/raw/groovy/perception does not include mk amongst other packages.

2013-06-26 08:44:16 -0500 asked a question Rosbuild does not work on groovy source install

Hi all,

I'm running into frustrations getting a rosbuild package to build correct.

My machine was setup following these instructions.

However, I added a new package and rosbuild gives me the following output:

[rosmake-0] Starting >>> mavlink_ros [ make ]
[rosmake-0] Finished <<< mavlink_ros [SKIP] No rule to make target None
[ rosmake ] Results:
[ rosmake ] Built 24 packages with 0 failures.
[ rosmake ] Summary output to directory
[ rosmake ] /home/ubuntu/.ros/rosmake/rosmake_output-20130626-183602

If it's any help, here is the output I get from "rospack find mk"

[rospack] Error: stack/package mk not found

Any insight as to what is going on?