<meta http-equiv="content-type" content="text/html; charset=utf-8"><div>Benoit,</div><div><br></div><div>I'm no expert but from a quick search on <a href="http://ros.org">ros.org</a> I was able to come up with some answers to your first 2 questions.</div>

<div> </div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">

<div><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">1) Is it possible to set-up a development environment in an IDE (ideally Netbeans) so that the IDE understands the code, the dependencies, and whatever else it needs. I want to be able to click to the buttons "compile" and "run" just like a Java project, for example. (I imagine that the "compile" button would have to call "rosmake" and the "run" button would have to call "rosrun".)<br>

<br></p></div></blockquote><div><b>Check this out: </b></div><div><a href="http://www.ros.org/wiki/IDEs"><b>http://www.ros.org/wiki/IDEs</b></a><b> </b></div><div> </div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">

<div><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">2) Where is the documentation for RVIZ?<br><br></p></div></blockquote><div><b>User guide:</b></div><div><a href="http://www.ros.org/wiki/rviz/UserGuide"><b>http://www.ros.org/wiki/rviz/UserGuide</b></a></div>

<div><b><br></b></div><div><b>Code API:</b></div><div><a href="http://www.ros.org/doc/api/rviz/html/"><b>http://www.ros.org/doc/api/rviz/html/</b></a></div><div><br></div><div><br></div><div><a href="http://www.ros.org/wiki/rviz/UserGuide"></a>Someone will have to answer your last 2 questions but I think that the system dependency problem for rviz stems from the fact that you are running Lucid and maybe the system deps for rviz haven't been listed for Lucid yet..(?) but I think it compiles on Lucid so someone else will have to answer that further.</div>

