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

FranciscoD's profile - activity

2016-08-14 01:51:35 -0500 marked best answer Incorrect links on the wiki give 404 errors.

Looks like some of the links on the wiki are obsolete. For instance:

http://wiki.ros.org/imu_drivers links to http://docs.ros.org/api/sensor_msgs/html/msg/Imu.html but should link to http://docs.ros.org/fuerte/api/sensor_msgs/html/msg/Imu.html instead.

It appears to be the case with all the API links on that page at least:

http://docs.ros.org/api/std_msgs/html/msg/Bool.html is also a 404.

I haven't checked the other wiki pages yet.

2016-08-08 01:36:54 -0500 received badge  Famous Question (source)
2015-06-25 15:27:49 -0500 received badge  Famous Question (source)
2015-02-26 10:36:56 -0500 received badge  Good Question (source)
2014-03-23 09:06:43 -0500 received badge  Famous Question (source)
2014-03-23 09:06:43 -0500 received badge  Notable Question (source)
2014-03-12 14:09:24 -0500 received badge  Famous Question (source)
2014-02-18 09:35:13 -0500 received badge  Notable Question (source)
2014-01-30 22:28:08 -0500 received badge  Famous Question (source)
2014-01-28 17:31:29 -0500 marked best answer Post processing gmapping generated maps to add glass wall information

The gmapping system misses glass surfaces since it makes use of laser data. Unfortunately, we have an environment that has quite a few glass walls/doors. Has anyone run into this issue? If yes, how do you folks suggest we handle it? I can always modify the map manually in an image editor. Is there a better way?

2014-01-28 17:30:02 -0500 marked best answer Installing pr2_mechanism_msgs: is the hg repository down?

I'm trying to install the pr2simulator stack which requires http://ros.org/wiki/pr2_mechanism?distro=groovy (pr2mechanism), which in turn requires http://ros.org/wiki/pr2_mechanism_msgs (pr2_mechanism_msgs). This is what I tried:

cd ros_ws
rosws set pr2_mechanism_msgs --hg https://kforge.ros.org/pr2mechanism/hg
rosws update pr2_mechanism_msgs

This doesn't seem to work. The kforge.ros.org site looks down. I found the pr2simulator stack on github, but pr2_mechanism_msgs isn't hosted there. Can someone please tell me how to get this working? Is there an alternate hosting location?

I tried an hg clone command too and it doesn't work. http://isup.me/kforge.ros.org says the site is down.

I'm on Fedora 18: I must install these from source.

2014-01-28 17:30:02 -0500 marked best answer Error: "Unable to convert 32FC1 image to bgr8" while extracting rbg(d?) data from a bag

I'm trying to extract messages of the "/camera/depth_registered/image_rect" topic from my bag:

[ankur@eng050194  20130405]$ rosbag info 20130405_navtest_0.bag
path:        20130405_navtest_0.bag
version:     2.0
duration:    58.8s
start:       Apr 05 2013 15:32:07.42 (1365136327.42)
end:         Apr 05 2013 15:33:06.25 (1365136386.25)
size:        3.3 GB
messages:    17410
compression: none [3286/3286 chunks]
types:       sensor_msgs/Image      [060021388200f6f0f447d0fcd9c64743]
             sensor_msgs/Imu        [6a62c6daae103f4ff57a132d6f95cec2]
             sensor_msgs/JointState [3066dcd76a6cfaef579bd0f34173e9fd]
             sensor_msgs/LaserScan  [90c7ef2dc6895d81024acba2ac42f369]
topics:      /base_scan                            1178 msgs    : sensor_msgs/LaserScan
             /camera/depth_registered/image_rect   1626 msgs    : sensor_msgs/Image
             /camera/rgb/image_rect_color          1658 msgs    : sensor_msgs/Image
             /joint_states                         5883 msgs    : sensor_msgs/JointState
             /tilt_scan                            1182 msgs    : sensor_msgs/LaserScan
             /torso_lift_imu/data                  5883 msgs    : sensor_msgs/Imu
[ankur@eng050194  20130405]$

