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

ICodeRaven's profile - activity

2014-03-17 18:04:25 -0500 received badge  Nice Answer (source)
2014-03-17 08:11:49 -0500 answered a question rosserial and motor controllers

You can always use standard serial I/O for communicating with serial devices from a ROS node; ROS serial is a mechanism through which you can program any two systems that can communicate via serial to use ROS' API instead of bothering to deal with low level serial port I/O.

Specifically, in your case your motor controller will most probably come with a SDK of sorts that deals with sending motor commands over a serial port. You would simply use that API within your ROS node on your laptop to communicate with the motor controller.

ROS Serial would be useful if you were to write your motor controller from scratch on say an Arduino, and wanted to easily communicate with ROS devices over the serial port using the ROS Serial API.

2014-01-28 17:23:03 -0500 marked best answer Fedora 15 / Electric / Build Issues / Gazebo

Hi all I just installed an Electric desktop-full as per the instructions on an x86_64 Fedora 15 installation. ROS seems to have installed fine. However, whenever I attempt a rosmake simulator_gazebo, or any other package that requires eigen as a dependency, I get the error

rosdep install ERROR:
failed to install eigen

I have eigen3-devel installed (eigen3-devel-3.0.0-2.fc15.noarch) and don't really have a clue how to go about this, as apparently eigen doesn't have any compiled libraries, only the headers.

Can anyone help? Thanks!

UPDATE: It seems that the warning is thrown only because it can't really find it by the name it's looking for. For example, after a little playing around, I could get vision_opencv working.

UPDATE 2 : Now after quite a few hours, I'm stuck at a cmake stage. Had to install yampl-cpp-devel, tinyxml-devel, vtk-devel, libyaml-devel, rosdep install for gazebo_tools, build assimp, copied the /usr/include/ffmpeg/* to /usr/include (to fix missing avformat.h), hdf5-devel, [added -ltinyxml flag to /gazebo/build/CMakeCache.txt (and in gazebo_tools), added a VTK_DIR:FILEPATH=/usr/lib64/vtk-5.6 to pcl_ros/CMakeCache.txt ... Didnt work], used http://www.cmake.org/pipermail/cmake/2006-March/008633.html and changed VTK REQUIRED to VTK5 required in the cmake files. Also changed the path in the URL file to point to lib64/vtk-5.6

This fixed the missing VTK errors, but I'm repeatedly stuck with the tinyXML errors.

/usr/bin/ld: note: 'TiXmlElement::SetAttribute(std::basic_string<char,std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char,    std::char_traits<char>, std::allocator<char> > const&)' is defined in DSO /usr/lib64/libtinyxml.so.0 so try adding it to the linker command line
/usr/lib64/libtinyxml.so.0: could not read symbols: Invalid operation

I also get a (possibly related because it involves pcl_ros_tf)

  [ 28%] Built target rosbuild_precompile
  Linking CXX shared library lib/libvision_reconfigure.so
  /usr/bin/ld: cannot find -lpcl_ros_tf
  collect2: ld returned 1 exit status
  make[2]: *** [lib/libvision_reconfigure.so] Error 1
  make[1]: *** [CMakeFiles/vision_reconfigure.dir/all] Error 2

Where do I add the -ltinyxml flag?

2014-01-28 17:22:27 -0500 marked best answer boost::filesystem version issues

So, I've been building ROS on Fedora 15, and there are a few persistent issues that keep cropping up every time the ROS source code is updated.

The most annoying issue is concerning the version of the Boost libraries used in the code. A bit of googling brought me here which made me realize that this was an issue with the changeover from boost::filesystem from v2 to v3, and so I had to add a #define BOOST_FILESYSTEM_VERSION 2 to all files including a #include <boost/filesystem.hpp>. To find these files, I used

find . | xargs grep 'boost/filesystem.hpp' -sl

this gave me about 9 files which I modified, and ran the script again.

Do I report this as an issue?

Additionally, unlike ubuntu all the packages/stacks are not rosmake'd on install. For example, for image_view, I need to rosmake image_views and the plugins and opencv2 (For which I had to do the same Boost thing to boost_fs_wrapper.cpp)

