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

jespestana's profile - activity

2019-11-04 07:18:18 -0500 received badge  Great Question (source)
2019-02-13 11:13:41 -0500 commented answer Boost shared pointer publishing - zero copy

I think so too. Thanks. Actually, I just checked it. And yes, you get the same address on both sides of the message tra

2019-02-13 03:58:37 -0500 commented answer Boost shared pointer publishing - zero copy

I think so too. Thanks.

2019-02-13 03:51:24 -0500 received badge  Civic Duty (source)
2019-02-13 03:48:26 -0500 commented answer Boost shared pointer publishing - zero copy

Thanks for the in-depth answer! I have a follow-up comment/question about question 3: would it not be possible to chec

2019-02-13 03:37:57 -0500 commented answer Is topic communcation zero-copy if running multiple nodelets standalone? (instead of a manager)

The advantage of standalone nodelets, is that you program the nodelet but can still run your module as a node. This mayb

2017-06-28 08:04:59 -0500 commented question no image received error in rviz

I had the same problem. I was publishing the image and the camera_info correctly, but the image would still not show up.

2015-10-15 04:50:02 -0500 commented answer Debugging ROS package with Qtcreator???

You can ros-launch a node and make it start with gdbserver. The node is not started until you connect to it using Qt. To do so, try adding the launch-prefix "xterm -e gdbserver localhost:10000", and connect to it with Qt (both things from the local machine). More info here: http://bit.ly/1OEaVce

2015-07-09 03:25:04 -0500 commented answer Debugging with QtCreator

Thanks a lot! More info about first solution: http://askubuntu.com/a/148882/136863 , so I see that I can recover the original more secure behavior doing echo 1 | sudo tee /proc/sys/kernel/yama/ptrace_scope . About your second solution, more info here: http://askubuntu.com/a/153970/136863 .

2015-07-09 03:25:04 -0500 received badge  Commentator
2015-06-04 00:43:30 -0500 received badge  Good Question (source)
2015-05-15 04:04:40 -0500 answered a question Debugging with QtCreator

Hey, there is another post in ROS Answers addressing how to debug a rosnode in Qtcreator: http://answers.ros.org/question/34966...

I think that the answer can be summarized to:

  1. compile the node/package that you want to compile in debug mode (add "set(CMAKE_BUILD_TYPE Debug)" to your CMakeLists.txt)
  2. start your roscore and everything else as usual, except for the node you want to debug
  3. start qtcreator with "sudo" (remember to source correctly your catkin workspace)
  4. in qtcreator start the debugging mode for the rosnode by going to "Debug"->"Start Debugging"->"Attach to unstarted Application...", look for your compiled node, it should be in: "${CATKIN_WORKSPACE_FOLDER}"/devel/lib/package_name/node_name and click "Start Watching".
  5. start the node in a terminal either with rosrun or roslaunch
  6. enjoy...

Note: you need to run qtcreator with "sudo", otherwise you get a "ptrace operation not allowed" problem. Note2: if you try to run qtcreator as a normal user afterwards, you will have problems accessing some of the Qt configuration files of your home folder, run these commands to get this back to normal:

sudo chown -R ${USER}:${USER} .qt
sudo chown -R ${USER}:${USER} .config/
2015-05-15 03:49:31 -0500 commented answer Debugging ROS package with Qtcreator???

@Stefan Kohlbrecher thanks it worked! As a side note, I had to run qtcreator with "sudo" for the debugging from Qtcreator to work; otherwise it works perfectly.

2015-04-22 02:31:39 -0500 commented answer Record with rosbag from launch file

For anybody getting this error "ERROR: cannot launch node of type [rosbag/rosbag]: can't locate node [rosbag] in package [rosbag]". The launchfile should be changed to "<node pkg="rosbag" type="record" ...".<="" p="">

2015-02-24 14:05:05 -0500 received badge  Good Question (source)
2014-12-03 22:16:57 -0500 received badge  Famous Question (source)
2014-09-25 09:45:01 -0500 received badge  Notable Question (source)
2014-09-25 04:04:30 -0500 commented question Is there a way to enable c++11 support for catkin packages?

I have had problems with C++11 and ROS in the past. If you have a robot with Ubuntu 12.04 preinstalled you are going to have a bad time using C++11, because the boost version in 12.04 is not compatible with C++11. I recommend using C++03 which is the standard: http://www.ros.org/reps/rep-0003.html

2014-09-25 02:55:34 -0500 commented answer managing projects using catkin and wstool

Wow, thanks a lot for this answer! Then: catkin + vstools is a good option, I'll try it out soon! As a side note, it would be really worth it that there was a tutorial on how to use catkin outside of the ROS ecosystem (I tried to find it).

