<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://rsewiki.electro.dtu.dk/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Eba</id>
	<title>Rsewiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://rsewiki.electro.dtu.dk/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Eba"/>
	<link rel="alternate" type="text/html" href="https://rsewiki.electro.dtu.dk/index.php?title=Special:Contributions/Eba"/>
	<updated>2026-04-26T02:10:56Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://rsewiki.electro.dtu.dk/index.php?title=Remote_Development_of_Mobotware_Using_Eclipse&amp;diff=856</id>
		<title>Remote Development of Mobotware Using Eclipse</title>
		<link rel="alternate" type="text/html" href="https://rsewiki.electro.dtu.dk/index.php?title=Remote_Development_of_Mobotware_Using_Eclipse&amp;diff=856"/>
		<updated>2011-06-15T15:05:43Z</updated>

		<summary type="html">&lt;p&gt;Eba: /* Ubuntu */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;It is possible to use an [http://www.eclipse.org Eclipse], running locally on one&#039;s computer to remotely develop Mobotware residing in Kalman. This tutorial will describe how to set up eclipse so that one can:&lt;br /&gt;
* use full features of Eclipse including indexing, content assist, error highlighting and much more...&lt;br /&gt;
* build on the automation servers from inside Eclipse&lt;br /&gt;
* debug the code running on the SMRs while stepping through the source code and observing variables in Eclipse&lt;br /&gt;
&lt;br /&gt;
The following description is for Eclipse Galileo (Eclipse 3.5.2), hopefully, the steps will not be very different in future versions.&lt;br /&gt;
&lt;br /&gt;
There are essentially 4 things to do:&lt;br /&gt;
&lt;br /&gt;
* Install Eclipse and the required plug-ins&lt;br /&gt;
* Mounted on the local file system the Mobotware directory (or a sub-directory of it) residing in Kalman.&lt;br /&gt;
* Set up an Eclipse project for remote development&lt;br /&gt;
* Configure Eclipse to make sure all the nice features are available&lt;br /&gt;
&lt;br /&gt;
NOTE: The windows tutorial is not finished as of this very moment!&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse ==&lt;br /&gt;
One first needs to install Eclipse, along with the necessary plug-ins for C++ development as well as remote development. Installing Eclipse and enabling it for C++ development differs substantially between operating systems:&lt;br /&gt;
&lt;br /&gt;
=== Windows ===&lt;br /&gt;
It is non-trivial to set up an Eclipse C++ development environment under windows. It is not particularly hard, but it&#039;s an integration between Eclipse, a plug-in called CDT and GCC ported to windows. It would be futile to list the steps as of writing this tutorial, as the process changes slightly depending on the versions of the named software elements. Try googling &amp;quot;C/C++ development using Eclipse under Windows&amp;quot; and come back when you have this working properly. &lt;br /&gt;
&lt;br /&gt;
Now, it is necessary to install two other plug-ins for our task:&lt;br /&gt;
* TM and RSE (Remote system Explorer)&lt;br /&gt;
* Eclipse C/C++ Remote Launch&lt;br /&gt;
&lt;br /&gt;
As you&#039;ve probably already noticed while installing CDT, one installs Eclipse plug-ins through &#039;&#039;&#039;Help-&amp;gt;Install New Sofware...&#039;&#039;&#039;. The drop down list next to &#039;&#039;&#039;Work with&#039;&#039;&#039; lists some software sites, but the ones we need are probably not there. Click on the &amp;lt;span style=&amp;quot;color:blue;&amp;quot;&amp;gt;&amp;lt;u&amp;gt;&#039;Available Software Sites&#039;&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt; link just under the &#039;&#039;&#039;Add...&#039;&#039;&#039; button to get a list of software sites compatible with your version of eclipse. You need to add:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;RSE - http://download.eclipse.org/dsdp/tm/updates/3.1&#039;&#039; - for &#039;&#039;TM and RSE&#039;&#039;&lt;br /&gt;
&#039;&#039;CDT - http://download.eclipse.org/tools/cdt/releases/galileo&#039;&#039; - for &#039;&#039;Eclipse C/C++ Remote Launch&#039;&#039;, under &#039;&#039;CDT Optional Features&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note that the above links and names might differ slightly depending on the version, but you&#039;re choosing from a list anyway.&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
It is much easier to set up Eclipse for C++ development under Ubuntu. Simply type&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install eclipse&lt;br /&gt;
&lt;br /&gt;
At the command line to install eclipse. This will probably be vanilla Eclipse that won&#039;t support plug-ins. So, if you have problems installing the plug-ins later, type&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install eclipse-pde&lt;br /&gt;
&lt;br /&gt;
To prepare eclipse for the plug-ins. Eclipse plug-ins are installed through &#039;&#039;&#039;Help-&amp;gt;Install New Sofware...&#039;&#039;&#039;. The drop down list next to &#039;&#039;&#039;Work with&#039;&#039;&#039; lists some software sites. We will install CDT (C/C++ Development Tools) from &#039;&#039;Galileo Update Site - http://download.eclipse.org/releases/galileo/&#039;&#039;. This is for Eclipse Galileo of course, it will look slightly different on different versions. Select that site, and under &#039;&#039;Programming Languages&#039;&#039; mark &#039;&#039;Eclipse C/C++ Development Tools&#039;&#039;. Finish the installation by clicking &#039;&#039;&#039;Next&#039;&#039;&#039; and so on...&lt;br /&gt;
&lt;br /&gt;
At this point, you should be able to create, compile, run and debug local C/C++ projects as long as you have gcc and make installed. If not, try&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install gcc make&lt;br /&gt;
&lt;br /&gt;
Now, it is necessary to install two other plug-ins for our task:&lt;br /&gt;
* TM and RSE (Remote system Explorer)&lt;br /&gt;
* Eclipse C/C++ Remote Launch&lt;br /&gt;
&lt;br /&gt;
Go to &#039;&#039;&#039;Help-&amp;gt;Install New Sofware...&#039;&#039;&#039; again, but the software sites we need are probably not in your drop down list. Click on the &amp;lt;span style=&amp;quot;color:blue;&amp;quot;&amp;gt;&amp;lt;u&amp;gt;&#039;Available Software Sites&#039;&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt; link just under the &#039;&#039;&#039;Add...&#039;&#039;&#039; button to get a list of software sites compatible with your version of eclipse. You need to add:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;RSE - http://download.eclipse.org/dsdp/tm/updates/3.1&#039;&#039; - for &#039;&#039;TM and RSE&#039;&#039;&lt;br /&gt;
&#039;&#039;CDT - http://download.eclipse.org/tools/cdt/releases/galileo&#039;&#039; - for &#039;&#039;Eclipse C/C++ Remote Launch&#039;&#039;, under &#039;&#039;CDT Optional Features&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note that the above links and names might differ slightly depending on the version, but you&#039;re choosing from a list anyway.&lt;br /&gt;
&lt;br /&gt;
==Mount the Mobotware directory==&lt;br /&gt;
There are many ways to mount your home folder or directly the Mobotware directory residing on Kalman to your local file system. To avoid most complications, we will do it using sshfs here. In order to do so, we need to be able to connect to &#039;&#039;kalman.iau.dtu.dk&#039;&#039; using ssh. &lt;br /&gt;
&lt;br /&gt;
If you are outside the automation network (such as on DTU wireless), you will have to tunnel to kalman through DTU G-Bar for instance. How to do this depends on your operating system. Note that, you do not need the tunneling step if you can already connect to &#039;&#039;kalman.iau.dtu.dk&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Tunneling to Kalman ===&lt;br /&gt;
==== Windows ====&lt;br /&gt;
[www.putty.org putty] is a great and free ssh client for windows and it supports tunneling.&lt;br /&gt;
&lt;br /&gt;
==== Ubuntu ====&lt;br /&gt;
In order to tunnel to kalman through G-Bar, you will simply need to type the following in a new terminal:&lt;br /&gt;
 ssh -L10000:kalman.iau.dtu.dk:22 {gbarusername}@login.gbar.dtu.dk&lt;br /&gt;
&lt;br /&gt;
Don&#039;t forget to substitute &#039;&#039;{username}&#039;&#039; with your own.&lt;br /&gt;
&lt;br /&gt;
=== Mounting a Directory from Kalman on Your File System ===&lt;br /&gt;
==== Windows ====&lt;br /&gt;
[http://dokan-dev.net/en/ Dokan] can be used to mount an sshfs drive on windows. Download and install the &#039;&#039;Dokan Library&#039;&#039; and then download and run the &#039;&#039;Dokan SSHFS&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==== Ubuntu ====&lt;br /&gt;
If you do not already have it installed, type the following to install sshfs&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install sshfs&lt;br /&gt;
&lt;br /&gt;
Now create the folder where you would like to mount.&lt;br /&gt;
&lt;br /&gt;
 mkdir &#039;&#039;mountPoint&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you have direct access to Kalman you can type the following to mount a drive from Kalman:&lt;br /&gt;
&lt;br /&gt;
 sshfs {kalmanusername}@kalman.iau.dtu.dk:&#039;&#039;projectpath&#039;&#039; &#039;&#039;mountPoint&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you created a tunnel as described before, then you need to go through that tunnel&lt;br /&gt;
&lt;br /&gt;
 sshfs -p 10000 {kalmanusername}@localhost:&#039;&#039;projectpath&#039;&#039; &#039;&#039;mountPoint&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
At this point, you should see the contents of the &#039;&#039;projectpath&#039;&#039; at the &#039;&#039;mountPoint&#039;&#039;. You can verify this with:&lt;br /&gt;
&lt;br /&gt;
 ls &#039;&#039;mountPoint&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Set up an Eclipse Remote Development Project ==&lt;br /&gt;
&lt;br /&gt;
Go to &#039;&#039;&#039;File-&amp;gt;New-&amp;gt;Project...&#039;&#039;&#039;. Under &#039;&#039;&#039;C/C++&#039;&#039;&#039;, choose &#039;&#039;&#039;C++ Project&#039;&#039;&#039; and click &#039;&#039;&#039;Next&#039;&#039;&#039;. Give your project a name, and uncheck the &#039;&#039;&#039;Use default location&#039;&#039;&#039; checkbox. This will enable the &#039;&#039;&#039;Location&#039;&#039;&#039; field. Choose the mounted base folder of your project inside the &#039;&#039;mountPoint&#039;&#039;. In the &#039;&#039;&#039;Project Type&#039;&#039;&#039; field, choose &#039;&#039;&#039;Makefile project-&amp;gt;Empty Project&#039;&#039;&#039;. Choose whichever GCC option in the &#039;&#039;&#039;Toolchains&#039;&#039;&#039; field. Create the project by pressing &#039;&#039;&#039;Finish&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Your project should now be visible in the &#039;&#039;&#039;Project Explorer&#039;&#039;&#039; view. At this point, you should be edit your source files, perform content assist on them and use many other Eclipse features, except for debugging on the robot and building on the server. If that is enough for you, you can stop here.&lt;br /&gt;
&lt;br /&gt;
Next, we need to define the connections to &#039;&#039;nyquist&#039;&#039; (or &#039;&#039;jensen&#039;&#039;) for compiling the project and to the SMR of your choice for running and debugging the executables on.&lt;br /&gt;
&lt;br /&gt;
Again, if you&#039;re not on the automation network, you will need to tunnel some ports. In order to be able to ssh to these, you will have to forward, say, 10001 to &#039;&#039;nyquist&#039;&#039; port 22 and 10002 to SMRX (replace X!!!) port 22. You will also need to tunnel to an extra port on the SMR for the remote GDB server to communicate with your local GDB client. Eclipse CDT uses the port 2345 by default, so let&#039;s just forward that.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Windows&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Add the new tunnels to the session settings...&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Ubuntu&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 ssh -L10001:nyquist.iau.dtu.dk:22 -L10002:smrx.iau.dtu.dk:22 -L2345:smrx.iau.dtu.dk:2345 {gbarusername}@login.gbar.dtu.dk&lt;br /&gt;
&lt;br /&gt;
We now need to define the connection to SMRX in eclipse. Go to &#039;&#039;&#039;File-&amp;gt;New-&amp;gt;Other...&#039;&#039;&#039;. Under &#039;&#039;&#039;Remote System Explorer&#039;&#039;&#039; choose &#039;&#039;&#039;Connection&#039;&#039;&#039; and press &#039;&#039;&#039;Next&#039;&#039;&#039;. Choose &#039;&#039;&#039;SSH Only&#039;&#039;&#039; and press &#039;&#039;&#039;Next&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If you have direct access to SMRX (you are in the automation network):&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* You can simply give &#039;&#039;smrx.iau.dtu.dk&#039;&#039; as the host name, so write &#039;&#039;smrx&#039;&#039; in the &#039;&#039;&#039;Host name&#039;&#039;&#039; and the &#039;&#039;&#039;Connection name&#039;&#039;&#039; fields and press &#039;&#039;&#039;Finish&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If you are tunneling to the SMR instead:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* You need to write &#039;&#039;localhost&#039;&#039; in the &#039;&#039;Host name&#039;&#039;&#039; field and &#039;&#039;smrx&#039;&#039; in the &#039;&#039;&#039;Connection name&#039;&#039;&#039; field. In this case, you also need to specify that we are connecting through port 10002. To do that, go to &#039;&#039;&#039;Window-&amp;gt;Show View-&amp;gt;Other...&#039;&#039;&#039; and pick &#039;&#039;&#039;Remote Systems Details&#039;&#039;&#039; under &#039;&#039;&#039;Remote Systems&#039;&#039;&#039;. As a result, the &#039;&#039;&#039;Remote System Details&#039;&#039;&#039; view opens somewhere. Double-click on the &#039;&#039;smrx&#039;&#039; connection, and change all the ports (The 3rd column of the table) to 10002.&lt;br /&gt;
&lt;br /&gt;
Now right click on your project in the &#039;&#039;&#039;Project Explorer&#039;&#039;&#039; view and pick &#039;&#039;&#039;Properties&#039;&#039;&#039;. Pick &#039;&#039;&#039;C/C++ Build&#039;&#039;&#039; and under &#039;&#039;&#039;Builder Settings&#039;&#039;&#039; uncheck the &#039;&#039;&#039;Use default build command&#039;&#039;&#039; checkbox. In the &#039;&#039;&#039;Build command&#039;&#039;&#039; field, type:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If you have direct access to SMRX:&#039;&#039;&#039;&lt;br /&gt;
 ssh {kalmanusername}@nyquist.iau.dtu.dk &amp;quot;cd &#039;&#039;projectPath&#039;&#039;; make&amp;quot;&lt;br /&gt;
&#039;&#039;&#039;else:&#039;&#039;&#039;&lt;br /&gt;
 ssh -p 10001 {kalmanusername}@localhost &amp;quot;cd &#039;&#039;projectPath&#039;&#039;; make&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Do not forget to replace {kalmanusername} and &#039;&#039;projectPath&#039;&#039;. Under &#039;&#039;&#039;Behavior&#039;&#039;&#039; tab, you might want to uncheck the &#039;&#039;&#039;Build (Incremental build)&#039;&#039;&#039; and &#039;&#039;&#039;Clean&#039;&#039;&#039; checkboxes to avoid unnecessary, lengthy builds all the time. Don&#039;t forget to build your project when it&#039;s necessary though. Press &#039;&#039;&#039;OK&#039;&#039;&#039; to finish.&lt;br /&gt;
&lt;br /&gt;
In order to set up the debugging; right click on your project in the &#039;&#039;&#039;Project Explorer&#039;&#039;&#039; view and pick &#039;&#039;&#039;Debug As-&amp;gt;Debug Configurations...&#039;&#039;&#039;. Right click on &#039;&#039;&#039;C/C++ Remote Application&#039;&#039;&#039; and pick &#039;&#039;&#039;New&#039;&#039;&#039;. Under the &#039;&#039;&#039;Main&#039;&#039;&#039; tab, choose &#039;&#039;smrx&#039;&#039; in the connection dropdown list. Click &#039;&#039;&#039;Browse&#039;&#039;&#039; next to the &#039;&#039;&#039;C/C++ Application&#039;&#039;&#039; field, and choose the executable you would like to debug on the SMR. Then enter the absolute path of that executable in the SMRX file system. You can also find that file by using the &#039;&#039;&#039;Browse&#039;&#039;&#039; button and picking the &#039;&#039;smrx&#039;&#039; connection. If you would like to run the executable in a special folder (f.x. where you have your .ini files...), in the &#039;&#039;&#039;Commands to execute before application&#039;&#039;&#039; field, type:&lt;br /&gt;
 cd &#039;&#039;workingDirectory&#039;&#039;&lt;br /&gt;
&#039;&#039;workingDirectory&#039;&#039; being obviously the directory that you want to run your executable in. Finally, check the &#039;&#039;&#039;Skip download to target path&#039;&#039;&#039; checkbox. If you press &#039;&#039;&#039;Debug&#039;&#039;&#039; now, you will start debugging! (given that you have built your project and SMRX is running etc...)&lt;/div&gt;</summary>
		<author><name>Eba</name></author>
	</entry>
	<entry>
		<id>https://rsewiki.electro.dtu.dk/index.php?title=Main_Page&amp;diff=855</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://rsewiki.electro.dtu.dk/index.php?title=Main_Page&amp;diff=855"/>
		<updated>2011-06-15T14:52:03Z</updated>

		<summary type="html">&lt;p&gt;Eba: /* How-to documentation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Wellcome to the wiki pages of the Robot Systems Engineering (RSE) group at Institute for Automation, DTU Electical engineering.&lt;br /&gt;
&lt;br /&gt;
These pages will contain updated information on RSE projects and other issued related to robotics research at the Institute for Automation.&lt;br /&gt;
&lt;br /&gt;
= Mobotware =&lt;br /&gt;
&lt;br /&gt;
(Mobile Robot software) &lt;br /&gt;
&lt;br /&gt;
AURS [[AU Robot Servers]], download and documentation&lt;br /&gt;
&lt;br /&gt;
[[RHD]] Robot Hardware Daemon&lt;br /&gt;
&lt;br /&gt;
[[Robot sensor modules]], (hardware/firmware) description and documentation&lt;br /&gt;
&lt;br /&gt;
[[Simulation]], description of simulation environments&lt;br /&gt;
&lt;br /&gt;
MRC - see SMR below&lt;br /&gt;
&lt;br /&gt;
= Robots =&lt;br /&gt;
&lt;br /&gt;
[[SMR]] (Small Mobile Robot)&lt;br /&gt;
&lt;br /&gt;
[[MMR]] (Medium Mobile Robot)&lt;br /&gt;
&lt;br /&gt;
[[HAKO]] (KU Life tractor)&lt;br /&gt;
&lt;br /&gt;
[[hexakopter]] (notes for six-rotor helicopter)&lt;br /&gt;
&lt;br /&gt;
= RTAI-Linux system considerations =&lt;br /&gt;
&lt;br /&gt;
[[Switchtool]] - Shift to Mobotware (development) branch on the robots&lt;br /&gt;
&lt;br /&gt;
[[Rules for udev on RTAI]] (How to use udev rules to get correct modes for RTAI fifos and Comedi devices)&lt;br /&gt;
&lt;br /&gt;
[[Naming networkinterfaces using udev]]&lt;br /&gt;
&lt;br /&gt;
[[Slackware OpenCV package install]]&lt;br /&gt;
&lt;br /&gt;
[[Setting permissions for various devices using udev]]&lt;br /&gt;
&lt;br /&gt;
= Controllab =&lt;br /&gt;
&lt;br /&gt;
[[Platform list]] (List of computers used for various control set-ups)&lt;br /&gt;
&lt;br /&gt;
[[Realtime testing]] (Description of small test procedures to verify RTAI realtime operation)&lt;br /&gt;
&lt;br /&gt;
[http://server.elektro.dtu.dk/www/sh/junk/matlabrtai_intro.pdf Introduction to Matlab RTW and RTAI] (Guide for usage of RTAILab with Matlab RTW and Simulink)&lt;br /&gt;
&lt;br /&gt;
= How-to documentation =&lt;br /&gt;
&lt;br /&gt;
[[NTP howto]] time-sync 2 computers&lt;br /&gt;
&lt;br /&gt;
Using the [[RSE SVN]] repository&lt;br /&gt;
&lt;br /&gt;
[[Flash disk cloning]]&lt;br /&gt;
&lt;br /&gt;
[[AU software license considerations]]&lt;br /&gt;
&lt;br /&gt;
[[RoboCup]]&lt;br /&gt;
&lt;br /&gt;
[[Opdating /usr/local/smr]]&lt;br /&gt;
&lt;br /&gt;
[[Demo of stereo camera]]&lt;br /&gt;
&lt;br /&gt;
[[Install on (K)UBUNTU]]&lt;br /&gt;
&lt;br /&gt;
[[Robot GUI (MARG)]]&lt;br /&gt;
&lt;br /&gt;
[[Transition to version 2011]] - notes&lt;br /&gt;
&lt;br /&gt;
[[Remote Development of Mobotware Using Eclipse]]&lt;br /&gt;
&lt;br /&gt;
= Demonstrations =&lt;br /&gt;
&lt;br /&gt;
[[PLC controlled traffic light]]&lt;/div&gt;</summary>
		<author><name>Eba</name></author>
	</entry>
	<entry>
		<id>https://rsewiki.electro.dtu.dk/index.php?title=Remote_Development_of_Mobotware_Using_Eclipse&amp;diff=854</id>
		<title>Remote Development of Mobotware Using Eclipse</title>
		<link rel="alternate" type="text/html" href="https://rsewiki.electro.dtu.dk/index.php?title=Remote_Development_of_Mobotware_Using_Eclipse&amp;diff=854"/>
		<updated>2011-06-15T14:50:02Z</updated>

		<summary type="html">&lt;p&gt;Eba: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;It is possible to use an [http://www.eclipse.org Eclipse], running locally on one&#039;s computer to remotely develop Mobotware residing in Kalman. This tutorial will describe how to set up eclipse so that one can:&lt;br /&gt;
* use full features of Eclipse including indexing, content assist, error highlighting and much more...&lt;br /&gt;
* build on the automation servers from inside Eclipse&lt;br /&gt;
* debug the code running on the SMRs while stepping through the source code and observing variables in Eclipse&lt;br /&gt;
&lt;br /&gt;
The following description is for Eclipse Galileo (Eclipse 3.5.2), hopefully, the steps will not be very different in future versions.&lt;br /&gt;
&lt;br /&gt;
There are essentially 4 things to do:&lt;br /&gt;
&lt;br /&gt;
* Install Eclipse and the required plug-ins&lt;br /&gt;
* Mounted on the local file system the Mobotware directory (or a sub-directory of it) residing in Kalman.&lt;br /&gt;
* Set up an Eclipse project for remote development&lt;br /&gt;
* Configure Eclipse to make sure all the nice features are available&lt;br /&gt;
&lt;br /&gt;
NOTE: The windows tutorial is not finished as of this very moment!&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse ==&lt;br /&gt;
One first needs to install Eclipse, along with the necessary plug-ins for C++ development as well as remote development. Installing Eclipse and enabling it for C++ development differs substantially between operating systems:&lt;br /&gt;
&lt;br /&gt;
=== Windows ===&lt;br /&gt;
It is non-trivial to set up an Eclipse C++ development environment under windows. It is not particularly hard, but it&#039;s an integration between Eclipse, a plug-in called CDT and GCC ported to windows. It would be futile to list the steps as of writing this tutorial, as the process changes slightly depending on the versions of the named software elements. Try googling &amp;quot;C/C++ development using Eclipse under Windows&amp;quot; and come back when you have this working properly. &lt;br /&gt;
&lt;br /&gt;
Now, it is necessary to install two other plug-ins for our task:&lt;br /&gt;
* TM and RSE (Remote system Explorer)&lt;br /&gt;
* Eclipse C/C++ Remote Launch&lt;br /&gt;
&lt;br /&gt;
As you&#039;ve probably already noticed while installing CDT, one installs Eclipse plug-ins through &#039;&#039;&#039;Help-&amp;gt;Install New Sofware...&#039;&#039;&#039;. The drop down list next to &#039;&#039;&#039;Work with&#039;&#039;&#039; lists some software sites, but the ones we need are probably not there. Click on the &amp;lt;span style=&amp;quot;color:blue;&amp;quot;&amp;gt;&amp;lt;u&amp;gt;&#039;Available Software Sites&#039;&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt; link just under the &#039;&#039;&#039;Add...&#039;&#039;&#039; button to get a list of software sites compatible with your version of eclipse. You need to add:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;RSE - http://download.eclipse.org/dsdp/tm/updates/3.1&#039;&#039; - for &#039;&#039;TM and RSE&#039;&#039;&lt;br /&gt;
&#039;&#039;CDT - http://download.eclipse.org/tools/cdt/releases/galileo&#039;&#039; - for &#039;&#039;Eclipse C/C++ Remote Launch&#039;&#039;, under &#039;&#039;CDT Optional Features&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note that the above links and names might differ slightly depending on the version, but you&#039;re choosing from a list anyway.&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
It is much easier to set up Eclipse for C++ development under Ubuntu. Simply type&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install eclipse&lt;br /&gt;
&lt;br /&gt;
At the command line to install eclipse. This will probably be vanilla Eclipse that won&#039;t support plug-ins. So, if you have problems installing the plug-ins later, type&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install eclipse-pde&lt;br /&gt;
&lt;br /&gt;
To prepare eclipse for the plug-ins. Eclipse plug-ins are installed through &#039;&#039;&#039;Help-&amp;gt;Install New Sofware...&#039;&#039;&#039;. The drop down list next to &#039;&#039;&#039;Work with&#039;&#039;&#039; lists some software sites. We will install CDT (C/C++ Development Tools) from &#039;&#039;Galileo Update Site - http://download.eclipse.org/releases/galileo/&#039;&#039;. This is for Eclipse Galileo of course, it will look slightly different on different versions. Select that site, and under &#039;&#039;Programming Languages&#039;&#039; mark &#039;&#039;Eclipse C/C++ Development Tools&#039;&#039;. Finish the installation by clicking &#039;&#039;&#039;Next&#039;&#039;&#039; and so on...&lt;br /&gt;
&lt;br /&gt;
At this point, you should be able to create, compile, run and debug local C/C++ projects as long as you have gcc and make installed. If not, try&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install gcc make&lt;br /&gt;
&lt;br /&gt;
Now, it is necessary to install two other plug-ins for our task:&lt;br /&gt;
* TM and RSE (Remote system Explorer)&lt;br /&gt;
* Eclipse C/C++ Remote Launch&lt;br /&gt;
&lt;br /&gt;
Go to &#039;&#039;&#039;Help-&amp;gt;Install New Sofware...&#039;&#039;&#039; again, but the software sites we need are probably not in your drop down list. Click on the &amp;lt;span style=&amp;quot;color:blue;&amp;quot;&amp;gt;&amp;lt;u&amp;gt;&#039;Available Software Sites&#039;&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt; link just under the &#039;&#039;&#039;Add...&#039;&#039;&#039; button to get a list of software sites compatible with your version of eclipse. You need to add:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;RSE - http://download.eclipse.org/dsdp/tm/updates/3.1&#039;&#039; - for &#039;&#039;TM and RSE&#039;&#039;&lt;br /&gt;
&#039;&#039;CDT - http://download.eclipse.org/tools/cdt/releases/galileo&#039;&#039; - for &#039;&#039;Eclipse C/C++ Remote Launch&#039;&#039;, under &#039;&#039;CDT Optional Features&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note that the above links and names might differ slightly depending on the version, but you&#039;re choosing from a list anyway.&lt;br /&gt;
&lt;br /&gt;
==Mount the Mobotware directory==&lt;br /&gt;
There are many ways to mount your home folder or directly the Mobotware directory residing on Kalman to your local file system. To avoid most complications, we will do it using sshfs here. In order to do so, we need to be able to connect to &#039;&#039;kalman.iau.dtu.dk&#039;&#039; using ssh. &lt;br /&gt;
&lt;br /&gt;
If you are outside the automation network (such as on DTU wireless), you will have to tunnel to kalman through DTU G-Bar for instance. How to do this depends on your operating system. Note that, you do not need the tunneling step if you can already connect to &#039;&#039;kalman.iau.dtu.dk&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Tunneling to Kalman ===&lt;br /&gt;
==== Windows ====&lt;br /&gt;
[www.putty.org putty] is a great and free ssh client for windows and it supports tunneling.&lt;br /&gt;
&lt;br /&gt;
==== Ubuntu ====&lt;br /&gt;
In order to tunnel to kalman through G-Bar, you will simply need to type the following in a new terminal:&lt;br /&gt;
 ssh -L10000:kalman.iau.dtu.dk:22 {gbarusername}@login.gbar.dtu.dk&lt;br /&gt;
&lt;br /&gt;
Don&#039;t forget to substitute &#039;&#039;{username}&#039;&#039; with your own.&lt;br /&gt;
&lt;br /&gt;
=== Mounting a Directory from Kalman on Your File System ===&lt;br /&gt;
==== Windows ====&lt;br /&gt;
[http://dokan-dev.net/en/ Dokan] can be used to mount an sshfs drive on windows. Download and install the &#039;&#039;Dokan Library&#039;&#039; and then download and run the &#039;&#039;Dokan SSHFS&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==== Ubuntu ====&lt;br /&gt;
If you do not already have it installed, type the following to install sshfs&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install sshfs&lt;br /&gt;
&lt;br /&gt;
Now create the folder where you would like to mount.&lt;br /&gt;
&lt;br /&gt;
 mkdir &#039;&#039;mountPoint&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you have direct access to Kalman you can type the following to mount a drive from Kalman:&lt;br /&gt;
&lt;br /&gt;
 sshfs {kalmanusername}@kalman.iau.dtu.dk:&#039;&#039;projectpath&#039;&#039; &#039;&#039;mountPoint&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you created a tunnel as described before, than you need to go through that tunnel&lt;br /&gt;
&lt;br /&gt;
 sshfs -p 10000 {kalmanusername}@localhost:&#039;&#039;projectpath&#039;&#039; &#039;&#039;mountPoint&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
At this point, you should see the contents of the &#039;&#039;projectpath&#039;&#039; at the &#039;&#039;mountPoint&#039;&#039;. You can verify this with:&lt;br /&gt;
&lt;br /&gt;
 ls &#039;&#039;mountPoint&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Set up an Eclipse Remote Development Project ==&lt;br /&gt;
&lt;br /&gt;
Go to &#039;&#039;&#039;File-&amp;gt;New-&amp;gt;Project...&#039;&#039;&#039;. Under &#039;&#039;&#039;C/C++&#039;&#039;&#039;, choose &#039;&#039;&#039;C++ Project&#039;&#039;&#039; and click &#039;&#039;&#039;Next&#039;&#039;&#039;. Give your project a name, and uncheck the &#039;&#039;&#039;Use default location&#039;&#039;&#039; checkbox. This will enable the &#039;&#039;&#039;Location&#039;&#039;&#039; field. Choose the mounted base folder of your project inside the &#039;&#039;mountPoint&#039;&#039;. In the &#039;&#039;&#039;Project Type&#039;&#039;&#039; field, choose &#039;&#039;&#039;Makefile project-&amp;gt;Empty Project&#039;&#039;&#039;. Choose whichever GCC option in the &#039;&#039;&#039;Toolchains&#039;&#039;&#039; field. Create the project by pressing &#039;&#039;&#039;Finish&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Your project should now be visible in the &#039;&#039;&#039;Project Explorer&#039;&#039;&#039; view. At this point, you should be edit your source files, perform content assist on them and use many other Eclipse features, except for debugging on the robot and building on the server. If that is enough for you, you can stop here.&lt;br /&gt;
&lt;br /&gt;
Next, we need to define the connections to &#039;&#039;nyquist&#039;&#039; (or &#039;&#039;jensen&#039;&#039;) for compiling the project and to the SMR of your choice for running and debugging the executables on.&lt;br /&gt;
&lt;br /&gt;
Again, if you&#039;re not on the automation network, you will need to tunnel some ports. In order to be able to ssh to these, you will have to forward, say, 10001 to &#039;&#039;nyquist&#039;&#039; port 22 and 10002 to SMRX (replace X!!!) port 22. You will also need to tunnel to an extra port on the SMR for the remote GDB server to communicate with your local GDB client. Eclipse CDT uses the port 2345 by default, so let&#039;s just forward that.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Windows&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Add the new tunnels to the session settings...&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Ubuntu&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 ssh -L10001:nyquist.iau.dtu.dk:22 -L10002:smrx.iau.dtu.dk:22 -L2345:smrx.iau.dtu.dk:2345 {gbarusername}@login.gbar.dtu.dk&lt;br /&gt;
&lt;br /&gt;
We now need to define the connection to SMRX in eclipse. Go to &#039;&#039;&#039;File-&amp;gt;New-&amp;gt;Other...&#039;&#039;&#039;. Under &#039;&#039;&#039;Remote System Explorer&#039;&#039;&#039; choose &#039;&#039;&#039;Connection&#039;&#039;&#039; and press &#039;&#039;&#039;Next&#039;&#039;&#039;. Choose &#039;&#039;&#039;SSH Only&#039;&#039;&#039; and press &#039;&#039;&#039;Next&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If you have direct access to SMRX (you are in the automation network):&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* You can simply give &#039;&#039;smrx.iau.dtu.dk&#039;&#039; as the host name, so write &#039;&#039;smrx&#039;&#039; in the &#039;&#039;&#039;Host name&#039;&#039;&#039; and the &#039;&#039;&#039;Connection name&#039;&#039;&#039; fields and press &#039;&#039;&#039;Finish&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If you are tunneling to the SMR instead:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* You need to write &#039;&#039;localhost&#039;&#039; in the &#039;&#039;Host name&#039;&#039;&#039; field and &#039;&#039;smrx&#039;&#039; in the &#039;&#039;&#039;Connection name&#039;&#039;&#039; field. In this case, you also need to specify that we are connecting through port 10002. To do that, go to &#039;&#039;&#039;Window-&amp;gt;Show View-&amp;gt;Other...&#039;&#039;&#039; and pick &#039;&#039;&#039;Remote Systems Details&#039;&#039;&#039; under &#039;&#039;&#039;Remote Systems&#039;&#039;&#039;. As a result, the &#039;&#039;&#039;Remote System Details&#039;&#039;&#039; view opens somewhere. Double-click on the &#039;&#039;smrx&#039;&#039; connection, and change all the ports (The 3rd column of the table) to 10002.&lt;br /&gt;
&lt;br /&gt;
Now right click on your project in the &#039;&#039;&#039;Project Explorer&#039;&#039;&#039; view and pick &#039;&#039;&#039;Properties&#039;&#039;&#039;. Pick &#039;&#039;&#039;C/C++ Build&#039;&#039;&#039; and under &#039;&#039;&#039;Builder Settings&#039;&#039;&#039; uncheck the &#039;&#039;&#039;Use default build command&#039;&#039;&#039; checkbox. In the &#039;&#039;&#039;Build command&#039;&#039;&#039; field, type:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If you have direct access to SMRX:&#039;&#039;&#039;&lt;br /&gt;
 ssh {kalmanusername}@nyquist.iau.dtu.dk &amp;quot;cd &#039;&#039;projectPath&#039;&#039;; make&amp;quot;&lt;br /&gt;
&#039;&#039;&#039;else:&#039;&#039;&#039;&lt;br /&gt;
 ssh -p 10001 {kalmanusername}@localhost &amp;quot;cd &#039;&#039;projectPath&#039;&#039;; make&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Do not forget to replace {kalmanusername} and &#039;&#039;projectPath&#039;&#039;. Under &#039;&#039;&#039;Behavior&#039;&#039;&#039; tab, you might want to uncheck the &#039;&#039;&#039;Build (Incremental build)&#039;&#039;&#039; and &#039;&#039;&#039;Clean&#039;&#039;&#039; checkboxes to avoid unnecessary, lengthy builds all the time. Don&#039;t forget to build your project when it&#039;s necessary though. Press &#039;&#039;&#039;OK&#039;&#039;&#039; to finish.&lt;br /&gt;
&lt;br /&gt;
In order to set up the debugging; right click on your project in the &#039;&#039;&#039;Project Explorer&#039;&#039;&#039; view and pick &#039;&#039;&#039;Debug As-&amp;gt;Debug Configurations...&#039;&#039;&#039;. Right click on &#039;&#039;&#039;C/C++ Remote Application&#039;&#039;&#039; and pick &#039;&#039;&#039;New&#039;&#039;&#039;. Under the &#039;&#039;&#039;Main&#039;&#039;&#039; tab, choose &#039;&#039;smrx&#039;&#039; in the connection dropdown list. Click &#039;&#039;&#039;Browse&#039;&#039;&#039; next to the &#039;&#039;&#039;C/C++ Application&#039;&#039;&#039; field, and choose the executable you would like to debug on the SMR. Then enter the absolute path of that executable in the SMRX file system. You can also find that file by using the &#039;&#039;&#039;Browse&#039;&#039;&#039; button and picking the &#039;&#039;smrx&#039;&#039; connection. If you would like to run the executable in a special folder (f.x. where you have your .ini files...), in the &#039;&#039;&#039;Commands to execute before application&#039;&#039;&#039; field, type:&lt;br /&gt;
 cd &#039;&#039;workingDirectory&#039;&#039;&lt;br /&gt;
&#039;&#039;workingDirectory&#039;&#039; being obviously the directory that you want to run your executable in. Finally, check the &#039;&#039;&#039;Skip download to target path&#039;&#039;&#039; checkbox. If you press &#039;&#039;&#039;Debug&#039;&#039;&#039; now, you will start debugging! (given that you have built your project and SMRX is running etc...)&lt;/div&gt;</summary>
		<author><name>Eba</name></author>
	</entry>
	<entry>
		<id>https://rsewiki.electro.dtu.dk/index.php?title=Remote_Development_of_Mobotware_Using_Eclipse&amp;diff=853</id>
		<title>Remote Development of Mobotware Using Eclipse</title>
		<link rel="alternate" type="text/html" href="https://rsewiki.electro.dtu.dk/index.php?title=Remote_Development_of_Mobotware_Using_Eclipse&amp;diff=853"/>
		<updated>2011-06-15T13:27:54Z</updated>

		<summary type="html">&lt;p&gt;Eba: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;It is possible to use an [http://www.eclipse.org Eclipse], running locally on one&#039;s computer to remotely develop Mobotware residing in Kalman. This tutorial will describe how to set up eclipse so that one can:&lt;br /&gt;
* use full features of Eclipse including indexing, content assist, error highlighting and much more...&lt;br /&gt;
* build on the automation servers from inside Eclipse&lt;br /&gt;
* debug the code running on the SMRs while stepping through the source code and observing variables in Eclipse&lt;br /&gt;
&lt;br /&gt;
The following description is for Eclipse Galileo (Eclipse 3.5.2), hopefully, the steps will not be very different in future versions.&lt;br /&gt;
&lt;br /&gt;
There are essentially 4 things to do:&lt;br /&gt;
&lt;br /&gt;
* Install Eclipse and the required plug-ins&lt;br /&gt;
* Mounted on the local file system the Mobotware directory (or a sub-directory of it) residing in Kalman.&lt;br /&gt;
* Set up an Eclipse project for remote development&lt;br /&gt;
* Configure Eclipse to make sure all the nice features are available&lt;br /&gt;
&lt;br /&gt;
NOTE: The windows tutorial is not finished as of this very moment!&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse ==&lt;br /&gt;
One first needs to install Eclipse, along with the necessary plug-ins for C++ development as well as remote development. Installing Eclipse and enabling it for C++ development differs substantially between operating systems:&lt;br /&gt;
&lt;br /&gt;
=== Windows ===&lt;br /&gt;
It is non-trivial to set up an Eclipse C++ development environment under windows. It is not particularly hard, but it&#039;s an integration between Eclipse, a plug-in called CDT and GCC ported to windows. It would be futile to list the steps as of writing this tutorial, as the process changes slightly depending on the versions of the named software elements. Try googling &amp;quot;C/C++ development using Eclipse under Windows&amp;quot; and come back when you have this working properly. &lt;br /&gt;
&lt;br /&gt;
Now, it is necessary to install two other plug-ins for our task:&lt;br /&gt;
* TM and RSE (Remote system Explorer)&lt;br /&gt;
* Eclipse C/C++ Remote Launch&lt;br /&gt;
&lt;br /&gt;
As you&#039;ve probably already noticed while installing CDT, one installs Eclipse plug-ins through &#039;&#039;&#039;Help-&amp;gt;Install New Sofware...&#039;&#039;&#039;. The drop down list next to &#039;&#039;&#039;Work with&#039;&#039;&#039; lists some software sites, but the ones we need are probably not there. Click on the &amp;lt;span style=&amp;quot;color:blue;&amp;quot;&amp;gt;&amp;lt;u&amp;gt;&#039;Available Software Sites&#039;&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt; link just under the &#039;&#039;&#039;Add...&#039;&#039;&#039; button to get a list of software sites compatible with your version of eclipse. You need to add:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;RSE - http://download.eclipse.org/dsdp/tm/updates/3.1&#039;&#039; - for &#039;&#039;TM and RSE&#039;&#039;&lt;br /&gt;
&#039;&#039;CDT - http://download.eclipse.org/tools/cdt/releases/galileo&#039;&#039; - for &#039;&#039;Eclipse C/C++ Remote Launch&#039;&#039;, under &#039;&#039;CDT Optional Features&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note that the above links and names might differ slightly depending on the version, but you&#039;re choosing from a list anyway.&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
It is much easier to set up Eclipse for C++ development under Ubuntu. Simply type&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install eclipse&lt;br /&gt;
&lt;br /&gt;
At the command line to install eclipse. This will probably be vanilla Eclipse that won&#039;t support plug-ins. So, if you have problems installing the plug-ins later, type&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install eclipse-pde&lt;br /&gt;
&lt;br /&gt;
To prepare eclipse for the plug-ins. Eclipse plug-ins are installed through &#039;&#039;&#039;Help-&amp;gt;Install New Sofware...&#039;&#039;&#039;. The drop down list next to &#039;&#039;&#039;Work with&#039;&#039;&#039; lists some software sites. We will install CDT (C/C++ Development Tools) from &#039;&#039;Galileo Update Site - http://download.eclipse.org/releases/galileo/&#039;&#039;. This is for Eclipse Galileo of course, it will look slightly different on different versions. Select that site, and under &#039;&#039;Programming Languages&#039;&#039; mark &#039;&#039;Eclipse C/C++ Development Tools&#039;&#039;. Finish the installation by clicking &#039;&#039;&#039;Next&#039;&#039;&#039; and so on...&lt;br /&gt;
&lt;br /&gt;
At this point, you should be able to create, compile, run and debug local C/C++ projects as long as you have gcc and make installed. If not, try&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install gcc make&lt;br /&gt;
&lt;br /&gt;
Now, it is necessary to install two other plug-ins for our task:&lt;br /&gt;
* TM and RSE (Remote system Explorer)&lt;br /&gt;
* Eclipse C/C++ Remote Launch&lt;br /&gt;
&lt;br /&gt;
Go to &#039;&#039;&#039;Help-&amp;gt;Install New Sofware...&#039;&#039;&#039; again, but the software sites we need are probably not in your drop down list. Click on the &amp;lt;span style=&amp;quot;color:blue;&amp;quot;&amp;gt;&amp;lt;u&amp;gt;&#039;Available Software Sites&#039;&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt; link just under the &#039;&#039;&#039;Add...&#039;&#039;&#039; button to get a list of software sites compatible with your version of eclipse. You need to add:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;RSE - http://download.eclipse.org/dsdp/tm/updates/3.1&#039;&#039; - for &#039;&#039;TM and RSE&#039;&#039;&lt;br /&gt;
&#039;&#039;CDT - http://download.eclipse.org/tools/cdt/releases/galileo&#039;&#039; - for &#039;&#039;Eclipse C/C++ Remote Launch&#039;&#039;, under &#039;&#039;CDT Optional Features&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note that the above links and names might differ slightly depending on the version, but you&#039;re choosing from a list anyway.&lt;br /&gt;
&lt;br /&gt;
==Mount the Mobotware directory==&lt;br /&gt;
There are many ways to mount your home folder or directly the Mobotware directory residing on Kalman to your local file system. To avoid most complications, we will do it using sshfs here. In order to do so, we need to be able to connect to &#039;&#039;kalman.iau.dtu.dk&#039;&#039; using ssh. &lt;br /&gt;
&lt;br /&gt;
If you are outside the automation network (such as on DTU wireless), you will have to tunnel to kalman through DTU G-Bar for instance. How to do this depends on your operating system. Note that, you do not need the tunneling step if you can already connect to &#039;&#039;kalman.iau.dtu.dk&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Tunneling to Kalman ===&lt;br /&gt;
==== Windows ====&lt;br /&gt;
[www.putty.org putty] is a great and free ssh client for windows and it supports tunneling.&lt;br /&gt;
&lt;br /&gt;
==== Ubuntu ====&lt;br /&gt;
In order to tunnel to kalman through G-Bar, you will simply need to type the following in a new terminal:&lt;br /&gt;
 ssh -L10000:kalman.iau.dtu.dk:22 {gbarusername}@login.gbar.dtu.dk&lt;br /&gt;
&lt;br /&gt;
Don&#039;t forget to substitute &#039;&#039;{username}&#039;&#039; with your own.&lt;br /&gt;
&lt;br /&gt;
=== Mounting a Directory from Kalman on Your File System ===&lt;br /&gt;
==== Windows ====&lt;br /&gt;
[http://dokan-dev.net/en/ Dokan] can be used to mount an sshfs drive on windows. Download and install the &#039;&#039;Dokan Library&#039;&#039; and then download and run the &#039;&#039;Dokan SSHFS&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==== Ubuntu ====&lt;br /&gt;
If you do not already have it installed, type the following to install sshfs&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install sshfs&lt;br /&gt;
&lt;br /&gt;
Now create the folder where you would like to mount.&lt;br /&gt;
&lt;br /&gt;
 mkdir &#039;&#039;mountPoint&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you have direct access to Kalman you can type the following to mount a drive from Kalman:&lt;br /&gt;
&lt;br /&gt;
 sshfs {kalmanusername}@kalman.iau.dtu.dk:&#039;&#039;projectpath&#039;&#039; &#039;&#039;mountPoint&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you created a tunnel as described before, than you need to go through that tunnel&lt;br /&gt;
&lt;br /&gt;
 sshfs -p 10000 {kalmanusername}@localhost:&#039;&#039;projectpath&#039;&#039; &#039;&#039;mountPoint&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
At this point, you should see the contents of the &#039;&#039;projectpath&#039;&#039; at the &#039;&#039;mountPoint&#039;&#039;. You can verify this with:&lt;br /&gt;
&lt;br /&gt;
 ls &#039;&#039;mountPoint&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Set up an Eclipse Remote Development Project ==&lt;br /&gt;
&lt;br /&gt;
Go to &#039;&#039;&#039;File-&amp;gt;New-&amp;gt;Project...&#039;&#039;&#039;. Under &#039;&#039;&#039;C/C++&#039;&#039;&#039;, choose &#039;&#039;&#039;C++ Project&#039;&#039;&#039; and click &#039;&#039;&#039;Next&#039;&#039;&#039;. Give your project a name, and uncheck the &#039;&#039;&#039;Use default location&#039;&#039;&#039; checkbox. This will enable the &#039;&#039;&#039;Location&#039;&#039;&#039; field. Choose the base folder of your project inside the mount folder&lt;/div&gt;</summary>
		<author><name>Eba</name></author>
	</entry>
	<entry>
		<id>https://rsewiki.electro.dtu.dk/index.php?title=Remote_Development_of_Mobotware_Using_Eclipse&amp;diff=852</id>
		<title>Remote Development of Mobotware Using Eclipse</title>
		<link rel="alternate" type="text/html" href="https://rsewiki.electro.dtu.dk/index.php?title=Remote_Development_of_Mobotware_Using_Eclipse&amp;diff=852"/>
		<updated>2011-06-15T12:55:28Z</updated>

		<summary type="html">&lt;p&gt;Eba: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;It is possible to use an [http://www.eclipse.org Eclipse], running locally on one&#039;s computer to remotely develop Mobotware residing in Kalman. This tutorial will describe how to set up eclipse so that one can:&lt;br /&gt;
* use full features of Eclipse including indexing, content assist, error highlighting and much more...&lt;br /&gt;
* build on the automation servers from inside Eclipse&lt;br /&gt;
* debug the code running on the SMRs while stepping through the source code and observing variables in Eclipse&lt;br /&gt;
&lt;br /&gt;
The following description is for Eclipse Galileo (Eclipse 3.5.2), hopefully, the steps will not be very different in future versions.&lt;br /&gt;
&lt;br /&gt;
There are essentially 4 things to do:&lt;br /&gt;
&lt;br /&gt;
* Install Eclipse and the required plug-ins&lt;br /&gt;
* Mounted on the local file system the Mobotware directory (or a sub-directory of it) residing in Kalman.&lt;br /&gt;
* Set up an Eclipse project for remote development&lt;br /&gt;
* Configure Eclipse to make sure all the nice features are available&lt;br /&gt;
&lt;br /&gt;
NOTE: The windows tutorial is not finished as of this very moment!&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse ==&lt;br /&gt;
One first needs to install Eclipse, along with the necessary plug-ins for C++ development as well as remote development. Installing Eclipse and enabling it for C++ development differs substantially between operating systems:&lt;br /&gt;
&lt;br /&gt;
=== Windows ===&lt;br /&gt;
It is non-trivial to set up an Eclipse C++ development environment under windows. It is not particularly hard, but it&#039;s an integration between Eclipse, a plug-in called CDT and GCC ported to windows. It would be futile to list the steps as of writing this tutorial, as the process changes slightly depending on the versions of the named software elements. Try googling &amp;quot;C/C++ development using Eclipse under Windows&amp;quot; and come back when you have this working properly. &lt;br /&gt;
&lt;br /&gt;
Now, it is necessary to install two other plug-ins for our task:&lt;br /&gt;
* TM and RSE (Remote system Explorer)&lt;br /&gt;
* Eclipse C/C++ Remote Launch&lt;br /&gt;
&lt;br /&gt;
As you&#039;ve probably already noticed while installing CDT, one installs Eclipse plug-ins through &#039;&#039;&#039;Help-&amp;gt;Install New Sofware...&#039;&#039;&#039;. The drop down list next to &#039;&#039;&#039;Work with&#039;&#039;&#039; lists some software sites, but the ones we need are probably not there. Click on the &amp;lt;span style=&amp;quot;color:blue;&amp;quot;&amp;gt;&amp;lt;u&amp;gt;&#039;Available Software Sites&#039;&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt; link just under the &#039;&#039;&#039;Add...&#039;&#039;&#039; button to get a list of software sites compatible with your version of eclipse. You need to add:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;RSE - http://download.eclipse.org/dsdp/tm/updates/3.1&#039;&#039; - for &#039;&#039;TM and RSE&#039;&#039;&lt;br /&gt;
&#039;&#039;CDT - http://download.eclipse.org/tools/cdt/releases/galileo&#039;&#039; - for &#039;&#039;Eclipse C/C++ Remote Launch&#039;&#039;, under &#039;&#039;CDT Optional Features&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note that the above links and names might differ slightly depending on the version, but you&#039;re choosing from a list anyway.&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
It is much easier to set up Eclipse for C++ development under Ubuntu. Simply type&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install eclipse&lt;br /&gt;
&lt;br /&gt;
At the command line to install eclipse. This will probably be vanilla Eclipse that won&#039;t support plug-ins. So, if you have problems installing the plug-ins later, type&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install eclipse-pde&lt;br /&gt;
&lt;br /&gt;
To prepare eclipse for the plug-ins. Eclipse plug-ins are installed through &#039;&#039;&#039;Help-&amp;gt;Install New Sofware...&#039;&#039;&#039;. The drop down list next to &#039;&#039;&#039;Work with&#039;&#039;&#039; lists some software sites. We will install CDT (C/C++ Development Tools) from &#039;&#039;Galileo Update Site - http://download.eclipse.org/releases/galileo/&#039;&#039;. This is for Eclipse Galileo of course, it will look slightly different on different versions. Select that site, and under &#039;&#039;Programming Languages&#039;&#039; mark &#039;&#039;Eclipse C/C++ Development Tools&#039;&#039;. Finish the installation by clicking &#039;&#039;&#039;Next&#039;&#039;&#039; and so on...&lt;br /&gt;
&lt;br /&gt;
At this point, you should be able to create, compile, run and debug local C/C++ projects as long as you have gcc and make installed. If not, try&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install gcc make&lt;br /&gt;
&lt;br /&gt;
Now, it is necessary to install two other plug-ins for our task:&lt;br /&gt;
* TM and RSE (Remote system Explorer)&lt;br /&gt;
* Eclipse C/C++ Remote Launch&lt;br /&gt;
&lt;br /&gt;
Go to &#039;&#039;&#039;Help-&amp;gt;Install New Sofware...&#039;&#039;&#039; again, but the software sites we need are probably not in your drop down list. Click on the &amp;lt;span style=&amp;quot;color:blue;&amp;quot;&amp;gt;&amp;lt;u&amp;gt;&#039;Available Software Sites&#039;&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt; link just under the &#039;&#039;&#039;Add...&#039;&#039;&#039; button to get a list of software sites compatible with your version of eclipse. You need to add:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;RSE - http://download.eclipse.org/dsdp/tm/updates/3.1&#039;&#039; - for &#039;&#039;TM and RSE&#039;&#039;&lt;br /&gt;
&#039;&#039;CDT - http://download.eclipse.org/tools/cdt/releases/galileo&#039;&#039; - for &#039;&#039;Eclipse C/C++ Remote Launch&#039;&#039;, under &#039;&#039;CDT Optional Features&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note that the above links and names might differ slightly depending on the version, but you&#039;re choosing from a list anyway.&lt;br /&gt;
&lt;br /&gt;
==Mount the Mobotware directory==&lt;br /&gt;
There are many ways to mount your home folder or directly the Mobotware directory residing on Kalman to your local file system. To avoid most complications, we will do it using sshfs here. In order to do so, we need to be able to connect to &#039;&#039;kalman.iau.dtu.dk&#039;&#039; using ssh. &lt;br /&gt;
&lt;br /&gt;
If you are outside the automation network (such as on DTU wireless), you will have to tunnel to kalman through DTU G-Bar for instance. How to do this depends on your operating system. Note that, you do not need the tunneling step if you can already connect to &#039;&#039;kalman.iau.dtu.dk&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Tunneling to Kalman ===&lt;br /&gt;
==== Windows ====&lt;br /&gt;
[www.putty.org putty] is a great and free ssh client for windows and it supports tunneling.&lt;br /&gt;
&lt;br /&gt;
==== Ubuntu ====&lt;br /&gt;
In order to tunnel to kalman through G-Bar, you will simply need to type the following in a new terminal:&lt;br /&gt;
 ssh -L10000:kalman.iau.dtu.dk:22 {gbarusername}@login.gbar.dtu.dk&lt;br /&gt;
&lt;br /&gt;
Don&#039;t forget to substitute &#039;&#039;{username}&#039;&#039; with your own.&lt;br /&gt;
&lt;br /&gt;
=== Mounting a Directory from Kalman on Your File System ===&lt;br /&gt;
==== Windows ====&lt;br /&gt;
[http://dokan-dev.net/en/ Dokan] can be used to mount an sshfs drive on windows. Download and install the &#039;&#039;Dokan Library&#039;&#039; and then download and run the &#039;&#039;Dokan SSHFS&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==== Ubuntu ====&lt;br /&gt;
If you do not already have it installed, type the following to install sshfs&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install sshfs&lt;br /&gt;
&lt;br /&gt;
Now create the folder where you would like to mount.&lt;br /&gt;
&lt;br /&gt;
 mkdir &#039;&#039;mountPoint&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you have direct access to Kalman you can type the following to mount a drive from Kalman:&lt;br /&gt;
&lt;br /&gt;
 sshfs {kalmanusername}@kalman.iau.dtu.dk:&#039;&#039;projectpath&#039;&#039; &#039;&#039;mountPoint&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you created a tunnel as described before, than you need to go through that tunnel&lt;br /&gt;
&lt;br /&gt;
 sshfs -p 10000 {kalmanusername}@localhost:&#039;&#039;projectpath&#039;&#039; &#039;&#039;mountPoint&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
At this point, you should see the contents of the &#039;&#039;projectpath&#039;&#039; at the &#039;&#039;mountPoint&#039;&#039;. You can verify this with:&lt;br /&gt;
&lt;br /&gt;
 ls &#039;&#039;mountPoint&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Set up an Eclipse Remote Development Project ==&lt;/div&gt;</summary>
		<author><name>Eba</name></author>
	</entry>
	<entry>
		<id>https://rsewiki.electro.dtu.dk/index.php?title=Remote_Development_of_Mobotware_Using_Eclipse&amp;diff=851</id>
		<title>Remote Development of Mobotware Using Eclipse</title>
		<link rel="alternate" type="text/html" href="https://rsewiki.electro.dtu.dk/index.php?title=Remote_Development_of_Mobotware_Using_Eclipse&amp;diff=851"/>
		<updated>2011-06-15T12:41:03Z</updated>

		<summary type="html">&lt;p&gt;Eba: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;It is possible to use an [http://www.eclipse.org Eclipse], running locally on one&#039;s computer to remotely develop Mobotware residing in Kalman. This tutorial will describe how to set up eclipse so that one can:&lt;br /&gt;
* use full features of Eclipse including indexing, content assist, error highlighting and much more...&lt;br /&gt;
* build on the automation servers from inside Eclipse&lt;br /&gt;
* debug the code running on the SMRs while stepping through the source code and observing variables in Eclipse&lt;br /&gt;
&lt;br /&gt;
The following description is for Eclipse Galileo (Eclipse 3.5.2), hopefully, the steps will not be very different in future versions.&lt;br /&gt;
&lt;br /&gt;
There are essentially 4 things to do:&lt;br /&gt;
&lt;br /&gt;
* Install Eclipse and the required plug-ins&lt;br /&gt;
* Mounted on the local file system the Mobotware directory (or a sub-directory of it) residing in Kalman.&lt;br /&gt;
* Set up an Eclipse project for remote development&lt;br /&gt;
* Configure Eclipse to make sure all the nice features are available&lt;br /&gt;
&lt;br /&gt;
NOTE: The windows tutorial is not finished as of this very moment!&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse ==&lt;br /&gt;
One first needs to install Eclipse, along with the necessary plug-ins for C++ development as well as remote development. Installing Eclipse and enabling it for C++ development differs substantially between operating systems:&lt;br /&gt;
&lt;br /&gt;
=== Windows ===&lt;br /&gt;
It is non-trivial to set up an Eclipse C++ development environment under windows. It is not particularly hard, but it&#039;s an integration between Eclipse, a plug-in called CDT and GCC ported to windows. It would be futile to list the steps as of writing this tutorial, as the process changes slightly depending on the versions of the named software elements. Try googling &amp;quot;C/C++ development using Eclipse under Windows&amp;quot; and come back when you have this working properly. &lt;br /&gt;
&lt;br /&gt;
Now, it is necessary to install two other plug-ins for our task:&lt;br /&gt;
* TM and RSE (Remote system Explorer)&lt;br /&gt;
* Eclipse C/C++ Remote Launch&lt;br /&gt;
&lt;br /&gt;
As you&#039;ve probably already noticed while installing CDT, one installs Eclipse plug-ins through &#039;&#039;&#039;Help-&amp;gt;Install New Sofware...&#039;&#039;&#039;. The drop down list next to &#039;&#039;&#039;Work with&#039;&#039;&#039; lists some software sites, but the ones we need are probably not there. Click on the &amp;lt;span style=&amp;quot;color:blue;&amp;quot;&amp;gt;&amp;lt;u&amp;gt;&#039;Available Software Sites&#039;&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt; link just under the &#039;&#039;&#039;Add...&#039;&#039;&#039; button to get a list of software sites compatible with your version of eclipse. You need to add:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;RSE - http://download.eclipse.org/dsdp/tm/updates/3.1&#039;&#039; - for &#039;&#039;TM and RSE&#039;&#039;&lt;br /&gt;
&#039;&#039;CDT - http://download.eclipse.org/tools/cdt/releases/galileo&#039;&#039; - for &#039;&#039;Eclipse C/C++ Remote Launch&#039;&#039;, under &#039;&#039;CDT Optional Features&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note that the above links and names might differ slightly depending on the version, but you&#039;re choosing from a list anyway.&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
It is much easier to set up Eclipse for C++ development under Ubuntu. Simply type&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install eclipse&lt;br /&gt;
&lt;br /&gt;
At the command line to install eclipse. This will probably be vanilla Eclipse that won&#039;t support plug-ins. So, if you have problems installing the plug-ins later, type&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install eclipse-pde&lt;br /&gt;
&lt;br /&gt;
To prepare eclipse for the plug-ins. Eclipse plug-ins are installed through &#039;&#039;&#039;Help-&amp;gt;Install New Sofware...&#039;&#039;&#039;. The drop down list next to &#039;&#039;&#039;Work with&#039;&#039;&#039; lists some software sites. We will install CDT (C/C++ Development Tools) from &#039;&#039;Galileo Update Site - http://download.eclipse.org/releases/galileo/&#039;&#039;. This is for Eclipse Galileo of course, it will look slightly different on different versions. Select that site, and under &#039;&#039;Programming Languages&#039;&#039; mark &#039;&#039;Eclipse C/C++ Development Tools&#039;&#039;. Finish the installation by clicking &#039;&#039;&#039;Next&#039;&#039;&#039; and so on...&lt;br /&gt;
&lt;br /&gt;
At this point, you should be able to create, compile, run and debug local C/C++ projects as long as you have gcc and make installed. If not, try&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install gcc make&lt;br /&gt;
&lt;br /&gt;
Now, it is necessary to install two other plug-ins for our task:&lt;br /&gt;
* TM and RSE (Remote system Explorer)&lt;br /&gt;
* Eclipse C/C++ Remote Launch&lt;br /&gt;
&lt;br /&gt;
Go to &#039;&#039;&#039;Help-&amp;gt;Install New Sofware...&#039;&#039;&#039; again, but the software sites we need are probably not in your drop down list. Click on the &amp;lt;span style=&amp;quot;color:blue;&amp;quot;&amp;gt;&amp;lt;u&amp;gt;&#039;Available Software Sites&#039;&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt; link just under the &#039;&#039;&#039;Add...&#039;&#039;&#039; button to get a list of software sites compatible with your version of eclipse. You need to add:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;RSE - http://download.eclipse.org/dsdp/tm/updates/3.1&#039;&#039; - for &#039;&#039;TM and RSE&#039;&#039;&lt;br /&gt;
&#039;&#039;CDT - http://download.eclipse.org/tools/cdt/releases/galileo&#039;&#039; - for &#039;&#039;Eclipse C/C++ Remote Launch&#039;&#039;, under &#039;&#039;CDT Optional Features&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note that the above links and names might differ slightly depending on the version, but you&#039;re choosing from a list anyway.&lt;br /&gt;
&lt;br /&gt;
==Mount the Mobotware directory==&lt;br /&gt;
There are many ways to mount your home folder or directly the Mobotware directory residing on Kalman to your local file system. To avoid most complications, we will do it using sshfs here. In order to do so, we need to be able to connect to &#039;&#039;kalman.iau.dtu.dk&#039;&#039; using ssh. &lt;br /&gt;
&lt;br /&gt;
If you are outside the automation network (such as on DTU wireless), you will have to tunnel to kalman through DTU G-Bar for instance. How to do this depends on your operating system. Note that, you do not need the tunneling step if you can already connect to &#039;&#039;kalman.iau.dtu.dk&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Tunneling to Kalman ===&lt;br /&gt;
==== Windows ====&lt;br /&gt;
[www.putty.org putty] is a great and free ssh client for windows and it supports tunneling.&lt;br /&gt;
&lt;br /&gt;
==== Ubuntu ====&lt;br /&gt;
In order to tunnel to kalman through G-Bar, you will simply need to type the following in a new terminal:&lt;br /&gt;
 ssh -L10000:kalman.iau.dtu.dk:22 {username}@login.gbar.dtu.dk&lt;br /&gt;
&lt;br /&gt;
Don&#039;t forget to substitute &#039;&#039;{username}&#039;&#039; with your own.&lt;br /&gt;
&lt;br /&gt;
=== Mounting a Directory from Kalman on Your File System ===&lt;br /&gt;
==== Windows ====&lt;br /&gt;
[http://dokan-dev.net/en/ Dokan] can be used to mount an sshfs drive on windows. Download and install the &#039;&#039;Dokan Library&#039;&#039; and then download and run the &#039;&#039;Dokan SSHFS&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==== Ubuntu ====&lt;/div&gt;</summary>
		<author><name>Eba</name></author>
	</entry>
	<entry>
		<id>https://rsewiki.electro.dtu.dk/index.php?title=Remote_Development_of_Mobotware_Using_Eclipse&amp;diff=850</id>
		<title>Remote Development of Mobotware Using Eclipse</title>
		<link rel="alternate" type="text/html" href="https://rsewiki.electro.dtu.dk/index.php?title=Remote_Development_of_Mobotware_Using_Eclipse&amp;diff=850"/>
		<updated>2011-06-15T11:33:42Z</updated>

		<summary type="html">&lt;p&gt;Eba: /* Ubuntu */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;It is possible to use an [http://www.eclipse.org Eclipse], running locally on one&#039;s computer to remotely develop Mobotware residing in Kalman. This tutorial will describe how to set up eclipse so that one can:&lt;br /&gt;
* use full features of Eclipse including indexing, content assist, error highlighting and much more...&lt;br /&gt;
* build on the automation servers from inside Eclipse&lt;br /&gt;
* debug the code running on the SMRs while stepping through the source code and observing variables in Eclipse&lt;br /&gt;
&lt;br /&gt;
The following description is for Eclipse Galileo (Eclipse 3.5.2), hopefully, the steps will not be very different in future versions.&lt;br /&gt;
&lt;br /&gt;
There are essentially 4 things to do:&lt;br /&gt;
&lt;br /&gt;
* Install Eclipse and the required plug-ins&lt;br /&gt;
* Mounted on the local file system the Mobotware directory (or a sub-directory of it) residing in Kalman.&lt;br /&gt;
* Set up an Eclipse project for remote development&lt;br /&gt;
* Configure Eclipse to make sure all the nice features are available&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse ==&lt;br /&gt;
One first needs to install Eclipse, along with the necessary plug-ins for C++ development as well as remote development. Installing Eclipse and enabling it for C++ development differs substantially between operating systems:&lt;br /&gt;
&lt;br /&gt;
=== Windows ===&lt;br /&gt;
It is non-trivial to set up an Eclipse C++ development environment under windows. It is not particularly hard, but it&#039;s an integration between Eclipse, a plug-in called CDT and GCC ported to windows. It would be futile to list the steps as of writing this tutorial, as the process changes slightly depending on the versions of the named software elements. Try googling &amp;quot;C/C++ development using Eclipse under Windows&amp;quot; and come back when you have this working properly. &lt;br /&gt;
&lt;br /&gt;
Now, it is necessary to install two other plug-ins for our task:&lt;br /&gt;
* TM and RSE (Remote system Explorer)&lt;br /&gt;
* Eclipse C/C++ Remote Launch&lt;br /&gt;
&lt;br /&gt;
As you&#039;ve probably already noticed while installing CDT, one installs Eclipse plug-ins through &#039;&#039;&#039;Help-&amp;gt;Install New Sofware...&#039;&#039;&#039;. The drop down list next to &#039;&#039;&#039;Work with&#039;&#039;&#039; lists some software sites, but the ones we need are probably not there. Click on the &amp;lt;span style=&amp;quot;color:blue;&amp;quot;&amp;gt;&amp;lt;u&amp;gt;&#039;Available Software Sites&#039;&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt; link just under the &#039;&#039;&#039;Add...&#039;&#039;&#039; button to get a list of software sites compatible with your version of eclipse. You need to add:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;RSE - http://download.eclipse.org/dsdp/tm/updates/3.1&#039;&#039; - for &#039;&#039;TM and RSE&#039;&#039;&lt;br /&gt;
&#039;&#039;CDT - http://download.eclipse.org/tools/cdt/releases/galileo&#039;&#039; - for &#039;&#039;Eclipse C/C++ Remote Launch&#039;&#039;, under &#039;&#039;CDT Optional Features&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note that the above links and names might differ slightly depending on the version, but you&#039;re choosing from a list anyway.&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
It is much easier to set up Eclipse for C++ development under Ubuntu. Simply type&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;sudo apt-get install eclipse&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
At the command line to install eclipse. This will probably be vanilla Eclipse that won&#039;t support plug-ins. So, if you have problems installing the plug-ins later, type&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;sudo apt-get install eclipse-pde&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To prepare eclipse for the plug-ins.&lt;/div&gt;</summary>
		<author><name>Eba</name></author>
	</entry>
	<entry>
		<id>https://rsewiki.electro.dtu.dk/index.php?title=Remote_Development_of_Mobotware_Using_Eclipse&amp;diff=849</id>
		<title>Remote Development of Mobotware Using Eclipse</title>
		<link rel="alternate" type="text/html" href="https://rsewiki.electro.dtu.dk/index.php?title=Remote_Development_of_Mobotware_Using_Eclipse&amp;diff=849"/>
		<updated>2011-06-15T10:06:07Z</updated>

		<summary type="html">&lt;p&gt;Eba: Started writing the tutorial page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;It is possible to use an [http://www.eclipse.org Eclipse], running locally on one&#039;s computer to remotely develop Mobotware residing in Kalman. This tutorial will describe how to set up eclipse so that one can:&lt;br /&gt;
* use full features of Eclipse including indexing, content assist, error highlighting and much more...&lt;br /&gt;
* build on the automation servers from inside Eclipse&lt;br /&gt;
* debug the code running on the SMRs while stepping through the source code and observing variables in Eclipse&lt;br /&gt;
&lt;br /&gt;
The following description is for Eclipse Galileo (Eclipse 3.5.2), hopefully, the steps will not be very different in future versions.&lt;br /&gt;
&lt;br /&gt;
There are essentially 4 things to do:&lt;br /&gt;
&lt;br /&gt;
* Install Eclipse and the required plug-ins&lt;br /&gt;
* Mounted on the local file system the Mobotware directory (or a sub-directory of it) residing in Kalman.&lt;br /&gt;
* Set up an Eclipse project for remote development&lt;br /&gt;
* Configure Eclipse to make sure all the nice features are available&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse ==&lt;br /&gt;
One first needs to install Eclipse, along with the necessary plug-ins for C++ development as well as remote development. Installing Eclipse and enabling it for C++ development differs substantially between operating systems:&lt;br /&gt;
&lt;br /&gt;
=== Windows ===&lt;br /&gt;
It is non-trivial to set up an Eclipse C++ development environment under windows. It is not particularly hard, but it&#039;s an integration between Eclipse, a plug-in called CDT and GCC ported to windows. It would be futile to list the steps as of writing this tutorial, as the process changes slightly depending on the versions of the named software elements. Try googling &amp;quot;C/C++ development using Eclipse under Windows&amp;quot; and come back when you have this working properly. &lt;br /&gt;
&lt;br /&gt;
Now, it is necessary to install two other plug-ins for our task:&lt;br /&gt;
* TM and RSE (Remote system Explorer)&lt;br /&gt;
* Eclipse C/C++ Remote Launch&lt;br /&gt;
&lt;br /&gt;
As you&#039;ve probably already noticed while installing CDT, one installs Eclipse plug-ins through &#039;&#039;&#039;Help-&amp;gt;Install New Sofware...&#039;&#039;&#039;. The drop down list next to &#039;&#039;&#039;Work with&#039;&#039;&#039; lists some software sites, but the ones we need are probably not there. Click on the &amp;lt;span style=&amp;quot;color:blue;&amp;quot;&amp;gt;&amp;lt;u&amp;gt;&#039;Available Software Sites&#039;&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt; link just under the &#039;&#039;&#039;Add...&#039;&#039;&#039; button to get a list of software sites compatible with your version of eclipse. You need to add:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;RSE - http://download.eclipse.org/dsdp/tm/updates/3.1&#039;&#039; - for &#039;&#039;TM and RSE&#039;&#039;&lt;br /&gt;
&#039;&#039;CDT - http://download.eclipse.org/tools/cdt/releases/galileo&#039;&#039; - for &#039;&#039;Eclipse C/C++ Remote Launch&#039;&#039;, under &#039;&#039;CDT Optional Features&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note that the above links and names might differ slightly depending on the version, but you&#039;re choosing from a list anyway.&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;/div&gt;</summary>
		<author><name>Eba</name></author>
	</entry>
</feed>