2013-10-01 15:13:24 -0500 received badge  Commentator
2013-10-01 15:13:24 -0500 commented answer Pandaboard, alignment trap when using tf

Just built everything from scratch (after lots of pain), and yes it works now.

2013-09-26 22:55:41 -0500 commented answer Pandaboard, alignment trap when using tf

Bump. Similar issue on Groovy on an Odroid XU. Using the ahendrix repo

2012-09-06 03:02:57 -0500 received badge  Famous Question (source)
2012-08-31 02:59:44 -0500 received badge  Famous Question (source)
2012-08-30 07:38:29 -0500 received badge  Famous Question (source)
2012-07-25 03:57:16 -0500 received badge  Notable Question (source)
2012-07-12 11:42:23 -0500 received badge  Notable Question (source)
2012-05-30 08:10:51 -0500 received badge  Notable Question (source)
2012-04-04 03:35:34 -0500 received badge  Popular Question (source)
2012-02-24 22:17:05 -0500 received badge  Popular Question (source)
2012-02-13 16:10:24 -0500 received badge  Popular Question (source)
2012-01-17 00:57:36 -0500 commented question Fedora 16 / Electric / Gazebo / Build Issues
My install does definitely identify as 'fedora'. Could the fact that I have preupgraded be an issue? I don't remember what version of Boost I had on 15, but it could very well be 1.46 :S
2012-01-16 15:02:31 -0500 commented question Fedora 16 / Electric / Gazebo / Build Issues
Will sym-linking the required files to the new versions be a good thing to do? I'm trying to avoid that here.
2012-01-14 02:24:10 -0500 asked a question Fedora 16 / Electric / Gazebo / Build Issues

Having just preupgraded from Fedora 15, I set about installing ROS all over again. Fortunately, unlike the previous time, I had much fewer issues getting to the point of building gazebo. I had to build assimp, and that was it.

Build first failed due to fltk issues

    [ 15%] Building CXX object server/physics/ode/CMakeFiles/gazebo_physics_ode.dir/ODEHeightmapShape.o
