Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
research:software:ambienttalk-ros [2013/01/25 11:15] – [Installation procedure] jfabryresearch:software:ambienttalk-ros [2013/01/30 11:18] (current) – [Installation procedure] jfabry
Line 17: Line 17:
 ===== Installation procedure ===== ===== Installation procedure =====
  
-AmbientTalk/ROS is open source, under the MIT license. Here are the required steps to install it.+AmbientTalk/ROS is open source, under the MIT license. It is now included in the standard AmbientTalk distribution. Here are the required steps to install AmbientTalk/ROS on Ubuntu and ROS Groovy.
  
-First get all software installed. We are assuming you are running Ubuntu and ROS Groovy.+To install everything
   - Install Eclipse, see http://www.eclipse.org/downloads/   - Install Eclipse, see http://www.eclipse.org/downloads/
-  - Install the Eclipse ANTLR plugin, see http://antlreclipse.sourceforge.net/+  - Install AmbientTalk from the SVN repository, see http://code.google.com/p/ambienttalk/wiki/ConfiguringEclipse
   - Install the IDEAT AmbientTalk Eclipse plugin, see http://code.google.com/p/ambienttalk/wiki/EclipsePlugin   - Install the IDEAT AmbientTalk Eclipse plugin, see http://code.google.com/p/ambienttalk/wiki/EclipsePlugin
-  - Install the 1.0 version of ROSBridge, from the terminal do a ''sudo apt-get install ros-groovy-brown-remotelab'' +  - Install the 1.0 version of ROSBridge, from the terminal do a "sudo apt-get install ros-groovy-brown-remotelab" 
-  - Obtain the latest version of AmbientTalk/ROS (contact Johan for relatively stable version) and import all five projects it contains into your eclipse workspace.+ 
 +There is an example program that uses the [[http://www.ros.org/wiki/turtlesim|ROS turtlesim]] in atlib/bridges/ros/examples/turtlesim.at 
 +  - Start ROS, from the terminal do "roscore" 
 +  - Start the ROSBridge, from another terminal do a "rosrun rosbridge rosbridge.py" 
 +  - Start the turtle simulator, from another terminal do a "rosrun turtlesim turtlesim_node" 
 +  - In Eclipse, right click on the example program file and select "run as AmbientTalk application" from the menu
  
-Now configure your Eclipse: 
-  - Ensure the parserReactive project has the ANTLR nature (It there are no horns, right click -> “Toggle ANTLR nature”) 
-  - Set the Java Build Path required **projects** for the atlibReactiveRFID project to: interpreterReactive and org.json 
-  - Set the Java Build Path required **projects** for the iatReactive project to: atlibReactiveRFID, interpreterReactive, parserReactive 
-  - Set the Java Build Path required **projects** for the parserReactive project to: interpreterReactive 
-  - Set the Java Build Path required **libraries** for the interpreterReactive project to include all of the jars that are present in interpreterReactive/lib and interpreterReactive/lib/jgl 
  
-It is recommended to create an Eclipse run configuration that runs the interpreter and immediately evaluates an .at file (if it is an .at file the AmbientTalk Eclipse plugin can apply syntax coloring etc.). 
-  - Run the iatReactive project as a Java application. 
-  - Quit the application 
-  - Edit the IAT run configuration 
-  - Change the program arguments to point to the file in which you are saving your AmbientTalk program that you want to run (you can add several run configurations for several programs).