2014-09-25 02:43:39 -0500 received badge  Popular Question (source)
2014-09-25 02:43:36 -0500 received badge  Enthusiast
2014-09-24 18:15:57 -0500 received badge  Nice Question (source)
2014-09-24 06:20:54 -0500 asked a question managing projects using catkin and wstool

Hello everyone,

I would like to have advice on how to manage a family of packages in various robotics projects. I have already gathered information about alternatives, including: catkin + wstool, git-submodules, git-subtrees, and other software management options. I think that these links summarize the options:

In my research group, we have worked on various ROS and non-ROS Robotics projects in the last few years, and naturally we have modules which are used in many of these projects at the same time. Until now, our code management approach was to have everything in a single git repository (there are 40+ ROS and non-ROS packages, as we try keep granularity/modularity in our libraries and executables). As we are updating our source structure to be catkin compliant, we are also thinking on separating our git repository into chunks (no necesarily at the package level). We hope that by managing our projects diferently we won't need to download our whole software repository in every platform.

I believe that catkin + vcstools/wstool are a very good solution since:

  • They are both independent of the ROS ecosystem: check section 2.2 here http://wiki.ros.org/catkin/conceptual... , and this http://wiki.ros.org/wstool
  • Catkin can manage build/compilation dependencies
  • wstool allows to set the git repository for modules/packages inside the workspace, including specifying a branch or a specific commit
  • also: wstool update, wstool diff, [...] are very useful

So, my questions are relating to the usage of catkin and wstool outside of the ROS ecosystem:

  1. How can I create a catkin workspace outside of the ROS ecosystem? From what I understand, creating a workspace requires to load the setup.bash of a ROS dristro.
  2. Any advice of a different set of tools which is suitable for working in ROS-like projects, where many modules are reused between projects?
  3. As a side question regarding the use of catkin + wstool + rosdep : Is it possible to overlay rosdep's package lists with private repositories?

Thanks for your advice!

2014-03-07 11:37:03 -0500 received badge  Nice Question (source)
2014-01-28 17:29:30 -0500 marked best answer Rosws (ROS CVS) Tutorials link is broken?

Hello everyone,

I just wanted to point out that the link to the rosws tutorials are broken in these websites:

The link that does not work is:

I have tried to find the correct link to the tutorial, but I have had no success. I do not know what to do about it (I am starting to use ROS), so I decided to post this question. Sorry for the cryptic webpage links, I do not have enough karma to post them. Thanks!

2013-04-12 08:03:42 -0500 received badge  Famous Question (source)
2013-03-08 12:34:00 -0500 commented question Read images from disk, publish as camera

Regarding the stereo camera baseline (if anybody reads this question) is stored in the matrixes in the cameraInfo of the left and right cameras (see the answers to this question: http://answers.ros.org/question/29050/stereo-camera-calibration-fundamental-matrix/ )

2013-03-08 12:33:16 -0500 commented question Read images from disk, publish as camera

Thanks, I am publishing the tf of the cameras using static_transform_publisher nodes ( http://www.ros.org/wiki/tf#static_transform_publisher ). I had to be careful to name the camera frames equally in the cameraInfo and when launching the static_transform_publisher nodes. Now everything works!

2013-03-08 07:29:55 -0500 marked best answer Read images from disk, publish as camera

I have a dataset of images on disk, along with a set of camera parameters (though they are not in ROS camera_info file format). I am trying to make a node that reads and publish de images in round robin (when it finishes reading the images in the folder, it starts again). My main objective is to make it in such a way that I can "fool" other nodes, making them think that the node is a camera.

I have being trying to do it in the following way:

  • Publish the images in a topic /camera/image_rect_color
  • Publish sensor_msgs/CameraInfo in the topic /camera/camera_info
  • I have tried to visualize the images in rviz using a camera display, but rviz complains because it says no /camera_link frame is published

At this point I believe there has to be an easier way to do this... Does anybody has suggestions about how to achieve this?

Thanks in advance!

2013-03-08 07:29:50 -0500 commented answer Read images from disk, publish as camera

I have made my own version of image_stereo_sequence_publisher.py, image_stereo_sequence_publish.launch based on your files. The main difference is that I am publishing stereo images simultaneously from the same node; and that I can set the name of the topics stereo/left/image_rect, etc.Thanks!

2013-03-08 07:27:21 -0500 received badge  Notable Question (source)
2013-03-07 10:15:06 -0500 received badge  Popular Question (source)
2013-03-07 09:12:47 -0500 commented answer Read images from disk, publish as camera

Thanks a lot, I am going to study and try your code!