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

Long Hoang's profile - activity

2022-06-20 16:19:04 -0500 received badge  Student (source)
2015-06-11 20:44:23 -0500 received badge  Famous Question (source)
2015-01-07 08:30:17 -0500 received badge  Self-Learner (source)
2015-01-07 08:30:17 -0500 received badge  Teacher (source)
2014-11-29 21:52:51 -0500 commented answer Camera model not correctly specified.

@mister_kay I used the original PTAM code, since ethzasl_ptam somehow have a GUI bug on my machine. You can find the PTAM code here: http://www.robots.ox.ac.uk/~gk/PTAM/

You still have to "convert" the result of the calibration, into a ros config file, that I can do for you if needed.

2014-11-05 08:12:46 -0500 received badge  Taxonomist
2014-10-23 07:41:23 -0500 received badge  Famous Question (source)
2014-10-10 04:40:59 -0500 received badge  Famous Question (source)
2014-09-25 03:02:31 -0500 received badge  Notable Question (source)
2014-09-05 10:17:02 -0500 received badge  Notable Question (source)
2014-08-18 23:08:59 -0500 received badge  Notable Question (source)
2014-08-11 23:04:45 -0500 received badge  Popular Question (source)
2014-08-08 21:22:51 -0500 asked a question catkin_make_isolated: which has been found in [path] but it is not a catkin package

I am building from source with an isolated catkin workspace. I wonder why it throws "not a catkin package", although catkin_make_isolated is supposed to build plain cmake projects, too.

-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Python version: 2.7
-- Using Debian Python package layout
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /ws/catkin/build_isolated/eigen_conversions/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- catkin 0.5.88
CMake Error at /ws/catkin/src/catkin/cmake/catkin_package.cmake:176 (message):
  catkin_package() CATKIN_DEPENDS on 'orocos_kdl', which has been found in
  '/ws/catkin/build_isolated/orocos_kdl/devel/orocos_kdl-config.cmake', but
  it is not a catkin package
Call Stack (most recent call first):


  /ws/catkin/src/catkin/cmake/catkin_package.cmake:98 (_catkin_package)
  CMakeLists.txt:10 (catkin_package)


-- Configuring incomplete, errors occurred!
See also "/ws/catkin/build_isolated/eigen_conversions/CMakeFiles/CMakeOutput.log".
See also "/ws/catkin/build_isolated/eigen_conversions/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1
<== Failed to process package 'eigen_conversions': 
  Command '/ws/catkin/devel_isolated/geometry_msgs/env.sh make cmake_check_build_system' returned non-zero exit status 2
2014-08-07 08:53:31 -0500 commented answer Failed to build vision_opencv package under 14.04 (isolated catkin)

Thanks. I got it! I just needed the common_msgs package: http://wiki.ros.org/sensor_msgs

2014-08-07 08:52:58 -0500 received badge  Scholar (source)
2014-08-07 08:49:31 -0500 received badge  Popular Question (source)
2014-08-06 22:14:01 -0500 received badge  Editor (source)
2014-08-06 22:09:04 -0500 asked a question Failed to build vision_opencv package under 14.04 (isolated catkin)

I have an isolated catkin_workspace running Hydro (build from source) on an Ubuntu Arm 14.04 running. Now I want to set up opencv support, so I pulled the 'vision_opencv' packages (groovy-devel branch) and did a catkin_make_isolated. Then I got this error:

==> Processing catkin package: 'image_geometry'
==> Building with env: '/ws/catkin/devel_isolated/cpp_common/env.sh'
==> cmake /ws/catkin/src/vision_opencv/image_geometry -DCATKIN_DEVEL_PREFIX=/ws/catkin/devel_isolated/image_geometry -DCMAKE_INSTALL_PREFIX=/ws/catkin/install_isolated in '/ws/catkin/build_isolated/image_geometry'
-- Using CATKIN_DEVEL_PREFIX: /ws/catkin/devel_isolated/image_geometry
-- Using CMAKE_PREFIX_PATH: /ws/catkin/devel_isolated/cpp_common;/ws/catkin/devel_isolated/console_bridge;/ws/catkin/devel_isolated/cmake_modules;/ws/catkin/devel_isolated/genpy;/ws/catkin/devel_isolated/genlisp;/ws/catkin/devel_isolated/gencpp;/ws/catkin/devel_isolated/genmsg;/ws/catkin/devel_isolated/catkin;/ws/catkin/install_isolated
-- This workspace overlays: /ws/catkin/devel_isolated/cpp_common;/ws/catkin/devel_isolated/cmake_modules;/ws/catkin/devel_isolated/genpy;/ws/catkin/devel_isolated/genlisp;/ws/catkin/devel_isolated/gencpp;/ws/catkin/devel_isolated/genmsg;/ws/catkin/devel_isolated/catkin;/ws/catkin/install_isolated
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Python version: 2.7
-- Using Debian Python package layout
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /ws/catkin/build_isolated/image_geometry/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- catkin 0.5.88
CMake Error at /ws/catkin/install_isolated/share/catkin/cmake/catkinConfig.cmake:75 (find_package):
  Could not find a package configuration file provided by "sensor_msgs" with
  any of the following names:

    sensor_msgsConfig.cmake
    sensor_msgs-config.cmake

  Add the installation prefix of "sensor_msgs" to CMAKE_PREFIX_PATH or set
  "sensor_msgs_DIR" to a directory containing one of the above files.  If
  "sensor_msgs" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:4 (find_package)