I've written up a launch file as described in the tutorial http://www.ros.org/wiki/rosbag/Tutorials/Exporting%20image%20and%20video%20data (here):

<launch>
  <node pkg="rosbag" type="play" name="rosbag" args="-d 2 /home/ankur/dr_jack/20130405/20130405_navtest_0.bag"/>
  <node name="extract" pkg="image_view" type="extract_images" respawn="false" output="screen" cwd="ROS_HOME">
    <remap from="image" to="/camera/depth_registered/image_rect"/>
  </node>
</launch>

However, when I run the launch file, it errors out:

[ankur@eng050194  20130405]$ roslaunch exportImageData.launch
... logging to /home/ankur/.ros/log/c113647a-9feb-11e2-b9c4-24be051362b4/roslaunch-eng050194.eng.uts.edu.au-32061.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://eng050194.eng.uts.edu.au:60100/

SUMMARY
========

PARAMETERS
 * /rosdistro
 * /rosversion

NODES
  /
    extract (image_view/extract_images)
    rosbag (rosbag/play)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[rosbag-1]: started with pid [32095]
process[extract-2]: started with pid [32096]
[ INFO] [1365387639.215633458]: Initialized sec per frame to 0.100000
[ERROR] [1365387644.328011223]: Unable to convert 32FC1 image to bgr8
[ WARN] [1365387644.328120105]: Couldn't save image, no data!
[ERROR] [1365387644.329480639]: Unable to convert 32FC1 image to bgr8
[ERROR] [1365387644.393881439]: Unable to convert 32FC1 image to bgr8
[ERROR] [1365387644.423329040]: Unable to convert 32FC1 image to bgr8
[ERROR] [1365387644.454279657]: Unable to convert 32FC1 image to bgr8
[ WARN] [1365387644.454386746]: Couldn't save image, no data!
[ERROR] [1365387644.487755386]: Unable to convert 32FC1 image to bgr8

Would someone know what I'm doing wrong? I extracted the images of the "/camera/rgb/image_rect_color" topic just fine using this approach.

Could be related: I can't view these images using rqt_bag either. Am I missing some package that provides this capability?

2014-01-28 17:29:50 -0500 marked best answer How do I limit the number of cores used in the build process by catkin?

I've been building groovy using the instructions from the wiki. My processor is an i5, 2 cores, 4 threads. Building PCL is a huge CPU hog and my system takes a few hours when all 4 threads are being almost fully used throughout. The problem is, my laptop tends to overheat and shut down when it gets to critical temp because of all this work (yes, the room temperature isn't helping). I was wondering if someone could tell me where catkin picks the "-jX" value from? It uses -j4 at the moment. I was wondering if reducing it to a -j3 or a -j2 might help keep the temperature down. It might take longer, but I can leave it overnight knowing that it isn't going to shut down after overheating.

During normal usage, my system is at about 45*c, so building PCL does take quite some work.

2014-01-28 17:29:47 -0500 marked best answer Fuerte on Fedora 18: build error at rosbag

I'm trying to build Fuerte on a Fedora 18 x86_64 system as detailed http://www.ros.org/wiki/fuerte/Installation/Fedora#preview (here). In the first make step, it errors out with:

$ make -j8
.....
[ 95%] Built target draw_square
[ 95%] Built target mimic
[ 95%] Built target turtle_teleop_key
[ 96%] Built target turtlesim_node
[ 96%] Built target actionlib
[ 96%] [ 97%] Built target drop
Built target rxtools
[ 97%] [ 97%] Built target relay
Built target mux
[ 97%] Built target switch_mux
[ 97%] Built target throttle
[ 97%] [ 97%] Building CXX object ros_comm/tools/rosbag/CMakeFiles/rosbag.dir/src/recorder.cpp.o
Built target python_rxtools
[ 98%] Built target rxconsole
[ 98%] Built target rxloggerlevel
/home/ankur/ros-underlay/ros_comm/tools/rosbag/src/recorder.cpp: In member function ‘void rosbag::Recorder::doRecord()’:
/home/ankur/ros-underlay/ros_comm/tools/rosbag/src/recorder.cpp:439:42: error: expected unqualified-id before numeric constant
make[2]: *** [ros_comm/tools/rosbag/CMakeFiles/rosbag.dir/src/recorder.cpp.o] Error 1
make[1]: *** [ros_comm/tools/rosbag/CMakeFiles/rosbag.dir/all] Error 2
make: *** [all] Error 2
[ankur@dhcppc1  build]$

