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

Caba's profile - activity

2021-03-30 21:29:27 -0500 received badge  Great Answer (source)
2021-03-30 21:29:27 -0500 received badge  Guru (source)
2020-01-27 06:58:39 -0500 received badge  Taxonomist
2017-11-03 10:44:59 -0500 received badge  Enlightened (source)
2017-11-03 10:44:59 -0500 received badge  Good Answer (source)
2017-10-01 04:28:48 -0500 commented question Problem using PCL 1.8 with ROS Indigo

If it may helps [here](If it may helps here there is a simple C++ library based on PCL 1.8 and here the ROS pkg that use

2017-10-01 04:27:00 -0500 commented question Problem using PCL 1.8 with ROS Indigo

I managed to make it work with both 1.7 and 1.8 libraries installed. However I guess that you can simply installed that

2017-10-01 04:27:00 -0500 received badge  Commentator
2017-09-30 14:45:16 -0500 received badge  Student (source)
2017-09-05 14:20:39 -0500 commented answer Unable to open ".yml" file using cv::FileStorage in ROS Kinetic

I'm experimenting the same issue and the absolute path does not solve it. There is the same problem in this unsolved que

2016-07-09 02:15:03 -0500 answered a question arrow not showing in rviz

Hi,

I did not run the code but I am pretty sure that it is because you set uncorrectly the scales of the arrow. For the tutorial you mean, they used a CUBE as shape, so what they want 1 meter for all the dimensions. But for the arrow the dimensions have a different meaning. See this in the section Objects Types they explain the meaning of the scale for the arrow. Moreover the dimensions definition depends on the way you used to specify the arrow Pose (Points or Quaternion).

In your case, you used quaternion, so:

scale.x is the shaft diameter

scale.y is the head diameter

scale.z is the head length

You set all those values equal to 1, so that is the reason to be of the cylinder.

Hope this help.

2016-07-09 01:59:37 -0500 commented answer launch other launch files and ROS nodes

The "arg" stuff is like creating a variable. When you launch the file you can pass the name of the folder as parameter (roslaunch name_package launnch_file FOLDER:=new_folder) otherwise it will use the one specified in the default tag. See here for more opts

2016-07-09 01:56:55 -0500 commented answer launch other launch files and ROS nodes

<arg name="FOLDER" default="/home/nicola/test/"/> <node pkg="rosbag" type="record" name="recorder" output="screen" args="-a -o $(arg FOLDER)"/>

2016-07-08 16:29:36 -0500 commented answer launch other launch files and ROS nodes

You can launch it from whatever folder you are in, just type:

roslaunch <name_package> file.launch

If you use roslaunch file.launch you have to be in the launch folder of the package.

I am not completely understing your question, is this what you mean?

2016-07-08 16:09:04 -0500 received badge  Nice Answer (source)
2016-07-08 16:05:56 -0500 commented answer Problem using PCL 1.8 with ROS Indigo

Otherwise create a new workspace and try compiling there your package, I am pretty sure it is not problem of the CMakeLists.txt file. More than this I cannot help, sorry.

2016-07-08 16:02:20 -0500 commented answer Problem using PCL 1.8 with ROS Indigo

Did you remove everything in the "build" folder of the workspace and then recompiled all the packages you have? That is what I did, I m sorry but I have just a very basic knowledge of cmake and I actually do not know why deleting the cache and recompiling everything works, but it works.

2016-07-08 09:12:53 -0500 received badge  Teacher (source)
2016-07-08 04:25:04 -0500 answered a question launch other launch files and ROS nodes

To launch all together you have simply to include all the launch files into a single launch file. (Take a look to this ).

Regarding the rosbag check this answer, the xml syntax for rosbag record -ais: <node pkg="rosbag" type="record" name="recorder" output="screen" args="-a"/> (in "args" you can put all the arguments for that command)

So the whole launch file to launch all you need is:

<launch>

   <include file="$(find turtlebot_gazebo)/launch/turtlebot_world.launch"/>
   <include file="$(find turtlebot_gazebo)/launch/gmapping_demo.launch"/>
   <include file="$(find turtlebot_rviz_launchers)/launch/view_robot.launch"/>
   <include file="$(find turtlebot_teleop)/launch/keyboard_t.launch"/>

   <!-- 
     The rosbag will be saved in the ~./ros folder
   -->
   <node pkg="rosbag" type="record" name="recorder" output="screen" args="-a"/>    
</launch>

Now you can launch it from the terminal as a normal launch file.

2016-03-11 06:15:28 -0500 received badge  Famous Question (source)
2016-03-11 06:15:28 -0500 received badge  Notable Question (source)
2016-02-16 08:20:15 -0500 received badge  Popular Question (source)
2016-02-15 05:48:34 -0500 answered a question Problem using PCL 1.8 with ROS Indigo

I just resolved it by removing the Cmake Cache, then it compiled correctly.

Although I still don't understand why it was not working fine the first time.

2016-02-12 05:50:24 -0500 received badge  Famous Question (source)
2016-02-12 05:29:53 -0500 asked a question Problem using PCL 1.8 with ROS Indigo

Hi all,

I am trying to compile a package based on the lccp_segmentation algorithm available in the pcl-trunk. The compilation and installation of the pcl-trunk were fine since I have the same version of the package in a simple .cpp file (not in ROS), and I can compile everything with no problems. But when I try to compile my ROS package it seems to be a conflict between PCL 1.7 and 1.8, since the output in the terminal is something like:

link library [libpcl_common.so] in /usr/lib may be hidden by files in:  /usr/local/lib

Which I guess it yields to the following error:

*** No rule to make target `/usr/lib/libboost_system-mt.so', needed by `/home/nicola/ros_ws/master_thesis/devel/lib/segmentation_lccp/segmentationLCCP'

My setup is: - Ubuntu 14.04.3 LTS - Ros indigo - PCL (1.7 and 1.8 are both installed)

I have just a very basic knowledge about the linking stuff and cmake, I also surfed a lot in the internet but none had my same problem. I hope to have gave you enough information, below there are the outputs of the catkin_make and cmake commands of the above commented source codes.

Thanks in advance,

Here the output of the catkin_make command:

catkin_make --only-pkg-with-deps segmentation_lccp
Base path: /home/nicola/ros_ws/master_thesis
Source space: /home/nicola/ros_ws/master_thesis/src
Build space: /home/nicola/ros_ws/master_thesis/build
Devel space: /home/nicola/ros_ws/master_thesis/devel
Install space: /home/nicola/ros_ws/master_thesis/install
Whitelisted packages: segmentation_lccp
####
#### Running command: "make cmake_check_build_system" in "/home/nicola/ros_ws/master_thesis/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/nicola/ros_ws/master_thesis/devel
-- Using CMAKE_PREFIX_PATH: /home/nicola/ros_ws/master_thesis/devel;/opt/ros/indigo
-- This workspace overlays: /home/nicola/ros_ws/master_thesis/devel;/opt/ros/indigo
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/nicola/ros_ws/master_thesis/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests
-- catkin 0.6.16
-- BUILD_SHARED_LIBS is on
-- Using CATKIN_WHITELIST_PACKAGES: segmentation_lccp
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 1 packages in topological order:
-- ~~  - segmentation_lccp
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'segmentation_lccp'
-- ==> add_subdirectory(grasping_novel_objects/segmentation_lccp)
-- Using these message generators: gencpp;genlisp;genpy
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   system
--   filesystem
--   thread
--   date_time
--   iostreams
--   serialization
-- checking for module 'libopenni2'
--   package 'libopenni2' not found
-- Could NOT find OpenNI2 (missing:  OPENNI2_LIBRARY OPENNI2_INCLUDE_DIRS) 
** WARNING ** io features related to openni2 will be disabled
-- Could NOT find ensenso (missing:  ENSENSO_LIBRARY ENSENSO_INCLUDE_DIR) 
** WARNING ** io features related to ensenso will be disabled
-- Could NOT find DAVIDSDK (missing:  DAVIDSDK_LIBRARY DAVIDSDK_INCLUDE_DIR) 
** WARNING ** io features related to davidSDK will be disabled
-- Could NOT find DSSDK (missing:  _DSSDK_LIBRARIES) 
** WARNING ** io features related to dssdk will be disabled
** WARNING ** io features related to pcap will be disabled
** WARNING ** io features related to png will be disabled
** WARNING ** io features related to libusb-1.0 will be disabled
-- checking for module 'libopenni2'
--   package 'libopenni2' not found
-- Could NOT find OpenNI2 (missing:  OPENNI2_LIBRARY OPENNI2_INCLUDE_DIRS) 
** WARNING ** visualization features related to openni2 will be ...
(more)
2015-10-15 04:02:48 -0500 commented answer connect tf tree of multiple turtlebots 2

I am sorry, I am just working in simulation right now and moreover with a different kind of robots, but the problem was the same. I guess it should work also with the real ones.

2015-10-02 04:11:40 -0500 received badge  Enthusiast
2015-09-29 06:21:57 -0500 answered a question connect tf tree of multiple turtlebots 2

I don't know if you have already tried to do that, but I had a similar problem and I've just added a fixed transform in the launch file between the world frames of the two robots.

<node pkg="tf" type="static_transform_publisher" name="world_frames_connection" args="0 0 0 0 0 0 /turtlebot1/world /turtlebot2/world 100"/>

Then I obtained a single tree with two branches, one per robot.

Hope this helps

2015-08-08 08:55:16 -0500 received badge  Notable Question (source)
2015-07-23 09:22:31 -0500 commented answer Error: Invalid argument passed to canTransform argument source_frame

I had the same error, but doing how you said:

cloudCluster.header = filtered_cloud.header

It was working correctly for me.

2015-07-15 01:42:01 -0500 received badge  Popular Question (source)
2015-07-08 08:18:21 -0500 commented answer Unable to locate the package: handle_detector

Thanks, that resolved the problem :)

Moreover, If I only change in the CMakeLists.txt the Eigen with Eigen3 is working without any further changes.

2015-07-08 08:17:43 -0500 received badge  Scholar (source)
2015-07-08 03:38:44 -0500 received badge  Supporter (source)
2015-07-07 10:40:59 -0500 asked a question Unable to locate the package: handle_detector

Hi all,

I am not able to locate the package handle_detector in the repositories for ros indigo, although in the Ros Wiki say that it sould there be for indigo.

Morevoer, If I try to compile it from the source I get this error:

CMake Error at handle_detector/CMakeLists.txt:21 (find_package):
  By not providing "FindEigen.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Eigen", but
  CMake did not find one.

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

    EigenConfig.cmake
    eigen-config.cmake

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

I don't have high knowledge of c++ and ros. I understand that it doesn't find the package Eigen, but I have installed all the ros packages of Eigen:

sudo apt-get install ros-indigo-eigen-*

And moreover I also have the Eigen library installied in my pc.

I Have no idea how to fix the problem. I just want to use that package and whatever method (by repository or by source) is ok for me.

Thanks in advance!