-- Configuring incomplete, errors occurred!
See also "/ws/catkin/build_isolated/image_geometry/CMakeFiles/CMakeOutput.log".
See also "/ws/catkin/build_isolated/image_geometry/CMakeFiles/CMakeError.log".
<== Failed to process package 'image_geometry': 
  Command '/ws/catkin/devel_isolated/cpp_common/env.sh cmake /ws/catkin/src/vision_opencv/image_geometry -DCATKIN_DEVEL_PREFIX=/ws/catkin/devel_isolated/image_geometry -DCMAKE_INSTALL_PREFIX=/ws/catkin/install_isolated' returned non-zero exit status 1

Reproduce this error by running:
==> cd /ws/catkin/build_isolated/image_geometry && /ws/catkin/devel_isolated/cpp_common/env.sh cmake /ws/catkin/src/vision_opencv/image_geometry -DCATKIN_DEVEL_PREFIX=/ws/catkin/devel_isolated/image_geometry -DCMAKE_INSTALL_PREFIX=/ws/catkin/install_isolated

Command failed, exiting.

It looks like a dependency error. Maybe due to 14.04 some of the libraries are not compatible.

Any ideas?

Update

Here is a part of the CMakeError.log

CMakeFiles/cmTryCompileExec3305167895.dir/CheckSymbolExists.c.o: In function `main':
CheckSymbolExists.c:(.text+0xe): undefined reference to `pthread_create'
CheckSymbolExists.c:(.text+0x12): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
make[1]: Leaving directory `/ws/catkin/build_isolated/image_geometry/CMakeFiles/CMakeTmp'
make[1]: *** [cmTryCompileExec3305167895] Error 1
make: *** [cmTryCompileExec3305167895/fast] Error 2
2014-07-31 17:31:11 -0500 received badge  Popular Question (source)
2014-07-31 03:10:09 -0500 commented answer No GUI during calibration

I got the source here: www.robots.ox.ac.uk/~gk/PTAM/ And this blog post helped me a lot to get it build (there is an include missing in the code..) http://hustcalm.me/blog/2013/09/27/ptam-compilation-on-linux-howto/

2014-07-31 03:10:02 -0500 answered a question No GUI during calibration

I tried it with Bumblebee and make sure that optimus is working, but even with that I did not see any GUI appearing.

So, finally, I just pulled the the original PTAM source code. With that build, I could run the calibration tool (with GUI) and even without using optimus.

As I don't have enough Karma.. you can find some useful Links below in the comments

2014-07-31 00:44:12 -0500 received badge  Enthusiast
2014-07-30 00:32:37 -0500 commented question Problems with the instalation of ROS INDIGO in Ubuntu 14.04

What Linux Distribution are you using?

2014-07-29 10:03:51 -0500 asked a question No GUI during calibration

I am trying to run the calibration tool of the ethzasl_ptam package, but I cannot see any GUI appearing. According to their developer's issue tracker, this problem occurs only for non-nvidia users. But I am using a Samsung NP450R4E Laptop with a NVIDIA graphics card.

Here are some greps of my OpenGL setting:

long@long:~/Workspaces/catkin$ glxinfo | grep "OpenGL version"
OpenGL version string: 4.4.0 NVIDIA 331.38
long@long:~/Workspaces/catkin$ glxinfo | grep -i opengl
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 710M/PCIe/SSE2
OpenGL core profile version string: 4.3.0 NVIDIA 331.38
OpenGL core profile shading language version string: 4.30 NVIDIA via Cg compiler
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.4.0 NVIDIA 331.38
OpenGL shading language version string: 4.40 NVIDIA via Cg compiler
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:

And here is the dump of roslaunch:

SUMMARY
========

CLEAR PARAMETERS
 * /cameracalibrator/

PARAMETERS
 * /cameracalibrator/ARBuffer_height: 900
 * /cameracalibrator/ARBuffer_width: 1200
 * /cameracalibrator/AutoInitPixel: 20
 * /cameracalibrator/BundleMEstimator: Tukey
 * /cameracalibrator/Calibrator_BlurSigma: 1.0
 * /cameracalibrator/Calibrator_MeanGate: 10
 * /cameracalibrator/Calibrator_MinCornersForGrabbedImage: 20
 * /cameracalibrator/Calibrator_NoDistortion: 0
 * /cameracalibrator/Calibrator_Optimize: 0
 * /cameracalibrator/Calibrator_Show: 0
 * /cameracalibrator/Cam_cx: 0.50417
 * /cameracalibrator/Cam_cy: 0.51687
 * /cameracalibrator/Cam_fx: 0.795574
 * /cameracalibrator/Cam_fy: 1.25149
 * /cameracalibrator/Cam_s: 0.482014
 * /cameracalibrator/CameraCalibrator_CornerPatchSize: 20
 * /cameracalibrator/CameraCalibrator_MaxStepDistFraction: 0.3
 * /cameracalibrator/CandidateMinSTScore: 70
 * /cameracalibrator/FASTMethod: OAST16
 * /cameracalibrator/GLWindowMenu_Enable: True
 * /cameracalibrator/GLWindowMenu_mgvnMenuItemWidth: 90
 * /cameracalibrator/GLWindowMenu_mgvnMenuTextOffset: 20
 * /cameracalibrator/ImageSizeX: 640
 * /cameracalibrator/ImageSizeY: 480
 * /cameracalibrator/InitLevel: 1
 * /cameracalibrator/MaxKF: 15
 * /cameracalibrator/MaxKFDistWiggleMult: 1
 * /cameracalibrator/MaxPatchesPerFrame: 300
 * /cameracalibrator/MaxStereoInitLoops: 4
 * /cameracalibrator/MinTukeySigma: 0.4
 * /cameracalibrator/NoLevelZeroMapPoints: True
 * /cameracalibrator/TrackerMEstimator: Tukey
 * /cameracalibrator/TrackingQualityFoundPixels: 50
 * /cameracalibrator/UseKFPixelDist: True
 * /cameracalibrator/WiggleScale: 0.1
 * /cameracalibrator/gui: True
 * /cameracalibrator/parent_frame: world
 * /rosdistro: indigo
 * /rosversion: 1.11.7

NODES
  /
    cameracalibrator (ptam/cameracalibrator)

core service [/rosout] found
process[cameracalibrator-1]: started with pid [26423]
GNU gdb (Ubuntu 7.7-0ubuntu3.1) 7.7
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <url>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<url>.
Find the GDB manual and other documentation resources online at:
<url>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/long/Workspaces/catkin/devel/lib/ptam/cameracalibrator...(no debugging symbols found)...done.
Starting program: /home/long/Workspaces/catkin/devel/lib/ptam/cameracalibrator image:=camera/image_raw pose:=pose __name:=cameracalibrator __log:=/home/long/.ros/log/a8fc0c54-172f-11e4-971f-24f5aa6f5f4f/cameracalibrator-1.log
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp ...
(more)
2014-07-28 11:10:04 -0500 received badge  Famous Question (source)
2014-07-28 10:01:40 -0500 commented answer Camera model not correctly specified.

http://wiki.ros.org/ethzasl_ptam/Tutorials/camera_calibration

2014-07-28 10:01:18 -0500 answered a question Camera model not correctly specified.

Thanks for your help! It wasn't the solution, but it gave me the right direction.

Indeed, there was something wrong with my .yaml calibration files. The thing is that the SVO library requires the calibration file in another format. To generate the calibration file, I used the cameracalibrator of the image_pipeline. Unfortunately, the library requires a calibration file in ATAN format. A tool to calibrate a monocular camera using this ATAN camera model, can be found below in the comments!

I hope, I can help other people who encounter the same problem!

2014-07-28 07:58:20 -0500 received badge  Supporter (source)
2014-07-27 05:20:23 -0500 received badge  Notable Question (source)
2014-07-26 23:47:04 -0500 received badge  Popular Question (source)