Would anyone know how to correct/workaround this please?

2014-01-28 17:29:43 -0500 marked best answer Building gencpp from source

I'm trying to build gencpp from source on a Fedora 18 system. I think I have the prerequisites already built: catkin and genmsg; however, during the build, cmake fails to find the genmsg cmake files. Here's the error:

+ /usr/bin/cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON ..
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/lib64/ccache/cc
-- Check for working C compiler: /usr/lib64/ccache/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib64/ccache/c++
-- Check for working CXX compiler: /usr/lib64/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Using CATKIN_DEVEL_PREFIX: /builddir/build/BUILD/gencpp-0.4.12/build/devel
-- Using CMAKE_PREFIX_PATH: 
-- Found PythonInterp: /usr/bin/python (found version "2.7.3") 
-- Found PY_em: /usr/lib/python2.7/site-packages/em.pyc  
-- Found gtest: gtests will be built
-- Using CATKIN_TEST_RESULTS_DIR: /builddir/build/BUILD/gencpp-0.4.12/build/test_results
-- catkin 0.5.64
CMake Error at /usr/share/catkin/cmake/catkinConfig.cmake:72 (find_package):
  Could not find a package configuration file provided by "genmsg" with any
  of the following names:
    genmsgConfig.cmake
    genmsg-config.cmake
  Add the installation prefix of "genmsg" to CMAKE_PREFIX_PATH or set
  "genmsg_DIR" to a directory containing one of the above files.  If "genmsg"
  provides a separate development package or SDK, be sure it has been
  installed.
Call Stack (most recent call first):
  CMakeLists.txt:3 (find_package)
-- Configuring incomplete, errors occurred!
error: Bad exit status from /var/tmp/rpm-tmp.tRuPTe (%build)
    Bad exit status from /var/tmp/rpm-tmp.tRuPTe (%build)

I've tried to define the genmsg_DIR variable as suggested in the error too, but it doesn't seem to make a difference:

+ /usr/bin/cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON .. -Dgenmsg_DIR=/builddir/build/BUILDROOT/ros-gencpp-groovy-0.4.12-1.fc18.x86_64//usr/share/genmsg/cmake
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/lib64/ccache/cc
-- Check for working C compiler: /usr/lib64/ccache/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib64/ccache/c++
-- Check for working CXX compiler: /usr/lib64/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Using CATKIN_DEVEL_PREFIX: /builddir/build/BUILD/gencpp-0.4.12/build/devel
-- Using CMAKE_PREFIX_PATH: 
-- Found PythonInterp: /usr/bin/python (found version "2.7.3") 
-- Found PY_em: /usr/lib/python2.7/site-packages/em.pyc  
-- Found gtest: gtests will be built
-- Using CATKIN_TEST_RESULTS_DIR: /builddir/build/BUILD/gencpp-0.4.12/build/test_results
-- catkin 0.5.64
CMake Error at /usr/share/catkin/cmake/catkinConfig.cmake:72 (find_package ...
(more)
2014-01-27 05:26:52 -0500 received badge  Famous Question (source)
2014-01-13 22:15:38 -0500 received badge  Notable Question (source)
2013-12-14 02:48:39 -0500 received badge  Famous Question (source)
2013-12-12 16:38:21 -0500 received badge  Popular Question (source)
2013-12-12 16:38:21 -0500 received badge  Notable Question (source)
2013-12-10 04:58:01 -0500 received badge  Popular Question (source)
2013-12-10 04:58:01 -0500 received badge  Notable Question (source)
2013-12-10 04:58:01 -0500 received badge  Famous Question (source)
2013-11-07 01:00:27 -0500 received badge  Popular Question (source)