Linking CXX shared library libgazebo_physics_ode.so
make[4]: Leaving directory `/home/kshaurya/ros/simulator_gazebo/gazebo/build/gazebo/build'
[ 15%] Built target gazebo_physics_ode
make[4]: Entering directory `/home/kshaurya/ros/simulator_gazebo/gazebo/build/gazebo/build'
make[4]: Leaving directory `/home/kshaurya/ros/simulator_gazebo/gazebo/build/gazebo/build'
make[4]: Entering directory `/home/kshaurya/ros/simulator_gazebo/gazebo/build/gazebo/build'
[ 16%] Building CXX object server/rendering/CMakeFiles/gazebo_rendering.dir/OgreCreator.o
/home/kshaurya/ros/simulator_gazebo/gazebo/build/gazebo/server/rendering/OgreCreator.cc: In member function ‘Ogre::RenderWindow* gazebo::OgreCreator::CreateWindow(Fl_Window*, unsigned int, unsigned int)’:
/home/kshaurya/ros/simulator_gazebo/gazebo/build/gazebo/server/rendering/OgreCreator.cc:380:19: error: incomplete type ‘Fl_X’ used in nested name specifier
make[4]: *** [server/rendering/CMakeFiles/gazebo_rendering.dir/OgreCreator.o] Error 1
make[4]: Leaving directory `/home/kshaurya/ros/simulator_gazebo/gazebo/build/gazebo/build'
make[3]: *** [server/rendering/CMakeFiles/gazebo_rendering.dir/all] Error 2
make[3]: Leaving directory `/home/kshaurya/ros/simulator_gazebo/gazebo/build/gazebo/build'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/kshaurya/ros/simulator_gazebo/gazebo/build/gazebo/build'
make[1]: *** [installed] Error 2
make[1]: Leaving directory `/home/kshaurya/ros/simulator_gazebo/gazebo'
CMake Error at CMakeLists.txt:32 (message):
  Build of Gazebo failed

UPDATE 1 : This seems to be some issue with the updating of fltk as per https://bugs.gentoo.org/show_bug.cgi?id=368607">this. However, looking at the x.h header from the Fl include directory, and comparing, I tried this (Sensible) patch. In ros/simulator_gazebo/gazebo/build/gazebo/server/rendering/OgreCreator.cc

-- win = OgreCreator::CreateWindow( fl_display, fl_visual->screen, 
        (int32_t)(Fl_X::i(flWindow)->xid), width, height);
++ win = OgreCreator::CreateWindow( fl_display, fl_visual->screen, 
        (int32_t)(fl_xid(flWindow)), width, height);

This resulted in the build process continuing further, with the following error

[ 46%] Building CXX object server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o
  In file included from /usr/include/FL/fl_utf8.h:73:0,
                   from /usr/include/FL/Fl.H:39,
                   from /home/kshaurya/ros/simulator_gazebo/gazebo/build/gazebo/server/gui/Gui.hh:33,
                   from /home/kshaurya/ros/simulator_gazebo/gazebo/build/gazebo/server/gui/GLWindow.cc:51:
  /usr/include/FL/Xutf8.h:161:5: error: ‘Status’ has not been declared
  make[4]: *** [server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o] Error 1
  make[4]: Leaving directory `/home/kshaurya/ros/simulator_gazebo/gazebo/build/gazebo/build'
  make[3]: *** [server/gui/CMakeFiles/gazebo_gui.dir/all] Error 2
  make[3]: Leaving directory `/home/kshaurya/ros/simulator_gazebo/gazebo/build/gazebo/build'
  make[2]: *** [all] Error 2
  make[2]: Leaving directory `/home/kshaurya/ros/simulator_gazebo/gazebo/build/gazebo/build'
  make[1]: *** [installed] Error 2
  make[1]: Leaving directory `/home/kshaurya/ros/simulator_gazebo/gazebo'
  CMake Error at CMakeLists.txt:32 ...
(more)
2011-12-08 05:04:59 -0500 marked best answer boost::filesystem version issues

If there's a specific package broken please file tickets for the specific package. The transition from boost filesystem 2 -> 3 is going to be generally painful and each usage will likely have to have ifdef logic for a while.

The rosmake is true on any system where you are installing from source. You need to compile all the packages you expect to use.

2011-10-31 23:16:39 -0500 commented answer Fedora 15 / Electric / Build Issues / Gazebo
Great job! I'll just try it out!
2011-10-27 06:47:37 -0500 answered a question rosjava android - phone sends localhost

Use a NonLoopback server address when you create one. You could use something like

Roscore _core = RosCore.newPublic(11411);
2011-10-26 21:27:58 -0500 commented answer Fedora 15 / Electric / Build Issues / Gazebo
2011-10-26 20:14:05 -0500 received badge  Self-Learner (source)
2011-10-26 20:14:05 -0500 received badge  Teacher (source)
2011-10-26 20:08:55 -0500 commented answer Fedora 15 / Electric / Build Issues / Gazebo
Yup, SIGSEGV :/
2011-10-26 20:05:01 -0500 edited answer Fedora 15 / Electric / Build Issues / Gazebo

To fix the libtinyxml issue, apparently the build process doesn't look at the lib64 folder. So, I added to CMakeLists.txt

set(GAZEBO_LDFLAGS_OTHERS -L/usr/lib64 -ltinyxml)
set(GAZEBO_INCLUDE_DIRS ${GAZEBO_INCLUDE_DIRS} /usr/include)

to the beginning, and a

  rosbuild_add_link_flags(bin/urdf2model ${GAZEBO_LDFLAGS_OTHERS})

for the urdf2model executable

I also had to something very similar in gazebo_tools, same initial commands, and a

rosbuild_add_link_flags(bin/urdf2model ${GAZEBO_LDFLAGS_OTHERS})

For the pcl_ros_tf, apparently an old failed build was blocking a successful build, and so a delete of the build and the CMakeFiles folder and a subsequent rosmake did the job.