<div><br></div><div>good luck,</div>-- ben<br><br>
<br><br><div class="gmail_quote">On Fri, May 28, 2010 at 1:40 AM, Benoit Larochelle <span dir="ltr"><<a href="mailto:benoit.larochelle@dfki.de">benoit.larochelle@dfki.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">




  
    
    
  

  <div>
    <p style="margin:0px">Hi,<br>
    <br>
    <br>
    I will try to make my questions a bit more clear.<br>
    <br>
    <br>
    1) Is it possible to set-up a development environment in an IDE (ideally Netbeans) so that the IDE understands the code, the dependencies, and whatever else it needs. I want to be able to click to the buttons "compile" and "run" just like a Java project, for example. (I imagine that the "compile" button would have to call "rosmake" and the "run" button would have to call "rosrun".)<br>


    <br>
    <br>
    2) Where is the documentation for RVIZ?<br>
    <br>
    <br>
    3) What is the "starting point" of RVIZ? I found that visualizer_app.cpp seems to be called pretty early.<br>
    <br>
    <br>
    4) How do I change the title bar of the main RVIZ window? Which file do I need to modify?<br>
    <br>
    <br>
    <br>
    Also, created a folder where I pasted RVIZ's source code (from SVN). From Terminal, I ran rosdep install rviz, but it gave me a bunch of errors (see below). However, rosmake rviz worked perfectly. rosrun rviz rviz as well. I suspect that it does not run the code from that folder, but rather the RVIZ binaries installed on my computer. To test, I modified the OnInit() method in visualizer_app.cpp to add this:<br>


    <br>
    <br>
    int foo = 1 / 0;<br>
    cout << "foo";<br>
    if{<br>
    <br>
    <br>
    Clearly, the compilation and runtime should have failed. But, rosmake and rosrun worked again.<br>
    <br>
    <br>
    Could you please shed some light on this?<br>
    <br>
    <br>
    Thank you,<br>
    <br>
    <br>
    Benoit<br>
    <br>
    <br>
    failed to find specific version 10.04 of ubuntu within {'9.10': 'libboost1.40-all-dev', '9.04': 'libboost-date-time1.37-dev libboost-filesystem1.37-dev libboost-graph1.37-dev libboost-iostreams1.37-dev libboost-math1.37-dev libboost-program-options1.37-dev libboost-python1.37-dev libboost-regex1.37-dev libboost-serialization1.37-dev libboost-signals1.37-dev libboost-system1.37-dev libboost-test1.37-dev libboost-thread1.37-dev libboost-wave1.37-dev libboost1.37-dev', '8.04': 'if [ ! -f /opt/ros/lib/libboost_date_time-gcc42-mt*-1_37.a ] ; then\n  mkdir -p ~/ros/ros-deps\n  cd ~/ros/ros-deps\n  wget --tries=10 <a href="http://pr.willowgarage.com/downloads/boost_1_37_0.tar.gz%5Cn" target="_blank">http://pr.willowgarage.com/downloads/boost_1_37_0.tar.gz\n</a>  tar xzf boost_1_37_0.tar.gz\n  cd boost_1_37_0\n  ./configure --prefix=/opt/ros\n  make\n  sudo make install\nfi\n', '8.10': 'if [ ! -f /opt/ros/lib/libboost_date_time-gcc43-mt*-1_37.a ] ; then\n  mkdir -p ~/ros/ros-deps\n  cd ~/ros/ros-deps\n  wget --tries=10 <a href="http://pr.willowgarage.com/downloads/boost_1_37_0.tar.gz%5Cn" target="_blank">http://pr.willowgarage.com/downloads/boost_1_37_0.tar.gz\n</a>  tar xzf boost_1_37_0.tar.gz\n  cd boost_1_37_0\n  ./configure --prefix=/opt/ros\n  make\n  sudo make install\nfi\n'}<br>


    failed to find specific version 10.04 of ubuntu within {'9.10': 'liblog4cxx10-dev', '9.04': 'liblog4cxx10-dev', '8.04': 'if [ ! -f /opt/ros/lib/liblog4cxx.so.10 ] ; then\n  mkdir -p ~/ros/ros-deps\n  cd ~/ros/ros-deps\n  wget --tries=10 <a href="http://pr.willowgarage.com/downloads/apache-log4cxx-0.10.0-wg_patched.tar.gz%5Cn" target="_blank">http://pr.willowgarage.com/downloads/apache-log4cxx-0.10.0-wg_patched.tar.gz\n</a>  tar xzf apache-log4cxx-0.10.0-wg_patched.tar.gz\n  cd apache-log4cxx-0.10.0\n  ./configure --prefix=/opt/ros\n  make\n  sudo make install\nfi\n', '8.10': 'if [ ! -f /opt/ros/lib/liblog4cxx.so.10 ] ; then\n  mkdir -p ~/ros/ros-deps\n  cd ~/ros/ros-deps\n  wget --tries=10 <a href="http://pr.willowgarage.com/downloads/apache-log4cxx-0.10.0-wg_patched.tar.gz%5Cn" target="_blank">http://pr.willowgarage.com/downloads/apache-log4cxx-0.10.0-wg_patched.tar.gz\n</a>  tar xzf apache-log4cxx-0.10.0-wg_patched.tar.gz\n  cd apache-log4cxx-0.10.0\n  ./configure --prefix=/opt/ros\n  make\n  sudo make install\nfi\n'}<br>


    failed to find specific version 10.04 of ubuntu within {'9.10': 'libtool libltdl-dev', '9.04': 'libtool libltdl7-dev', '8.04': 'libtool libltdl3-dev', '8.10': 'libtool libltdl7-dev'}<br>


    Failed to find rosdep boost for package rviz<br>
    Failed to find rosdep log4cxx for package rviz<br>
    ERROR: ABORTING: Rosdeps [u'boost', u'log4cxx'] could not be resolved<br>
    <br>
    <br>
    <span></span></p><div><div></div><div class="h5">

    <p> </p>

    <div style="margin:5px 0px 5px 0px;font-family:monospace">
      On May 28, 2010 at 1:02 AM Josh Faust <<a href="mailto:jfaust@willowgarage.com" target="_blank">jfaust@willowgarage.com</a>> wrote:<br>
      <br>
      > Hi Benoit,<br>
      ><br>
      > You build rviz the same way you build any other ROS package, with cmake/make<br>
      > or rosmake.  <a href="http://www.ros.org/wiki/ROS/Tutorials/BuildingPackages" target="_blank">http://www.ros.org/wiki/ROS/Tutorials/BuildingPackages</a><br>
      ><br>
      > Josh<br>
      ><br>
      > On Thu, May 27, 2010 at 12:47 AM, Benoit Larochelle <<br>
      > <a href="mailto:Benoit.Larochelle@dfki.de" target="_blank">Benoit.Larochelle@dfki.de</a>> wrote:<br>
      ><br>
      > >   Hi,<br>
      > ><br>
      > ><br>
      > ><br>
      > > I'm working on a large project that requires modifying RVIZ. I have thus<br>
      > > downloaded RVIZ's source code (from SVN), and I have installed Netbeans.<br>
      > > Right now, I'm trying to set-up a Netbeans project with all proper<br>
      > > sources/dependencies/misc. so that I easily develop with RVIZ. As a minimal<br>
      > > example, I would like to modify RVIZ's title bar so that it says my name.<br>
      > ><br>
      > ><br>
      > ><br>
      > > Unfortunately, I can't find any information on how to run RVIZ from source.<br>
      > > I found only a tutorial about how to make it when downloaded from binaries.<br>
      > > Has anyone ever managed to set-up a working environment for RVIZ?<br>
      > ><br>
      > ><br>
      > ><br>
      > > Thanks,<br>
      > ><br>
      > ><br>
      > ><br>
      > > Ben<br>
      > ><br>
      > > _______________________________________________<br>
      > > ros-users mailing list<br>
      > > <a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
      > > <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
      > ><br>
      > ><br>
    </div>
  </div></div></div>

<br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br>