Difference between revisions of "Create and Build Follow"

From wikidb
Jump to: navigation, search
(Create Follow)
(Create Follow)
Line 22: Line 22:
 
  eepp@tabor:follow$ '''ls'''
 
  eepp@tabor:follow$ '''ls'''
 
  CMakeLists.txt  include  mainpage.dox  Makefile  manifest.xml  src
 
  CMakeLists.txt  include  mainpage.dox  Makefile  manifest.xml  src
 +
 +
manifest.xml will contain the dependencies listed in the package create command.
 +
 +
eepp@tabor:follow$ '''cat manifest.xml'''
 +
<pre>
 +
<package>
 +
  <description brief="follow">
 +
 +
    follow
 +
 +
  </description>
 +
  <author>Ed C. Epp</author>
 +
  <license>BSD</license>
 +
  <review status="unreviewed" notes=""/>
 +
  <url>http://ros.org/wiki/follow</url>
 +
  <depend package="std_msgs"/>
 +
  <depend package="rospy"/>
 +
  <depend package="roscpp"/>
 +
 +
</package>
 +
</pre>

Revision as of 14:01, 20 May 2012

Create Follow

The Follow package will depend on messages, Python, and C++ packages.

eepp@tabor:~$ cd ros_workspace

eepp@tabor:ros_workspace$ roscreate-pkg follow std_msgs rospy roscpp
Created package directory /home/eepp/ros_workspace/follow
Created include directory /home/eepp/ros_workspace/follow/include/follow
Created cpp source directory /home/eepp/ros_workspace/follow/src
Created package file /home/eepp/ros_workspace/follow/Makefile
Created package file /home/eepp/ros_workspace/follow/manifest.xml
Created package file /home/eepp/ros_workspace/follow/CMakeLists.txt
Created package file /home/eepp/ros_workspace/follow/mainpage.dox

Please edit follow/manifest.xml and mainpage.dox to finish creating your package

This will create the follow directory with make files, a source and include directories.

epp@tabor:ros_workspace$ cd follow

eepp@tabor:follow$ ls
CMakeLists.txt  include  mainpage.dox  Makefile  manifest.xml  src

manifest.xml will contain the dependencies listed in the package create command.

eepp@tabor:follow$ cat manifest.xml
<package>
  <description brief="follow">

     follow

  </description>
  <author>Ed C. Epp</author>
  <license>BSD</license>
  <review status="unreviewed" notes=""/>
  <url>http://ros.org/wiki/follow</url>
  <depend package="std_msgs"/>
  <depend package="rospy"/>
  <depend package="roscpp"/>

</package>