<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><p style="margin: 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>
</p></div></blockquote><div><br>As far as I know no one here has experience with netbeans.<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><p style="margin: 0px;">
<br>
<br>
3) What is the "starting point" of RVIZ? I found that visualizer_app.cpp seems to be called pretty early.<br></p></div></blockquote><div><br>visualizer_app.cpp is the starting point. You'll probably want to read up on wxWidgets (<a href="http://www.wxwidgets.org/">http://www.wxwidgets.org/</a>) and Ogre3D (<a href="http://www.ogre3d.org/">http://www.ogre3d.org/</a>)<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><p style="margin: 0px;">
<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></p></div></blockquote><div><br>You likely haven't added the path to your version of rviz to your package path. <a href="http://www.ros.org/wiki/ROS/EnvironmentVariables#ROS_PACKAGE_PATH">http://www.ros.org/wiki/ROS/EnvironmentVariables#ROS_PACKAGE_PATH</a> <br>
<br>Josh<br></div></div>