<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title></title>
</head>
<body>
<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 http://pr.willowgarage.com/downloads/boost_1_37_0.tar.gz\n 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 http://pr.willowgarage.com/downloads/boost_1_37_0.tar.gz\n 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 http://pr.willowgarage.com/downloads/apache-log4cxx-0.10.0-wg_patched.tar.gz\n 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 http://pr.willowgarage.com/downloads/apache-log4cxx-0.10.0-wg_patched.tar.gz\n 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>
<p> </p>
<div style="margin: 5px 0px 5px 0px; font-family: monospace;">
On May 28, 2010 at 1:02 AM Josh Faust <jfaust@willowgarage.com> 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. http://www.ros.org/wiki/ROS/Tutorials/BuildingPackages<br />
><br />
> Josh<br />
><br />
> On Thu, May 27, 2010 at 12:47 AM, Benoit Larochelle <<br />
> Benoit.Larochelle@dfki.de> 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 />
> > ros-users@code.ros.org<br />
> > https://code.ros.org/mailman/listinfo/ros-users<br />
> ><br />
> ><br />
</div>
</body>
</html>